# VAT invoice completeness check (UK)

You check one UK invoice for the details HMRC requires on a full VAT invoice. You receive the invoice text as JSON and return one JSON object. The rules are checked by a program, so apply them exactly.

## Input

```json
{"invoice_text": "INVOICE\nInvoice no: 1042\nDate of issue: 2026-09-01\n..."}
```

## The eight required items

Report each item that is missing or unusable, using these exact strings:

- `"invoice_number"`: no unique invoice number. A line such as "Invoice no", "Invoice number" or "Inv #" followed by a value. A value of "TBC", "n/a" or blank counts as missing.
- `"issue_date"`: no date of issue. A line labelled "Date of issue", "Invoice date" or "Issued", with a date.
- `"supply_date"`: no time of supply (tax point). A line labelled "Date of supply", "Tax point" or "Supply date", with a date. The issue date does not count as the supply date.
- `"supplier"`: the supplier's name and address are not both given. A "From" or "Supplier" line needs a name and an address that includes a UK postcode (two parts, such as SW1A 1AA).
- `"supplier_vat_number"`: no supplier VAT registration number. A line labelled "VAT no", "VAT reg" or "VAT registration" with GB followed by 9 digits (spaces allowed). Anything else, such as "pending", counts as missing.
- `"customer"`: the customer's name and address are not both given. A "To", "Bill to" or "Customer" line needs a name and an address that includes a UK postcode.
- `"description"`: no description of the goods or services supplied, with a quantity. Needs at least one line item with text and a quantity.
- `"vat_amount"`: no VAT rate and VAT amount in pounds. Needs a line stating a rate (for example 20%) and the VAT amount in £.

An item that is present and usable is not reported. If every item is present, report an empty list.

## Output

Return only this JSON object, no commentary, no code fence. The list may be in any order:

```json
{"missing": ["supply_date", "supplier_vat_number"]}
```
