{
  "id": "demo_sample_uk_fixings",
  "object": "extraction",
  "status": "succeeded",
  "created": "2026-10-04T09:42:56.181Z",
  "model": "qwen3-vl:30b-a3b-instruct",
  "pages": 1,
  "processing_ms": 24326,
  "data": {
    "schema": "viopo.po.v1",
    "document": {
      "is_purchase_order": true,
      "pages": 1,
      "source_type": "pdf",
      "text_layer": true
    },
    "header": {
      "po_number": "PO-24817",
      "po_date": "2026-08-14",
      "revision": null,
      "currency": "GBP",
      "quote_reference": "Q-55120",
      "requested_delivery_date": "2026-08-28",
      "payment_terms": "30 days end of month",
      "shipping_method": null,
      "incoterms": null,
      "notes": "Please quote our PO number on all delivery notes and invoices. Invoices without a valid PO number will be returned. Deliveries accepted Monday to Friday, 7:30 to 15:00."
    },
    "buyer": {
      "name": "NORTHGATE JOINERY LTD",
      "contact_name": "Sarah Okafor",
      "email": null,
      "phone": null,
      "tax_id": "GB 318 4471 02",
      "company_number": "09912345",
      "account_reference": null,
      "address": {
        "name": null,
        "lines": [
          "Unit 4, Canal Side Works"
        ],
        "city": "Leeds",
        "region": null,
        "postal_code": "LS11 5QR",
        "country": "GB"
      }
    },
    "supplier": {
      "name": "Harrow Fixings Ltd",
      "contact_name": null,
      "email": null,
      "phone": null,
      "tax_id": null,
      "company_number": null,
      "account_reference": null,
      "address": {
        "name": null,
        "lines": [
          "22 Bessemer Road"
        ],
        "city": "Sheffield",
        "region": null,
        "postal_code": "S9 3XN",
        "country": "GB"
      }
    },
    "ship_to": {
      "name": null,
      "lines": [
        "Goods In, Gate B",
        "Unit 4, Canal Side Works"
      ],
      "city": "Leeds",
      "region": null,
      "postal_code": "LS11 5QR",
      "country": "GB"
    },
    "bill_to": {
      "name": "Accounts Payable",
      "lines": [
        "Northgate Joinery Ltd",
        "PO Box 771"
      ],
      "city": "Leeds",
      "region": null,
      "postal_code": "LS1 9ZZ",
      "country": "GB"
    },
    "invoice": {
      "email": "ap@northgate-joinery.example",
      "address": {
        "name": "Accounts Payable",
        "lines": [
          "Northgate Joinery Ltd",
          "PO Box 771"
        ],
        "city": "Leeds",
        "region": null,
        "postal_code": "LS1 9ZZ",
        "country": "GB"
      },
      "instructions": null
    },
    "lines": [
      {
        "line_number": 1,
        "buyer_part_number": "NJ-1104",
        "supplier_part_number": null,
        "description": "Wood screw 4.0 x 40mm, zinc, pozi (box of 200)",
        "quantity": 25,
        "unit_of_measure": "BX",
        "unit_price": 6.85,
        "discount_percent": null,
        "tax_rate_percent": 20,
        "line_total": 171.25,
        "delivery_date": null
      },
      {
        "line_number": 2,
        "buyer_part_number": "NJ-1107",
        "supplier_part_number": null,
        "description": "Wood screw 5.0 x 70mm, zinc, pozi (box of 100)",
        "quantity": 12,
        "unit_of_measure": "BX",
        "unit_price": 9.4,
        "discount_percent": null,
        "tax_rate_percent": 20,
        "line_total": 112.8,
        "delivery_date": null
      },
      {
        "line_number": 3,
        "buyer_part_number": "NJ-2210",
        "supplier_part_number": null,
        "description": "Concealed hinge 35mm, soft close, clip on",
        "quantity": 400,
        "unit_of_measure": "EA",
        "unit_price": 1.12,
        "discount_percent": null,
        "tax_rate_percent": 20,
        "line_total": 448,
        "delivery_date": null
      },
      {
        "line_number": 4,
        "buyer_part_number": "NJ-3051",
        "supplier_part_number": null,
        "description": "Drawer runner 450mm full extension, pair",
        "quantity": 60,
        "unit_of_measure": "PR",
        "unit_price": 7.95,
        "discount_percent": null,
        "tax_rate_percent": 20,
        "line_total": 477,
        "delivery_date": null
      },
      {
        "line_number": 5,
        "buyer_part_number": "NJ-4420",
        "supplier_part_number": null,
        "description": "PVA wood adhesive D3, 5 litre",
        "quantity": 8,
        "unit_of_measure": "EA",
        "unit_price": 18.6,
        "discount_percent": null,
        "tax_rate_percent": 20,
        "line_total": 148.8,
        "delivery_date": null
      }
    ],
    "totals": {
      "subtotal": 1357.85,
      "discount": null,
      "shipping": 15,
      "tax": 274.57,
      "total": 1647.42
    },
    "checks": [
      {
        "name": "line_amounts",
        "passed": true,
        "detail": "Quantity times unit price matches the line amount on 5 of 5 lines."
      },
      {
        "name": "lines_sum_to_subtotal",
        "passed": true,
        "detail": "The line amounts add up to 1357.85; the subtotal printed is 1357.85."
      },
      {
        "name": "total_adds_up",
        "passed": true,
        "detail": "Subtotal plus shipping plus tax is 1647.42; the total printed is 1647.42."
      }
    ],
    "warnings": []
  }
}
