OCR for accounts payable: how it works, and the checks it can't do alone

Written for AP managers and finance operations teams. See how OCR turns an AP bill into data, which checks still need your own records, and what to measure.

Line drawing of invoices and receipts fed from a tray through a scanner and sorted into three stacks, one marked with a green check

Key takeaways

  • OCR in accounts payable reads the text on invoices and other AP documents. Extraction and checks turn that text into data your ERP can use.
  • AP runs on more than invoices. Credit memos, purchase orders, delivery notes, supplier statements, W-9s, receipts and remittance advice all carry data AP needs.
  • A bill can be read without a single error and still be wrong to pay. Duplicates, PO mismatches and wrong rates only show up when the bill is checked against your records.
  • Template OCR needs a setup for every vendor layout. AI-based extraction handles new layouts and returns line items as tables.
  • Measure touchless rate, exception rate, processing time and cost per invoice. The 2025 average cost was $9.84 an invoice (Ardent Partners, sponsored analyst report).
On this page
  1. How accounts payable OCR works
  2. What OCR pulls from one AP bill
  3. AP documents OCR can read, and what to pull from each
  4. What OCR can't check on its own
  5. OCR vs IDP in accounts payable
  6. What to measure once OCR is live
  7. Where Docsumo fits in accounts payable
  8. Try it on one month of AP mail
  9. Frequently asked questions

OCR in accounts payable is software that reads invoices, bills and other AP documents, so nobody has to type them. On its own, OCR only turns a page image into text. AP also needs the fields pulled out and checked against your records before a bill is paid.

Below, one utility bill goes from scan to checks, so you can see where OCR stops and the AP checks start.

How accounts payable OCR works

OCR does one job. It finds the characters on a scan, PDF or phone photo and turns them into text. Everything else AP needs happens in the steps before and after it.

  • Email inbox
  • File upload
  • API
API and webhooks
  1. 01Sort by document type
  2. 02Read the text
  3. 03Find fields and line items
  4. 04Check against your records
  5. 05Send exceptions to a person
ERP or AP system
How an AP document becomes data

AP invoice OCR is the most common case, but the same flow handles every document in the AP inbox. Sorting matters because a credit memo processed as an invoice gets paid instead of applied. The checks matter because a bill can be read correctly and still be one you shouldn't pay. Docsumo's accounts payable automation covers this flow, from the AP inbox to your ERP.

What OCR pulls from one AP bill

Take a bill that AP pays every month. Maple Court Apartments LLC gets one from Riverbend Electric & Gas for three meters at 2150 Maple Ct. The bill has no PO, so your own records are the only thing to check it against.

Account
FieldExtracted valueConfidence
ProviderRiverbend Electric & Gas
Customer nameMaple Court Apartments LLC
Account number3108-5572-40
Service address2150 Maple Ct, Columbus, OH 43215
Billing period2026-08-05 → 2026-09-03
Issue and due date2026-09-08 · 2026-09-29
A Riverbend Electric & Gas bill read into account details, charges and one row per meter. You can choose the field names and the structure of the output.

OCR turns the page into text, and extraction sorts that text into fields. The account number is 3108-5572-40. The billing period runs from Aug 5 to Sep 3, 2026, and $1,818.75 is due on Sep 29. Each meter comes out as a row with its reads and usage. On the bill, the three meter charges of $1,327.14, $124.70 and $268.02 make $1,719.86 before tax. Add $98.89 in taxes and fees, and you get the $1,818.75 due.

That sum needs nothing but the page. The page can't tell you whether this account and period were already paid, or whether 2150 Maple Ct is one of your properties. It also can't tell you whether the supply rate on meter E-5520871, $0.0912 per kWh, matches your contract. On the Enterprise plan, Docsumo can flag a bill whose rate differs from the contract rate. It looks up the contract rate in your own records (master data lookup) and checks the billed rate against it. The utility bill data extraction page shows the fields each team uses and a sample of the output.

AP documents OCR can read, and what to pull from each

Each document has one job in the AP cycle and a few fields that matter.

  • Supplier invoice or bill

    What you owe. Utility and service bills often come with no PO. Vendor, invoice number and date, due date, PO number, line items, tax, total and remit-to.
  • Credit memo

    Reduces what you owe. Credit number, the invoice it refers to, lines, amount and reason.
  • Purchase order

    What you agreed to buy, for 2-way and 3-way matching. PO number, vendor, lines, quantities and prices.
  • Delivery note or packing slip

    Proof the goods arrived, for 3-way matching. PO number, items and quantities delivered, and date.
  • Supplier statement

    The vendor's view of your account. Statement date, open invoices and credits, aging and balance.
  • W-9 form

    The vendor's taxpayer ID, which you need for 1099 reporting. Name, business name, tax classification, address and TIN.
  • Receipt

    Small purchases and expenses. Merchant, date, items, tax and total.
  • Remittance advice

    Which invoices a payment covered. Payment date and amount, invoices paid and any deductions.

The documents follow the order of the accounts payable process. A W-9 and confirmed bank details set up the vendor before its first payment. Invoices and credit memos say what you owe, and POs and delivery notes show that you ordered the goods and got them. The supplier statement comes last. It catches invoices you never received and credits nobody applied. W-9 data extraction covers the vendor setup step in more detail.

What OCR can't check on its own

Each of these checks needs data that isn't on the page.

  • DuplicatesThe same invoice can arrive twice, by email and again as a reminder. Compare each one with the invoices you've already received before you pay it. See duplicate invoice detection.
  • Vendor masterA W-9 and confirmed bank details should be on file before a vendor's first payment.
  • PO and receipt matchQuantities and prices on the invoice should match the PO and what was received. See 2-way vs 3-way matching.
  • Approval limitsInvoices over a set amount need a second approver. The person who adds a vendor shouldn't approve that vendor's invoices.
  • Statement checkAt month end, each supplier's statement should agree with your AP ledger.

Docsumo flags invoices that duplicate one already received, and it matches supplier statements to your ledger. On the Business plan, it routes invoices for approval by the rules you set. On the Enterprise plan, it matches each invoice line to the PO and the receipt or delivery slip. It doesn't pay vendors. Approved invoices go to your ERP or payment system through the API and webhooks.

Our take. Don't judge an AP OCR tool by how well it reads one page. Judge it by whether it checks that your documents agree with each other. An invoice can be read without a single error and still bill you for goods that never arrived. Matching it to the PO and the receipt catches that, and in Docsumo this matching runs on the Enterprise plan.

OCR vs IDP in accounts payable

OCR reads characters. Intelligent document processing (IDP) adds the steps AP needs before and after OCR. IDP sorts the documents, pulls out the fields, runs the checks and sends values it isn't sure about to a person.

When a tool says it does AP OCR, ask which of these steps it runs. Then ask what happens when a vendor sends a layout the tool has never seen. IDP vs OCR has the longer comparison, and how invoice OCR works covers the invoice itself.

Template OCR vs AI-based extraction

Template OCRAI-based extraction
SetupA template per vendor layoutNo template per vendor
New or changed layoutsBreak until a template is builtHandled
Line itemsOnly if mappedExtracted as tables
CorrectionsSomeone edits the templateCorrections teach the model
Best forA few stable, high-volume layoutsMany vendors and document types

What to measure once OCR is live

Five numbers show whether your AP OCR is working. The benchmarks come from Ardent Partners' State of ePayables 2025, a sponsored analyst report. Docsumo reports 95%+ straight-through processing, which is the touchless rate in the table below.

MetricWhat it shows2025 benchmark
Touchless rateInvoices processed with no human touchBest-in-class teams process more than 1.8 times as many invoices straight through as their peers
Exception rateInvoices that stop for a person: no PO, price variance, missing receipt, unknown vendor, low confidence18.4% on average; 47% lower for best-in-class teams
Processing timeHow many days invoices take to process8.2 days on average; 79% faster for best-in-class teams
Cost per invoiceWhat AP spends, divided by invoices processed$9.84 on average; 79% lower for best-in-class teams
Statement differencesMissing invoices and unapplied credits found before month-end closeNo published benchmark

Record your own numbers for a month before OCR goes live. Then record them for a month after, and compare.

Where Docsumo fits in accounts payable

Docsumo reads the whole AP document set. That includes invoices, credit memos, POs, delivery slips, supplier statements, W-9s and utility bills. They can come in by email, by upload or through the API. It reads handwritten text. Line-item tables that run across pages come back as one table.

Fields the software isn't sure about go to a person, and clicking a field shows its source line on the page. Docsumo reports 99% field-level accuracy on 250+ document types. For invoices, invoice OCR returns the header fields and the line items. Docsumo doesn't create POs or pay vendors. Purchasing and payments stay in the systems you run today.

Try it on one month of AP mail

Use every document AP received last month, not a few clean examples. Keep the credit memos and the statements in the batch. Count how many documents stopped for a person, and write down why each one stopped. Those reasons show which checks matter most for your vendors.

Book a demo with a month of your own AP documents, or start a free trial.

Frequently asked questions

What is OCR in accounts payable?

OCR (optical character recognition) in accounts payable is software that reads invoices and other AP documents and turns them into text. It works on PDFs, scans and phone photos. With extraction and checks added, the software fills in the fields AP needs, such as vendor, invoice number, line items and total.

What does OCR stand for in accounting?

OCR stands for optical character recognition. In accounting, it's software that reads the text on scanned invoices and receipts, so nobody has to type it.

Which AP documents can OCR process?

Invoices and bills, credit memos, purchase orders, delivery notes and packing slips, supplier statements, W-9 forms, receipts and remittance advice. Classification sorts a mixed batch first, so each document goes to the right step.

Can OCR match invoices to purchase orders?

Not on its own. OCR reads the text, and a separate check compares each invoice line with the PO and the receipt. In Docsumo, this 2-way and 3-way matching runs on the Enterprise plan.

What's better for AP, template OCR or AI?

AI-based extraction, for most teams. Template OCR needs a setup for every vendor layout and breaks when a layout changes. AI handles new layouts and extracts line items as tables.

Which OCR software is best for accounts payable?

It depends on what happens after the text is read. For invoices that must be matched, routed and posted to an ERP, compare AP automation and document processing platforms on your own invoices. Our guide to AP automation software compares them.

See Docsumo read your own documents

Bring a few real samples. We'll show the fields extracted, the checks that ran and what a reviewer would see.