- Create one controlled intake path and preserve the original invoice before extracting or changing any accounting record.
- Validate critical fields and match the invoice to available vendor, purchase-order and receiving evidence before approval.
- Separate PO, non-PO and exception paths; show reviewers the failed rule and source evidence instead of asking them to reprocess the invoice manually.

Five invoice cases that must not share one approval path
The reference set starts with a complete invoice, then changes the operating problem. INV-101 has inconsistent arithmetic. INV-102 is a non-PO case. INV-103 cannot be compared with authoritative supplier and purchasing evidence. INV-104 represents a repeated underlying invoice. Each requires a different explanation and next action.
The amounts and supplier references are example. The stated tax amounts are teaching inputs, not tax-rate advice. Matching arithmetic does not establish tax correctness, supplier legitimacy, receipt of goods or payment authority. Define those checks from the actual accounts-payable process before treating a numeric pass as an approved financial record.
Preserve the received invoice and the proposed accounting record separately. A reviewer should see what the source states, what the system calculated and which authoritative records were available. Otherwise a correction can hide whether the model misread the document or the source itself contained a discrepancy.
Worked example. The supplied records and decisions are inspectable reference material, with no claimed customer results or measured model performance.
| Case | Problem | Expected route |
|---|---|---|
| INV-100 | Supplied arithmetic agrees | Next required approval gate |
| INV-101 | Total differs by CAD 50 | Review with source and calculation |
| INV-102 | PO absent | Defined non-PO review |
| INV-103 | Source records unavailable | Hold evidence-dependent action |
| INV-104 | Underlying invoice repeated | Duplicate review; do not post twice |
Download the working files
Use the completed example and templates alongside this guide. Files open directly with no signup.
- Invoice routes with expected labels
- Validation and ownership matrix
- Completed uncertain-posting incident
- Reference-library instructions and example limits
- Complete reference library with local check script (ZIP) — extract the files before running the optional check.
Define where invoice processing starts and ends
The workflow should start at an observable receipt event and end only when an accepted accounting record exists—or when the invoice has been rejected or returned with a recorded reason. ‘Read the invoice’ is not a complete process boundary because it omits the financial decision and the destination state.
Map the people and systems that participate today: accounts payable, purchasing, receiving, project or department owners, email inboxes, vendor records, purchase orders and the accounting platform. This reveals where waiting, duplicate entry and informal approvals actually occur.
Start
An invoice enters through an approved email address, upload, scan or supplier channel.
Success
A validated and authorized record is created in the intended accounting state.
Alternative end
A rejected, disputed or duplicate invoice is closed with evidence and ownership.
Process owner
A named role owns policy, approval design, exceptions and performance.
Capture the source and check for duplicates first
Preserve the original attachment and its receipt context before processing. Record the sender, received time, file identifier and any message or case information needed to explain where the invoice came from. Do not rely on a renamed file as the only source trace.
Duplicate detection belongs near the beginning and again before the final write. Vendor names and invoice numbers vary in formatting, so use a combination of normalized identifiers, amount, date, purchase order and file evidence. A suspected duplicate should enter a review state, not disappear silently.
Original source
Keep the received invoice unchanged and addressable throughout the workflow.
Vendor identity
Resolve the supplier against an approved vendor record rather than free text alone.
Composite match
Compare several stable invoice attributes and the destination system before posting.
Contained review
Hold possible duplicates with the matching record and an explicit decision path.
Extract invoice fields and validate the critical ones
Useful fields commonly include vendor, invoice number, invoice date, currency, subtotal, taxes, total, purchase-order reference, payment terms and line items. The exact schema should be determined by the accounting action and reporting needs—not by every value a model can find.
Validate required fields, recalculate totals, check formats and compare the proposal to approved records. Try the invoice examples in the document data validation lab: a confident but incorrect total, a duplicate invoice and an unavailable ledger need different responses.
Required fields
Stop when a value needed for posting, matching or approval is missing.
Arithmetic
Compare line extensions, subtotal, tax and total within an approved tolerance.
Entity match
Confirm the vendor, purchase order and related project or cost object exist.
Source trace
Keep the page and region behind each consequential extracted value.
Route PO, non-PO and mismatch cases deliberately
A purchase-order invoice can be compared with the order and, when the process provides it, receiving evidence. The purpose is not to force every difference through the same path. Define tolerances for quantities, prices, freight, tax and partial delivery according to the organization’s policy and authority levels.
A non-PO invoice needs a separate route to the responsible cost owner and coding context. An invoice with an unknown vendor, closed purchase order or disputed quantity is an exception that needs more evidence or authority before it can continue.
Matched PO
Compare supplier, items, quantity, price and available receipt evidence.
Permitted variance
Apply documented tolerances without hiding the difference from the audit record.
Non-PO invoice
Request coding and approval from the accountable business owner.
Mismatch
Route the invoice with the conflicting values and the person responsible for resolution.
Make approval a clear decision rather than another inbox
The reviewer should see the original invoice, proposed accounting fields, match result, previous approvals and the reason their decision is required. Present approved actions such as accept, correct, reject, request information or escalate. Preserve both the automated proposal and the final human decision.
System outages, missing evidence and unresolved mismatches need a safe holding state and retry rule. Start with the invoice example in the exception recovery runbook builder to plan destination checks, accounts-payable ownership and escalation when a posting attempt returns no confirmation.
Authority
Route according to amount, cost ownership, policy and the type of exception.
Decision context
Show the source, proposed record, validations and exact reason for review together.
Service recovery
Retry only from a known safe state after checking whether the prior write succeeded.
Escalation
Set an owner and age threshold for invoices that cannot be resolved on the normal path.
Verify the accounting entry and measure the whole outcome
Posting is not successful merely because an integration request returned without an error. Confirm that the intended record exists, carries the expected status and links back to the invoice and approval evidence. Record the destination identifier so recovery does not create a second entry.
Measure elapsed processing time, touch time, critical-field correction rate, duplicate rate, mismatch categories, approval age and successful posting. A lower manual handling time is valuable only when the final record is dependable and exception work remains visible.
Verified write
Read or reconcile the destination state after a material update.
Cycle time
Measure receipt through acceptance, including time waiting for information or approval.
Correction rate
Track material changes to proposed critical fields by document source and layout.
Exception recurrence
Use repeated failure categories to improve the rule, input or upstream process.
Automate one invoice path before expanding the scope
Start with a representative supplier group, one accounting destination and explicit PO, non-PO and exception rules. Test ordinary invoices and the cases that create the most correction work. Expand only when the operating evidence shows that the first path is reliable.
A broader document processing automation engagement can connect invoice extraction to existing approval, purchasing and accounting systems while preserving the controls your team needs.
Prepare a reviewer packet and a recoverable posting action
For a PO match, show supplier identity, invoice lines, order and receipt evidence with the differences. For non-PO work, identify the responsible cost owner and required coding or supporting evidence. Unknown bank details or a requested change to vendor payment instructions need their separately approved verification procedure; copying instructions from an invoice is not verification.
Record accept, correct, return or reject against the proposed version. Keep the original value and correction reason. When a downstream record is created, retain the destination identifier and verify its state and amounts. A provider response alone is not the full accounting acceptance check if the record can remain in an unexpected state.
Test posting recovery without repeating the commitment. After an acknowledgement disappears, find the destination by the stable business key. Attach and verify a matching existing entry; only retry a confirmed absent entry under safe duplicate protection. Escalate conflicting or still-unavailable evidence with the approved invoice version rather than reopening the business decision implicitly.
Try it with your own process
Assign an owner to each expected route in the JSON. For INV-101, prepare the exact review message showing 1000, 50, 1100 and calculated 1050. For INV-103, name what evidence must return before the item can advance. Then walk the uncertain-posting scenario with an operator who can identify the destination record without creating another payable.
Acceptance checks for this example
- A numeric pass never bypasses required business approval.
- Missing PO and unavailable lookup evidence are not treated as the same fact.
- Duplicate and uncertain-write recovery preserve the original payable identity.
Technology choices and what to test
Dedicated invoice parsing can prepare fields while current general models help summarize exceptions. Evaluate a current candidate only with permitted representative inputs and a known-answer set. Keep monetary arithmetic and matching policy under deterministic application control.
The model must not gain posting or payment authority merely because it can call tools. A narrow preparation tool can return a proposed record, while a separately controlled integration consumes the authorized version. Measure corrected critical fields, reviewer minutes and verified accounting outcomes.
Technology references checked October 28, 2026. Model availability and platform behavior can change; confirm the current documentation before implementation.
Compare candidates on a labelled sample from the intended workflow: correctness, preserved unknowns, unsafe proposed actions, reviewer effort, latency and cost. Keep expected outcomes separate from generated answers. Record model identifier, settings, prompt, rules and connector version so a change can be tested against the same cases.
Choose matching checks for the evidence and obligation
For authorized scope and completion evidence, follow the property work-order invoice matching example. It separates a line-level scope difference from an overall ceiling exception.
For repeated source deliveries, changed identifiers and recurring charges, use the duplicate invoice detection guide and comparison tool. A candidate relationship does not replace source validation or payment reconciliation.
For split receipts and freight charge support, use proof of delivery invoice matching. It keeps physical receipt, condition review and additional-charge authority distinct.
Where the actual policy permits an alternate route without a purchase order, the non-PO invoice approval workflow separates service evidence, coding, amount authority and unavailable-approver holds.
Reconcile the permitted destination update
After an authorized update, use source-to-destination data reconciliation to compare intended and observed record state. The comparison does not grant posting or payment authority and keeps an unavailable lookup separate from confirmed absence.
Frequently asked questions
What are the main steps in an invoice processing workflow?
The common stages are controlled receipt, duplicate detection, document and vendor identification, field extraction, validation, purchase-order or receiving match when applicable, approval, exception resolution and a verified accounting-system entry.
Can invoices be processed without purchase orders?
Yes, but non-PO invoices need a different evidence and approval path. The workflow should identify the responsible cost owner, permitted coding, approval authority and supporting documentation instead of pretending a purchase-order match exists.
Should every invoice require human approval?
That depends on company policy and consequence. Automation can prepare and validate the invoice while an authorized person approves the commitment. Some organizations may allow approved low-risk cases to proceed under defined controls.
How should duplicate invoices be detected?
Use several signals together, such as vendor identity, normalized invoice number, amount, date, purchase order and file fingerprint. A possible duplicate should be contained for review rather than automatically deleted.
What should happen when invoice data is uncertain?
Preserve the original invoice, identify the uncertain field or failed rule, prevent premature posting and route the item with enough context for an authorized person to correct, reject or request clarification.
Sources and further guidance
These official references provide relevant technical, privacy, risk-management or accountability guidance. OpSmith applies the useful principles to the operation of one business workflow.
- Analyzing invoices and receiptsAmazon Textract documentation
- Document Intelligence prebuilt invoice model overviewMicrosoft Learn
