The invoice arrives as structured data. Its supplier identifier parses, the tax fields have the expected shape, and the totals add up. The system accepts the format and sends the record toward the ERP. Then the purchase order says 100 units at one price, the receipt confirms 92, and the invoice asks to pay for 100 at a different price. The file was valid. The payment was not ready.
That is the boundary this article examines. E-invoicing and PEPPOL-style network formats reduce manual keying and make some validation deterministic. They do not make the commercial facts around an invoice true. An AP team still has to reconcile documents, explain exceptions, and preserve the evidence behind the decision.
Structured is a syntax, not a business decision
A structured invoice gives the receiving system named fields instead of a page that someone must read first. That is a meaningful improvement. Supplier ID, invoice number, currency, dates, tax values, line items, and totals can be parsed, typed, and validated before an operator touches the record.
But a schema answers “can this value be represented?” It does not answer “should this value be paid?” A supplier can send a valid invoice for a purchase order that was cancelled. A tax value can be correctly encoded while the tax treatment still needs review. A line can have a valid product code while the delivered quantity is short. Format validation is an early gate, not the end of the workflow.
- Syntax — the document follows the expected structure and required values can be parsed.
- Arithmetic — line items, tax, discounts, and totals agree within the configured rules.
- Commercial context — the invoice agrees with the order, receipt, vendor record, and approval state.
- Workflow authority — the right person or system can approve the result and the decision remains reviewable.
What the network format makes easier
When a network delivers structured invoice data, the first pass can be faster and more consistent. The platform can validate identifiers, normalize dates and currencies, compare totals, and detect whether a required reference is missing. It can also keep a machine-readable record while treating attachments and supporting documents as part of the same AP packet.
That last point matters because the invoice is rarely the only document in the decision. A vendor statement, delivery note, goods receipt, service acceptance record, or purchase order may live as a PDF, scan, or image. The PEPPOL document AI guide describes this surrounding document layer: standardized invoices still need attachment extraction, validation, review queues, and audit evidence.
Use structured data to shrink the easy part of the queue. Do not use it to pretend that the exception part disappeared.
The exception is usually cross-document
Many invoice failures are not defects in the invoice alone. They appear only when the invoice is compared with another record. A purchase order establishes what was requested. A receipt establishes what arrived. A vendor record establishes who may be paid and where. The invoice proposes what should be paid. The exception is the difference between those claims.
| Signal | What it means | Evidence to keep |
|---|---|---|
| Missing PO reference | The invoice cannot enter a normal 2-way or 3-way path yet. | Invoice field, supplier identity, lookup result, and the policy for non-PO spend. |
| Quantity variance | The invoice asks for more or fewer units than the order or receipt supports. | Invoice line, PO line, receipt line, and the configured tolerance. |
| Price variance | The unit price differs from the approved order or contract context. | Both values, currency, effective date, and the approval or override. |
| Unmatched receipt | The invoice has a plausible amount, but delivery or service acceptance is absent. | Invoice, receipt search result, delivery evidence, and the review state. |
| Duplicate candidate | The same supplier, number, amount, or corrected version may already exist. | Matching records and the specific differences that made it a candidate. |
A passing invoice schema cannot produce these comparisons by itself. The invoice matching API separates 2-way matching from 3-way matching and returns line-level discrepancies, including quantity and price variance. That is the useful contract: not “automatically approve every structured invoice,” but “show why this record can or cannot continue.”
PDF and XML coexist at the boundary
Teams often describe the transition as if every invoice will switch from PDF to XML on one clean date. Operationally, the boundary is messier. Structured invoices may arrive alongside PDFs, scans, email attachments, and supporting documents from suppliers whose systems have not converged. A structured invoice may also carry attachments that contain the context needed for approval.
The correct architecture keeps one validation policy across those inputs. Parse the structured fields directly where they are reliable. Extract the attached or separately submitted documents with the same source references. Then compare the resulting records rather than giving the XML path a weaker exception policy.
- Accept both paths — do not make a PDF exception invisible just because the invoice record was structured.
- Preserve provenance — keep the source file, attachment identity, page, and field or line that supports each decision.
- Normalize before matching — align identifiers, dates, currencies, units, and sign conventions before comparing values.
- Route uncertainty — send missing context and low-confidence extraction to review with the reason already attached.
Make the line the unit of review
Invoice totals are useful for arithmetic checks, but they are too coarse for many exceptions. A total can pass while one line has the wrong quantity, a tax code is missing, or a freight charge has no approved context. Review should open the smallest unit that explains the mismatch.
That means a useful exception record carries the invoice and purchase-order IDs, the line positions, normalized values, the difference, the tolerance that was applied, and links to the source regions. The invoice extraction page describes per-field confidence and source references; the same discipline should reach line-level matching and the attached evidence.
For example, imagine a fictional invoice with three lines. Two lines match the purchase order exactly. The third asks for 100 units, the receipt records 92, and the tenant policy allows a 2-unit variance. The correct output is not “invoice failed.” It is “line 3: quantity variance of 8, outside tolerance; receipt evidence missing for 8 units; route to receiving review.” The reviewer can act because the system preserved the reason.
Separate validation from approval
Validation can say that a condition is true or false according to a rule. Approval decides whether the business accepts the exception or supplies the missing authority. Those are different states and should remain different in the workflow.
- Validate the structured invoice and record deterministic failures.
- Resolve the supplier, order, receipt, and duplicate candidates.
- Apply tenant-specific tolerance and matching rules at line level.
- Route only the unresolved or out-of-policy differences to the right queue.
- Store the reviewer decision, evidence, and any override reason before ERP handoff.
An auto-approval is still a decision. It needs the same traceable inputs as a manual approval, even if no person opened the queue. The record should show which rule ran, which documents were compared, and why the result was inside the allowed boundary.
What the buyer should ask a provider
“Do you support e-invoicing?” is too broad to evaluate an exception workflow. Ask what happens after the structured payload is accepted.
- Input coverage — can the system process structured invoices, PDFs, scans, and attachments under one workflow?
- Match semantics — does it distinguish 2-way from 3-way matching and surface line-level quantity and price differences?
- Evidence — can a reviewer open the source region behind a field, line, receipt, or vendor identity?
- Tolerance ownership — are thresholds explicit, tenant-specific, versioned, and visible in the decision?
- Exception handoff — does the downstream payload carry validation state, review state, and the reason it was held?
- Auditability — can the team reconstruct which inputs and rules produced an approval or rejection?
The questions are deliberately narrower than a claim that a vendor automates compliance. A network format can improve interoperability. A document AI layer can improve extraction and evidence. The buyer still owns the payment policy, approval authority, and legal interpretation.
Structured invoices still need an exception path
E-invoicing is valuable because it makes more of the invoice deterministic. The mistake is to treat deterministic intake as deterministic payment. The invoice, purchase order, receipt, vendor record, and approval state each make a claim; the workflow has to reconcile them.
Build the path around the exception: parse the format, validate the fields, compare the documents, preserve the evidence, and route the difference. That is how structured invoicing reduces manual work without hiding the judgment that remains.
