{
 "usecase": "vat-invoice-check",
 "version": 1,
 "grader": {
  "type": "fields",
  "fields": [
   {
    "name": "missing",
    "match": "set"
   }
  ]
 },
 "cases": [
  {
   "id": "c01",
   "input": {
    "invoice_text": "INVOICE\nInv #2872\nDate of issue: 2026-09-24\nTax point: 2026-08-06\nFrom: Kestrel Joinery, Unit 3, Mill Lane, Leeds LS2 9JT\nVAT reg: GB 863 838 113\nCustomer: Westgate Events Ltd, 40 Park Row, Nottingham NG1 6GR\nItem: Printing of 500 flyers, quantity 500, \u00a3125.00\nVAT at 20%: \u00a325.00\nTotal: \u00a3150.00"
   },
   "expected": {
    "missing": []
   }
  },
  {
   "id": "c02",
   "input": {
    "invoice_text": "INVOICE\nInvoice no: 3496\nInvoice date: 2026-09-26\nTax point: 2026-08-03\nFrom: Ashby & Co Accountants, 2 High Street, Derby DE1 3GH\nVAT no: GB 677 320 681\nBill to: Pell Bakery, 1 Market Place, Oxford OX1 3DZ\nItem: Printing of 500 flyers, quantity 500, \u00a3125.00\nVAT at 20%: \u00a325.00\nTotal: \u00a3150.00"
   },
   "expected": {
    "missing": []
   }
  },
  {
   "id": "c03",
   "input": {
    "invoice_text": "INVOICE\nInv #4335\nDate of issue: 2026-09-06\nTax point: 2026-08-18\nFrom: Harbour Print Ltd, 14 Quay Road, Bristol BS1 4DJ\nVAT registration: GB 799 373 759\nCustomer: Rowan Housing Association, 88 King Street, Cardiff CF10 1AA\nItem: Logo design, quantity 1, \u00a3400.00\nVAT at 20%: \u00a380.00\nTotal: \u00a3480.00"
   },
   "expected": {
    "missing": []
   }
  },
  {
   "id": "c04",
   "input": {
    "invoice_text": "INVOICE\nInvoice no: 9635\nIssued: 2026-09-20\nTax point: 2026-08-31\nFrom: Harbour Print Ltd, 14 Quay Road, Bristol BS1 4DJ\nVAT reg: GB 421 826 281\nTo: Westgate Events Ltd, 40 Park Row, Nottingham NG1 6GR\nItem: Bookkeeping, September, quantity 12, \u00a3360.00\nVAT at 20%: \u00a372.00\nTotal: \u00a3432.00"
   },
   "expected": {
    "missing": []
   }
  },
  {
   "id": "c05",
   "input": {
    "invoice_text": "INVOICE\nInvoice number: n/a\nIssued: 2026-09-03\nSupply date: 2026-08-23\nFrom: Ashby & Co Accountants, 2 High Street, Derby DE1 3GH\nVAT registration: GB 311 388 785\nTo: Pell Bakery, 1 Market Place, Oxford OX1 3DZ\nItem: Printing of 500 flyers, quantity 500, \u00a3125.00\nVAT at 20%: \u00a325.00\nTotal: \u00a3150.00"
   },
   "expected": {
    "missing": [
     "invoice_number"
    ]
   }
  },
  {
   "id": "c06",
   "input": {
    "invoice_text": "INVOICE\nInvoice no: 8641\nDate of supply: 2026-08-05\nFrom: Kestrel Joinery, Unit 3, Mill Lane, Leeds LS2 9JT\nVAT no: GB 839 627 950\nBill to: Westgate Events Ltd, 40 Park Row, Nottingham NG1 6GR\nItem: Printing of 500 flyers, quantity 500, \u00a3125.00\nVAT at 20%: \u00a325.00\nTotal: \u00a3150.00"
   },
   "expected": {
    "missing": [
     "issue_date"
    ]
   }
  },
  {
   "id": "c07",
   "input": {
    "invoice_text": "INVOICE\nInvoice no: 8112\nInvoice date: 2026-09-20\nFrom: Ashby & Co Accountants, 2 High Street, Derby DE1 3GH\nVAT registration: GB 481 815 560\nTo: Linden Dental Practice, 7 Elm Close, York YO1 7HZ\nItem: Bookkeeping, September, quantity 12, \u00a3360.00\nVAT at 20%: \u00a372.00\nTotal: \u00a3432.00"
   },
   "expected": {
    "missing": [
     "supply_date"
    ]
   }
  },
  {
   "id": "c08",
   "input": {
    "invoice_text": "INVOICE\nInvoice number: INV-5580\nDate of issue: 2026-09-12\nTax point: 2026-08-21\nFrom: Unit 3, Mill Lane, Leeds LS2 9JT\nVAT no: GB 381 571 998\nCustomer: Rowan Housing Association, 88 King Street, Cardiff CF10 1AA\nItem: Kitchen cabinet fitting, quantity 1, \u00a3840.00\nVAT at 20%: \u00a3168.00\nTotal: \u00a31,008.00"
   },
   "expected": {
    "missing": [
     "supplier"
    ]
   }
  },
  {
   "id": "c09",
   "input": {
    "invoice_text": "INVOICE\nInvoice no: 6350\nDate of issue: 2026-09-12\nSupply date: 2026-08-31\nFrom: Ashby & Co Accountants, 2 High Street, Derby DE1 3GH\nCompany no: 01234567\nCustomer: Linden Dental Practice, 7 Elm Close, York YO1 7HZ\nItem: Kitchen cabinet fitting, quantity 1, \u00a3840.00\nVAT at 20%: \u00a3168.00\nTotal: \u00a31,008.00"
   },
   "expected": {
    "missing": [
     "supplier_vat_number"
    ]
   }
  },
  {
   "id": "c10",
   "input": {
    "invoice_text": "INVOICE\nInvoice number: INV-3046\nDate of issue: 2026-09-17\nDate of supply: 2026-08-23\nFrom: Harbour Print Ltd, 14 Quay Road, Bristol BS1 4DJ\nVAT no: GB 943 685 212\nTo: Linden Dental Practice\nItem: Kitchen cabinet fitting, quantity 1, \u00a3840.00\nVAT at 20%: \u00a3168.00\nTotal: \u00a31,008.00"
   },
   "expected": {
    "missing": [
     "customer"
    ]
   }
  },
  {
   "id": "c11",
   "input": {
    "invoice_text": "INVOICE\nInv #6412\nInvoice date: 2026-09-11\nTax point: 2026-08-26\nFrom: Northlight Studio Ltd, 9 Canal Street, Manchester M1 3EZ\nVAT no: GB 952 137 362\nTo: Pell Bakery, 1 Market Place, Oxford OX1 3DZ\nTotal work done: \u00a3400.00\nVAT at 20%: \u00a380.00\nTotal: \u00a3480.00"
   },
   "expected": {
    "missing": [
     "description"
    ]
   }
  },
  {
   "id": "c12",
   "input": {
    "invoice_text": "INVOICE\nInv #5651\nDate of issue: 2026-09-01\nTax point: 2026-08-20\nFrom: Northlight Studio Ltd, 9 Canal Street, Manchester M1 3EZ\nVAT registration: GB 489 165 174\nTo: Linden Dental Practice, 7 Elm Close, York YO1 7HZ\nItem: Logo design, quantity 1, \u00a3400.00\nVAT included\nTotal: \u00a3480.00"
   },
   "expected": {
    "missing": [
     "vat_amount"
    ]
   }
  },
  {
   "id": "c13",
   "input": {
    "invoice_text": "INVOICE\nInvoice no: 9838\nDate of issue: 2026-09-20\nFrom: Harbour Print Ltd, 14 Quay Road, Bristol BS1 4DJ\nCompany no: 01234567\nBill to: Westgate Events Ltd, 40 Park Row, Nottingham NG1 6GR\nItem: Kitchen cabinet fitting, quantity 1, \u00a3840.00\nVAT at 20%: \u00a3168.00\nTotal: \u00a31,008.00"
   },
   "expected": {
    "missing": [
     "supplier_vat_number",
     "supply_date"
    ]
   }
  },
  {
   "id": "c14",
   "input": {
    "invoice_text": "INVOICE\nInvoice number: n/a\nDate of supply: 2026-08-01\nFrom: Northlight Studio Ltd, 9 Canal Street, Manchester M1 3EZ\nVAT no: GB 753 871 567\nBill to: Linden Dental Practice, 7 Elm Close, York YO1 7HZ\nItem: Printing of 500 flyers, quantity 500, \u00a3125.00\nVAT at 20%: \u00a325.00\nTotal: \u00a3150.00"
   },
   "expected": {
    "missing": [
     "invoice_number",
     "issue_date"
    ]
   }
  },
  {
   "id": "c15",
   "input": {
    "invoice_text": "INVOICE\nInvoice no: 8873\nIssued: 2026-09-19\nTax point: 2026-08-04\nFrom: Kestrel Joinery, Unit 3, Mill Lane, Leeds LS2 9JT\nVAT registration: GB 254 674 540\nCustomer: Linden Dental Practice, 7 Elm Close\nServices: \u00a3400.00\nVAT at 20%: \u00a380.00\nTotal: \u00a3480.00"
   },
   "expected": {
    "missing": [
     "customer",
     "description"
    ]
   }
  },
  {
   "id": "c16",
   "input": {
    "invoice_text": "INVOICE\nInvoice number: INV-6840\nIssued: 2026-09-03\nDate of supply: 2026-08-24\nFrom: 9 Canal Street, Manchester M1 3EZ\nVAT reg: GB 538 446 652\nTo: Linden Dental Practice, 7 Elm Close, York YO1 7HZ\nItem: Logo design, quantity 1, \u00a3400.00\nVAT at 20%\nTotal: \u00a3480.00"
   },
   "expected": {
    "missing": [
     "supplier",
     "vat_amount"
    ]
   }
  },
  {
   "id": "c17",
   "input": {
    "invoice_text": "INVOICE\nInv #3508\nDate of issue: 2026-09-13\nFrom: Harbour Print Ltd, 14 Quay Road, Bristol BS1 4DJ\nVAT registration: GB 370 391 667\nBill to: 1 Market Place, Oxford OX1 3DZ\nItem: Printing of 500 flyers, quantity 500, \u00a3125.00\nVAT included\nTotal: \u00a3150.00"
   },
   "expected": {
    "missing": [
     "customer",
     "supply_date",
     "vat_amount"
    ]
   }
  },
  {
   "id": "c18",
   "input": {
    "invoice_text": "INVOICE\nInv #2895\nInvoice date: 2026-09-05\nFrom: Kestrel Joinery, Unit 3, Mill Lane, Leeds LS2 9JT\nCompany no: 01234567\nTo: Linden Dental Practice, 7 Elm Close, York YO1 7HZ\nItem: Printing of 500 flyers, quantity 500, \u00a3125.00\nVAT at 20%: \u00a325.00\nTotal: \u00a3150.00"
   },
   "expected": {
    "missing": [
     "supplier_vat_number",
     "supply_date"
    ]
   }
  },
  {
   "id": "c19",
   "input": {
    "invoice_text": "INVOICE\nInv #\nInvoice date: 2026-09-19\nTax point: 2026-08-17\nFrom: 9 Canal Street, Manchester M1 3EZ\nVAT registration: GB 212 331 545\nTo: Pell Bakery, 1 Market Place, Oxford OX1 3DZ\nTotal work done: \u00a3125.00\nVAT at 20%: \u00a325.00\nTotal: \u00a3150.00"
   },
   "expected": {
    "missing": [
     "description",
     "invoice_number",
     "supplier"
    ]
   }
  },
  {
   "id": "c20",
   "input": {
    "invoice_text": "INVOICE\nInvoice number: n/a\nDate of issue: 2026-09-11\nTax point: 2026-08-28\nFrom: 2 High Street, Derby DE1 3GH\nCompany no: 01234567\nCustomer: Pell Bakery, 1 Market Place, Oxford OX1 3DZ\nItem: Printing of 500 flyers, \u00a3125.00\nVAT at 20%: \u00a325.00\nTotal: \u00a3150.00"
   },
   "expected": {
    "missing": [
     "description",
     "invoice_number",
     "supplier",
     "supplier_vat_number"
    ]
   }
  },
  {
   "id": "c21",
   "input": {
    "invoice_text": "INVOICE\nInvoice no: 2261\nInvoice date: 2026-09-04\nDate of supply: 2026-08-22\nFrom: Kestrel Joinery, Unit 3, Mill Lane, Leeds LS2 9JT\nVAT reg: GB 705 874 158\nBill to: 1 Market Place, Oxford OX1 3DZ\nItem: Logo design, \u00a3400.00\nVAT included\nTotal: \u00a3480.00"
   },
   "expected": {
    "missing": [
     "customer",
     "description",
     "vat_amount"
    ]
   }
  },
  {
   "id": "c22",
   "input": {
    "invoice_text": "INVOICE\nInvoice number: INV-1294\nInvoice date: 2026-09-09\nTax point: 2026-08-24\nFrom: Ashby & Co Accountants, 2 High Street, Derby DE1 3GH\nVAT registration: GB 251 364 917\nTo: Rowan Housing Association, 88 King Street, Cardiff CF10 1AA\nItem: Logo design, quantity 1, \u00a3400.00\nVAT at 20%\nTotal: \u00a3480.00"
   },
   "expected": {
    "missing": [
     "vat_amount"
    ]
   }
  },
  {
   "id": "c23",
   "input": {
    "invoice_text": "INVOICE\nInv #\nDate of supply: 2026-08-04\nFrom: Kestrel Joinery, Unit 3, Mill Lane, Leeds LS2 9JT\nVAT registration: GB 889 190 142\nBill to: Linden Dental Practice, 7 Elm Close, York YO1 7HZ\nTotal work done: \u00a3125.00\nVAT at 20%: \u00a325.00\nTotal: \u00a3150.00"
   },
   "expected": {
    "missing": [
     "description",
     "invoice_number",
     "issue_date"
    ]
   }
  },
  {
   "id": "c24",
   "input": {
    "invoice_text": "INVOICE\nInvoice number: INV-6732\nDate of issue: 2026-09-04\nDate of supply: 2026-08-11\nFrom: Northlight Studio Ltd, 9 Canal Street, Manchester M1 3EZ\nVAT reg: GB 827 287 542\nCustomer: Pell Bakery, 1 Market Place, Oxford OX1 3DZ\nItem: Logo design, quantity 1, \u00a3400.00\nVAT at 20%: \u00a380.00\nTotal: \u00a3480.00"
   },
   "expected": {
    "missing": []
   }
  },
  {
   "id": "c25",
   "input": {
    "invoice_text": "INVOICE\nInvoice number: INV-4560\nInvoice date: 2026-09-13\nDate of supply: 2026-08-22\nFrom: Northlight Studio Ltd, 9 Canal Street, Manchester M1 3EZ\nVAT registration: GB 708 720 511\nBill to: Rowan Housing Association, 88 King Street, Cardiff CF10 1AA\nItem: Kitchen cabinet fitting, quantity 1, \u00a3840.00\nVAT at 20%: \u00a3168.00\nTotal: \u00a31,008.00"
   },
   "expected": {
    "missing": []
   }
  },
  {
   "id": "c26",
   "input": {
    "invoice_text": "INVOICE\nInvoice number: n/a\nDate of issue: 2026-09-21\nTax point: 2026-08-03\nFrom: Northlight Studio Ltd\nVAT registration: GB 168 840 547\nTo: Linden Dental Practice\nItem: Kitchen cabinet fitting, quantity 1, \u00a3840.00\nVAT included\nTotal: \u00a31,008.00"
   },
   "expected": {
    "missing": [
     "customer",
     "invoice_number",
     "supplier",
     "vat_amount"
    ]
   }
  },
  {
   "id": "c27",
   "input": {
    "invoice_text": "INVOICE\nInvoice number: INV-3008\nDate of issue: 2026-09-28\nDate of supply: 2026-08-03\nFrom: Northlight Studio Ltd, 9 Canal Street, Manchester M1 3EZ\nVAT registration: GB 209 899 406\nBill to: Linden Dental Practice, 7 Elm Close, York YO1 7HZ\nItem: Logo design, quantity 1, \u00a3400.00\nVAT at 20%: \u00a380.00\nTotal: \u00a3480.00"
   },
   "expected": {
    "missing": []
   }
  },
  {
   "id": "c28",
   "input": {
    "invoice_text": "INVOICE\nInv #1660\nDate of issue: 2026-09-16\nDate of supply: 2026-08-15\nFrom: Harbour Print Ltd, 14 Quay Road, Bristol BS1 4DJ\nVAT reg: GB 996 357 106\nTo: Rowan Housing Association, 88 King Street, Cardiff CF10 1AA\nItem: Kitchen cabinet fitting, quantity 1, \u00a3840.00\nVAT at 20%: \u00a3168.00\nTotal: \u00a31,008.00"
   },
   "expected": {
    "missing": []
   }
  },
  {
   "id": "c29",
   "input": {
    "invoice_text": "INVOICE\nInvoice number: INV-4059\nDate of issue: 2026-09-15\nSupply date: 2026-08-12\nFrom: Kestrel Joinery, Unit 3, Mill Lane, Leeds LS2 9JT\nVAT no: GB 12345\nCustomer: Linden Dental Practice, 7 Elm Close, York YO1 7HZ\nTotal work done: \u00a3400.00\nVAT at 20%: \u00a380.00\nTotal: \u00a3480.00"
   },
   "expected": {
    "missing": [
     "description",
     "supplier_vat_number"
    ]
   }
  },
  {
   "id": "c30",
   "input": {
    "invoice_text": "INVOICE\nInv #9080\nIssued: 2026-09-03\nFrom: Northlight Studio Ltd, 9 Canal Street, Manchester M1 3EZ\nVAT no: GB 874 427 326\nTo: Pell Bakery, 1 Market Place, Oxford OX1 3DZ\nItem: Bookkeeping, September, quantity 12, \u00a3360.00\nVAT at 20%: \u00a372.00\nTotal: \u00a3432.00"
   },
   "expected": {
    "missing": [
     "supply_date"
    ]
   }
  }
 ]
}