OCR recognizes text in document images. The buyer should first check where the extracted values will be used. The same amount needs different checks when it is stored in a search index and when it is used to finalize a payment request. In the proposal and acceptance checklist, specify whether “automatic entry” saves a draft or finalizes a transaction.
Document how an error in each field affects the next step
| Example field and use | Errors that checks can miss | Example handling criteria |
|---|---|---|
| Payment account | Another person’s valid account number can pass a format check | Match the account against the vendor’s approved account and verify new or changed accounts separately |
| Accounting entry amount | Totals can match even if an amount belongs to the wrong transaction | Check the amount against the corresponding purchase order and transaction records before approving the entry |
| Vendor name | The name can match a different vendor with a similar name | Send for review if the vendor code does not identify a unique match |
| Reference notes | Notes may contain shipping or payment instructions | Allow later corrections only in fields used solely for reference |
Keep tuning documents separate from final test documents
Check the mix of documents used in practice by form, issuer, and image quality. Include blurry images, overlapping stamps, and revised forms. Keep copies and new photos of the same original in the same set. When preparing reference answers, decide how to represent blank fields, illegible values, and leading zeros.
Prefer documents that replace account numbers and personal identifiers with synthetic values that preserve their length and placement. If you need real documents, define the scope of use, whether external transfers are allowed, who can view them, and when to retain or delete them. Obtain legal review before signing the contract.
Find the step where the value first differs from the original
AEND’s OCR workflow follows this sequence: preprocessing → document classification → region detection → text recognition → LLM postprocessing → confidence assessment → human review. To reproduce an error, an authorized reviewer compares the relevant area of the original, the recognized text, and the postprocessing result. Hold the value for review if postprocessing filled a blank field or removed a leading zero from an account number.
Calculate the error rate for automatically accepted values separately
- To calculate field accuracy, divide the number of results that match the reference answers by the number of fields evaluated. Count missing required values and generated values in fields that should be blank as errors.
- To calculate the automatic processing rate, divide the number of fields finalized without human review by the total number of fields in scope. Count values saved only as drafts separately.
- To calculate the automatic entry error rate, divide the number of incorrect automatically finalized fields by the total number of automatically finalized fields. If no fields were finalized automatically, mark the rate as unavailable.
Record both the numerator and denominator for each field and form. The process owner first sets the error tolerance and conditions that require review, then selects a confidence threshold using the tuning data and evaluates it on separate test data. A small sample with no observed errors is insufficient grounds for automating payment approval.
Test finalization and suspension procedures during the pilot
During the pilot, check values eligible for automatic finalization against the originals before posting them to actual accounting entries. Verify that reviewers can see the source location alongside the extracted value and record who made corrections and who gave final approval. Compare review time with the time the existing entry process takes.
After go-live, review a sample of automatically accepted values as well. If you find a serious error, such as a change in the number of digits in an amount, suspend automatic finalization for the affected form and field. Find and recheck records finalized with the same processing version.
For your free technical consultation, prepare forms with personal information redacted, a list of fields to extract, and the conditions that require human review.