Detect missing purchase-order numbers in invoices
9 October 2026
If an invoice says “PO: pending”, record that the document supplies no usable purchase-order number. A similar reference in the accompanying email is a lead to investigate. It is not a verified value for the invoice field.
Keep the three records distinct
Suppose a synthetic invoice shows “PO: pending” and its email subject says “Delivery against PO-8841”. The extraction captured both strings correctly. The buyer still has to establish whether PO-8841 belongs to this purchase.
| Evidence | What to record | What it establishes |
|---|---|---|
| Invoice, header field | “PO: pending”, with page and field location. | The invoice did not supply an order number there. |
| Covering email, subject | PO-8841 as a candidate, with message reference. | A sender associated this string with the message. |
| Approved purchasing record | Lookup result, supplier, entity and relevant order details. | Whether the candidate identifies the matching authorised order in the system checked. |
The validation fixture provides examples of deliberately incomplete or inconsistent extracted data. A syntactically plausible string is not enough to clear a missing-field exception. Example invoice validation cases
Resolve a match or keep the exception open
Look up the candidate in the authorised purchasing system. If it exists, check the supplier and order scope against the invoice instead of accepting the numeric match alone. Record who confirmed it and how the linked record was obtained. Preserve what the original invoice actually said.
If there is no match, document which records were searched. A failed lookup may point to a different business entity, an incomplete approval or a typographical error. Keep the search scope with the result. Give the unresolved item to the responsible procurement owner for clarification under the buyer's process. Do not fill the invoice field with a guess or treat a resolved reference as approval for payment.
Part of the Five checks for data extracted from a PDF invoice guide.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).
