{
  "status": "COMPLETED",
  "message": [
    {
      "file": "invoice_HIS-4402 - Digital+Scanned+Digital.pdf",
      "file_execution_id": "f0873c5f-3dda-4e92-ad22-714aa1636898",
      "status": "Success",
      "result": {
        "output": {
          "line_items": [
            {
              "amount": "£680.00",
              "quantity": 2,
              "item_code": "DP-2210",
              "unit_price": "£340.00",
              "description": "Dosing pump, 240V"
            },
            {
              "amount": "£144.00",
              "quantity": 3,
              "item_code": "CT-1040",
              "unit_price": "£48.00",
              "description": "Chemical feed tubing, 10m coil"
            },
            {
              "amount": "£215.00",
              "quantity": 1,
              "item_code": "FS-3302",
              "unit_price": "£215.00",
              "description": "Inline flow sensor"
            }
          ]
        },
        "metrics": {
          "_file": {
            "text_extraction": {
              "time_taken(s)": 10.924197660991922
            }
          },
          "line_items": {
            "extraction_llm": {
              "time_taken(s)": 1.55
            },
            "context_retrieval": {
              "time_taken(s)": 0.004919
            }
          }
        },
        "metadata": {
          "run_id": "f0873c5f-3dda-4e92-ad22-714aa1636898",
          "context": {
            "line_items": [
              "\n\nHarrowgate Industrial Supplies Ltd                                                                            Invoice HIS-4402 \n\nInvoice \n\nCLIENT \nFenwick Water Treatment Ltd \nSluice House, Marrow Lane \nFenwick FW2 7QD \n\nInvoice reference                 HIS-4402 \n\nInvoice date                      18 February 2026 \n\nOrder reference                   FWT-PO-2291 \n\nDelivery date                     18 February 2026 \n\nPayment terms                     30 days net \n\nGoods summary \nDosing and chemical-feed equipment supplied to site per order FWT-PO-2291, delivered complete in a single consignment. The signed \ndelivery note is bound in as page 2 of this invoice. \n\nHIS-4402                                                                                                          Page 1 of 3 \n<<<\f\n\nHarrowgate Industrial Supplies Ltd                                                                 FIELD DELIVERY \n\nGoods delivery note \n\n Invoice reference                                                                                    HIS-4402 \n\n Delivery date                                                                                18 February 2026 \n\n Driver                                                                                               T. Aldous \n\nVehicle registration                                                                                 LR19 KVM \n\n DELIVERY CHECK \n\n Items delivered                                                                                 3 lines, 6 units \n\n Condition on arrival                                                                         Good, no damage \n\n RECEIVED BY \n\n Name                                                                                               J. Whitlock \n\n Position                                                                 Site Engineer, Fenwick Water Treatment \n\n Date                                                                                         18 February 2026 \n\n       Whitlock \n J \n\n Signature \n\n Delivery note HIS-4402                                                                                Page 2 of 3 \n<<<\f\n\n Harrowgate Industrial Supplies Ltd                                                                      Invoice HIS-4402 \n\n Goods supplied \n\n  Description                                         Code                   Qty           Unit price        Amount \n\n  Dosing pump, 240V                                   DP-2210                  2            £340.00          £680.00 \n\n  Chemical feed tubing, 10m coil                      CT-1040                  3             £48.00          £144.00 \n\n  Inline flow sensor                                  FS-3302                  1            £215.00          £215.00 \n\n                                                                    Subtotal                                 £1,039.00 \n\n                                                                    VAT at 20%                                 £207.80 \n\n                                                                    Total due                              £1,246.80 \n\n Declaration \n\n Goods listed above were supplied against order FWT-PO-2291 and delivered complete in one consignment, as confirmed on the signed \n delivery note (page 2 of this invoice). \n\n Issued by                 Harrowgate Industrial Supplies Ltd, Accounts \n\n Invoice issued            18 February 2026 \n\nHIS-4402                                                                                                     Page 3 of 3 \n<<<\f"
            ]
          },
          "file_name": "invoice_HIS-4402 - Digital+Scanned+Digital.pdf",
          "line_numbers": {
            "line_items": []
          },
          "whisper_hash": "",
          "extracted_text": "\n\nHarrowgate Industrial Supplies Ltd                                                                            Invoice HIS-4402 \n\nInvoice \n\nCLIENT \nFenwick Water Treatment Ltd \nSluice House, Marrow Lane \nFenwick FW2 7QD \n\nInvoice reference                 HIS-4402 \n\nInvoice date                      18 February 2026 \n\nOrder reference                   FWT-PO-2291 \n\nDelivery date                     18 February 2026 \n\nPayment terms                     30 days net \n\nGoods summary \nDosing and chemical-feed equipment supplied to site per order FWT-PO-2291, delivered complete in a single consignment. The signed \ndelivery note is bound in as page 2 of this invoice. \n\nHIS-4402                                                                                                          Page 1 of 3 \n<<<\f\n\nHarrowgate Industrial Supplies Ltd                                                                 FIELD DELIVERY \n\nGoods delivery note \n\n Invoice reference                                                                                    HIS-4402 \n\n Delivery date                                                                                18 February 2026 \n\n Driver                                                                                               T. Aldous \n\nVehicle registration                                                                                 LR19 KVM \n\n DELIVERY CHECK \n\n Items delivered                                                                                 3 lines, 6 units \n\n Condition on arrival                                                                         Good, no damage \n\n RECEIVED BY \n\n Name                                                                                               J. Whitlock \n\n Position                                                                 Site Engineer, Fenwick Water Treatment \n\n Date                                                                                         18 February 2026 \n\n       Whitlock \n J \n\n Signature \n\n Delivery note HIS-4402                                                                                Page 2 of 3 \n<<<\f\n\n Harrowgate Industrial Supplies Ltd                                                                      Invoice HIS-4402 \n\n Goods supplied \n\n  Description                                         Code                   Qty           Unit price        Amount \n\n  Dosing pump, 240V                                   DP-2210                  2            £340.00          £680.00 \n\n  Chemical feed tubing, 10m coil                      CT-1040                  3             £48.00          £144.00 \n\n  Inline flow sensor                                  FS-3302                  1            £215.00          £215.00 \n\n                                                                    Subtotal                                 £1,039.00 \n\n                                                                    VAT at 20%                                 £207.80 \n\n                                                                    Total due                              £1,246.80 \n\n Declaration \n\n Goods listed above were supplied against order FWT-PO-2291 and delivered complete in one consignment, as confirmed on the signed \n delivery note (page 2 of this invoice). \n\n Issued by                 Harrowgate Industrial Supplies Ltd, Accounts \n\n Invoice issued            18 February 2026 \n\nHIS-4402                                                                                                     Page 3 of 3 \n<<<\f",
          "required_fields": {
            "line_items": null
          },
          "extraction_llm": [
            {
              "model_name": "gpt-4o",
              "cost_in_dollars": "0.003545",
              "input_tokens": 722,
              "output_tokens": 174,
              "total_tokens": 896
            }
          ]
        }
      },
      "error": null,
      "metadata": {
        "source_name": "invoice_HIS-4402 - Digital+Scanned+Digital.pdf",
        "source_hash": "89fb14d7c0897bbfef47ffa3aa3930ee7eccf62c8a9430710d1906598c9bdfec",
        "organization_id": "org_0pMusmf6SGq5PdXO",
        "workflow_id": "df9cdef5-b18b-4b57-b198-7c3e169a4b02",
        "execution_id": "14f8df54-0165-4ea2-94f2-3dc9e64cfb86",
        "file_execution_id": "f0873c5f-3dda-4e92-ad22-714aa1636898",
        "tags": [],
        "workflow_start_time": 1795515452.0855923,
        "tool_metadata": [
          {
            "tool_name": "structure_tool",
            "output_type": "JSON",
            "elapsed_time": 13.191979580995394
          }
        ],
        "total_elapsed_time": 13.335064172744751,
        "usage": {
          "embedding_tokens": 0,
          "prompt_tokens": 722,
          "completion_tokens": 174,
          "total_tokens": 896,
          "cost_in_dollars": 0.0035450000000000004,
          "file_execution_id": "f0873c5f-3dda-4e92-ad22-714aa1636898"
        },
        "total_pages_processed": 3,
        "hitl": {
          "file_sent_to_hitl": false,
          "reason": "API deployment without file history - HITL not applicable"
        }
      },
      "extracted_text": "\n\nHarrowgate Industrial Supplies Ltd                                                                            Invoice HIS-4402 \n\nInvoice \n\nCLIENT \nFenwick Water Treatment Ltd \nSluice House, Marrow Lane \nFenwick FW2 7QD \n\nInvoice reference                 HIS-4402 \n\nInvoice date                      18 February 2026 \n\nOrder reference                   FWT-PO-2291 \n\nDelivery date                     18 February 2026 \n\nPayment terms                     30 days net \n\nGoods summary \nDosing and chemical-feed equipment supplied to site per order FWT-PO-2291, delivered complete in a single consignment. The signed \ndelivery note is bound in as page 2 of this invoice. \n\nHIS-4402                                                                                                          Page 1 of 3 \n<<<\f\n\nHarrowgate Industrial Supplies Ltd                                                                 FIELD DELIVERY \n\nGoods delivery note \n\n Invoice reference                                                                                    HIS-4402 \n\n Delivery date                                                                                18 February 2026 \n\n Driver                                                                                               T. Aldous \n\nVehicle registration                                                                                 LR19 KVM \n\n DELIVERY CHECK \n\n Items delivered                                                                                 3 lines, 6 units \n\n Condition on arrival                                                                         Good, no damage \n\n RECEIVED BY \n\n Name                                                                                               J. Whitlock \n\n Position                                                                 Site Engineer, Fenwick Water Treatment \n\n Date                                                                                         18 February 2026 \n\n       Whitlock \n J \n\n Signature \n\n Delivery note HIS-4402                                                                                Page 2 of 3 \n<<<\f\n\n Harrowgate Industrial Supplies Ltd                                                                      Invoice HIS-4402 \n\n Goods supplied \n\n  Description                                         Code                   Qty           Unit price        Amount \n\n  Dosing pump, 240V                                   DP-2210                  2            £340.00          £680.00 \n\n  Chemical feed tubing, 10m coil                      CT-1040                  3             £48.00          £144.00 \n\n  Inline flow sensor                                  FS-3302                  1            £215.00          £215.00 \n\n                                                                    Subtotal                                 £1,039.00 \n\n                                                                    VAT at 20%                                 £207.80 \n\n                                                                    Total due                              £1,246.80 \n\n Declaration \n\n Goods listed above were supplied against order FWT-PO-2291 and delivered complete in one consignment, as confirmed on the signed \n delivery note (page 2 of this invoice). \n\n Issued by                 Harrowgate Industrial Supplies Ltd, Accounts \n\n Invoice issued            18 February 2026 \n\nHIS-4402                                                                                                     Page 3 of 3 \n<<<\f"
    }
  ]
}