CalQuity LabsBook a discovery call

Documents and workflows

How to evaluate AI invoice processing before ERP integration

Judge invoice automation by correctly accepted records, a usable exception queue and reliable ERP posting.

Isometric line drawing of an accounts payable desk. A woman checks an invoice against its extracted fields on screen, marked with ticks and one question mark; cleared invoices go into a cabinet labelled ERP while a colleague holds a flagged invoice from a tray labelled EXCEPTIONS.

Evaluate invoice processing AI on the records your accounts payable team can accept, the exceptions it must resolve and the reliability of the ERP update. A demonstration that reads a clean invoice answers only part of that question.

For a finance or operations buyer, the useful test ends with a reconciled business record. This guide proposes an acceptance procedure for that test. It is not a report of a CalQuity deployment or a promise of extraction accuracy.

Define the invoice record you need before testing extraction

Ask the team that posts invoices to identify the required destination fields. A correct total is insufficient if the record has the wrong supplier, currency or purchase order. Decide which fields are needed for every invoice and which apply only to particular cases.

Write down the matching rules too. An invoice may refer to several purchase orders, a receipt may cover only part of the quantity, or the same supplier may use several trading names. These need agreed treatment before a model's output can be judged.

Use a field checklist with a named business owner:

Record elementWhat the acceptance check needs to establish
Supplier and invoice referenceThe destination identifies the right supplier and can recognize an already processed invoice.
Currency and amountsRequired values match the source and pass the applicable arithmetic checks.
Purchase order and receiptThe matching rule is explicit; a missing or partial match has a defined exception path.
Line itemsQuantities and values remain attached to the correct rows, including across pages.
Approval and posting statusStaff can distinguish extracted, reviewed, approved and successfully posted records.

Mark a field as out of scope when the first workflow does not need it. That is more useful than asking a vendor to extract everything and then discovering no one has specified what correct means.

Keep difficult invoices in the evaluation set

Build the test collection from the documents the team actually receives, using an approved sharing process. Include variations that matter to the workflow: unfamiliar supplier layouts, poor scans, multi-page tables, credit notes, missing references and repeat submissions. Record the mix so the result has a clear scope.

Have someone familiar with the process confirm the expected fields and decisions. Reserve a collection that has not been used to configure the system. If every failed document is immediately used for tuning and then tested again, the report describes those corrected examples rather than an independent check.

Google's Document AI evaluation compares extracted entities with annotations in test documents. That illustrates why an evaluation needs an agreed expected answer; an attractive output is not a reference standard. 1

Keep rejected files and processing failures in the accounting. Report whether a document failed before extraction, missed a field, extracted a wrong value or could not reach the destination. Excluding every difficult input makes it impossible to estimate the queue the team will still handle.

Treat extraction confidence and business approval separately

Confidence can help route a field for review, but your acceptance decision also needs business checks. An amount may be confidently read from the wrong part of the page. A correctly extracted invoice may still disagree with the purchase order.

Google documents a precision and recall trade-off when changing the confidence threshold. Its default threshold is selected to maximize F1, an extraction metric. Your finance team's cost of a wrong accepted record is a separate decision. 1

Agree the consequence of each error with the process owner. A supplier identity mismatch may require a full stop; an optional description may be editable during review. Do not impose one universal confidence number across those decisions without testing its effect.

For each routing rule, inspect both records that passed and records sent for review. Sampling only the exception queue misses mistakes that the system accepted. Report the complete record result alongside field results so easy fields do not hide a consequential error.

Test the review queue and ERP write as part of the pilot

Give reviewers the source page, the proposed value, the failed check and the destination context. Then observe whether they can resolve the case without opening unrelated tools or re-entering the invoice. Include that work when estimating how much time checking AI will take.

Use a sandbox or another agreed test environment to walk through the integration:

  1. Submit a valid approved record and confirm the identifier returned by the ERP.
  2. Submit the same invoice again through the intended intake path and check the duplicate handling.
  3. Simulate losing the response after the destination accepts a write. Confirm how the workflow reconciles that uncertainty before retrying.
  4. Reject a required field at the destination and check that the case returns to an owned queue with a useful reason.
  5. Correct and resubmit the case, retaining the approval and change history.

These are proposed acceptance checks, not a claim that every ERP exposes the same controls. The integration design must match the actual system interface. Confirm the supported behavior with its owner before enabling unattended writes.

Keep supplier bank-detail changes out of the routine extraction approval unless the business has explicitly included its existing verification process. Copying a value accurately from an invoice does not establish that the supplier authorized it. Record who may approve the change and what separate evidence they need.

Compare accepted work with the current process

Choose a common boundary for the manual and proposed workflows: receipt of the invoice through a correctly posted record, for example. Count human review, corrections, failed imports and subsequent rework inside that boundary. Keep elapsed waiting time separate from staff effort.

Report results by document family where the operating burden differs. A large improvement on routine invoices may coexist with an unchanged queue of difficult ones. The decision may be to automate the routine family and retain a manual route for the rest.

Avoid converting pilot performance into a universal savings claim. Explain which invoice mix was tested, which checks remained manual and what the estimate excludes. The broader cost after review and rework guide helps structure that comparison.

What this evaluation cannot establish

A passing pilot does not prove future supplier layouts will behave identically. It does not authorize payment, establish tax treatment or repair inaccurate supplier records. Those responsibilities need their existing business owners.

A passing pilot also leaves the build-versus-buy decision open. An existing ERP module may already cover the workflow adequately. Compare the existing option using the same documents and acceptance checks before paying to reproduce it.

Questions to settle before commissioning invoice automation

What is a good invoice extraction accuracy target?

There is no useful single target without defining the required fields, document mix and consequences of an error. Agree field checks, complete-record acceptance and the permitted exception workload before selecting thresholds.

Does the pilot need ERP integration?

It needs enough integration testing to assess the promised scope. An extraction-only experiment can answer a reading question; a proposal that includes automated posting needs evidence about destination validation, retries and reconciliation as well.

What should we send an implementation partner?

Start with a redacted sample description, the required fields, the destination system and the exception process. Use the workflow automation solution to turn those inputs into a scope discussion.