AI invoice processing: how software reads, matches and posts supplier invoices

AI invoice processing software reads a supplier invoice from email or a scan, pulls out the supplier, lines, taxes and total, and matches it to the purchase order and the receiving record. When something differs, such as a higher price or a short shipment, it sends the invoice to a person to approve before anything is posted to the ERP or accounting system. For a Canadian company the same check covers the supplier’s GST/HST and QST registration numbers, which most invoices must show before you can claim that tax back. This guide walks through each step, the controls that keep it safe, and the software on the market.

A modern receiving hall with high-speed dock doors, yellow bollards and a truck at the far bay

What invoice processing is

Invoice processing is the accounts payable work between a supplier’s invoice arriving and the payment going out. Accounts payable (AP) is the money a company owes its suppliers, and the name of the team that pays it. The steps are the same at a small distributor and a large plant, and the table shows which part of each step software can take on.

StepWhat happensWhat AI can take on
ReceiveInvoices arrive by email, supplier portal or postWatch a shared mailbox and pick up each attachment
CaptureSomeone types the supplier, invoice number, date, lines, taxes and totalRead those fields from the PDF or scan
CodeEach line gets a general ledger (GL) account, the category it is booked toSuggest the account from past invoices from the same supplier
MatchThe invoice is checked against the purchase order and the receiving recordCompare prices and quantities within set tolerances
ApproveA person with authority signs off, especially on differencesRoute the invoice to that person with the differences listed
Post and payThe bill is entered in the ERP or accounting system and paid on its termsDraft the entry so a person can post it

Microsoft describes its own AP agent for Business Central this way: it “monitors mailboxes for incoming vendor invoices, uses AI to analyze invoice content, and shows invoice drafts to agent supervisors for review.” The typing and the first check move to software. The judgment calls stay with people: whether a price increase was agreed, whether a short shipment should be paid in full, and whether a new supplier is real.

How AI reads an invoice

Reading an invoice takes two kinds of AI. Optical character recognition (OCR) turns the image of a page into text. A second model decides which text is the invoice number, which is the total and which rows are line items. Microsoft’s Document Intelligence invoice model, for example, extracts “key fields and line items” from “phone-captured images, scanned documents, and digital PDFs,” and reports a confidence value, the model’s own estimate of how sure it is, with what it extracts. Oracle says NetSuite Bill Capture uses a “large multimodal model,” one that reads the page image and its text together, to handle “complex invoice formats, such as those with multiple columns, mixed content types, and unstructured or free-text layouts.”

Hard cases include line items that run over two pages, credit notes laid out like invoices, a packing slip scanned with the invoice, and suppliers who put the PO number in a different place each time. Test the software on your own invoices before you trust any accuracy figure. Text extraction from images explains how to run that test.

Three-way match: invoice, purchase order and receipt

A purchase order (PO) is the buyer’s written order to a supplier, with items, quantities and prices, and the purchase order template shows the usual fields. A receiving record, called a product receipt in some ERPs, records what arrived at the dock. The ERP is the business system that holds orders, inventory and accounting. Microsoft’s documentation for Dynamics 365 Finance defines four ways to match an invoice.

Match typeWhat Microsoft’s documentation says is comparedWhere it fits
Invoice totals“the total amounts on the invoice to the total amounts on the purchase order”Low-value purchases where line detail matters less
Two-way“the price information on the invoice to the price information on the purchase order”Services, or goods with no receiving step
Three-wayThe same price check, plus the invoice quantity against “the quantity information on the product receipts”Stocked goods, raw material and parts
ChargesCharges such as freight on the invoice against the charges on the purchase orderSuppliers who add freight, fuel or handling fees

A tolerance is the difference you accept without a review. Microsoft’s example is a purchase order for 1,000 batteries at 1.00 each, a 5 percent price tolerance, and an invoice at 1.10. “A price of 1.05 would be acceptable, but 1.10 is not,” so the invoice waits until the difference is resolved. Tight tolerances send more invoices to review, and loose ones let small overcharges through, so set them by supplier or item group, which Microsoft’s software allows.

What gets flagged for a person

An invoice from a regular supplier against a clean PO should pass. The rest need a decision, and the software’s job is to put the evidence in front of the right person.

FlagWhat the software seesWho usually decides
Price over toleranceThe invoice unit price is above the PO price by more than the set toleranceThe buyer who placed the order
Billed more than receivedThe invoice quantity is higher than the receiving recordReceiving, or the buyer
No purchase orderNo PO number, or a number that does not exist in the ERPThe person who ordered, or their manager
Possible duplicateSame supplier and invoice number, or the same amount and date as an earlier invoiceAccounts payable
New supplier or new bank detailsA supplier not in the vendor list, or payment details that differ from the recordFinance, after a phone call to a number already on file
Tax does not fitA missing registration number, or a tax that does not match the ship-to provinceAccounts payable, or your accountant
Charges not on the POFreight, surcharges or fees the order did not includeThe buyer

Each flag should show its evidence beside it: the PO line, the receiving record, the earlier invoice or the result of the tax number check. Human in the loop covers how to design an approval screen that people read before they click.

GST/HST and QST checks on a Canadian supplier invoice

To claim back the GST/HST you paid, called an input tax credit (ITC), you need an invoice that carries certain information, and the list grows with the amount. The table is the CRA’s list from its input tax credit page, checked September 28, 2026.

Information on the invoiceUnder $100$100 to $499.99$500 or more
Supplier’s business or trading nameYesYesYes
Invoice dateYesYesYes
Total amount paid or payableYesYesYes
GST/HST charged, or a statement that the price includes itNoYesYes
Which items are taxable, when an invoice mixes taxable and exempt itemsNoYesYes
Supplier’s GST/HST registration numberNoYesYes
Buyer’s nameNoNoYes
Brief description of the goods or servicesNoNoYes
Terms of paymentNoNoYes

Quebec’s QST works the same way through input tax refunds (ITRs). Revenu Québec’s list, checked the same day, uses the same thresholds, counted on the total including taxes, with two differences: the QST amount and a description of the goods are required at every amount, and from $100 the invoice must show the supplier’s QST registration number as well as its GST number.

Software can check the numbers. The CRA’s GST/HST Registry lets you “confirm that the business charging you GST/HST is registered,” which the CRA says helps ensure “that your claims for input tax credits only include GST/HST charged by someone who is registered for GST/HST.” Revenu Québec offers an API, a connection other software can call, that validates a QST registration number and returns its status, its effective date and the business’s name. A QST number has “ten digits followed by the letters TQ and four more digits.”

The tax charged should also fit the province. The CRA’s rate table, checked September 28, 2026, lists 13% HST in Ontario, 5% GST plus 9.975% QST in Quebec, and 14% HST in Nova Scotia since April 1, 2025. It adds that the rate depends on the type of supply, where it is made and who it is made to. Software can flag an invoice whose tax does not fit the ship-to address, and your accountant settles the edge cases.

Posting to the ERP or accounting system

The last step writes the bill into your system of record. Where the ERP or accounting system has an API, a connection one program uses to call another, the software can create the bill directly. The safe pattern is a draft: the software fills in the bill, a person reviews it, and only that approval posts it. Microsoft says its Payables Agent “creates drafts only and never automatically posts invoices,” and QuickBooks Online has you review each uploaded bill before you create it.

Many plants run an older ERP with no API. A computer use agent, software that works the ERP’s own screens the way a clerk does, can key each approved invoice. Legacy ERP automation explains how that works, and AI for ERP covers the wider options.

Keep the invoice image attached to the entry. The CRA’s records page, read September 28, 2026, says you must generally keep records and supporting documents “for a period of six years from the end of the last tax year they relate to,” at your place of business or residence in Canada unless it gives written permission to keep them elsewhere. If an AP service stores your invoices outside Canada, ask your accountant how that rule applies.

See your own invoices read and matched

Tell Derik which ERP you run and roughly how many supplier invoices arrive each month. He will tell you which steps can be drafted by software and which should stay with your team.

Start a conversation

Accuracy and controls

Measure accuracy on your own invoices before you trust any figure. Take about 100 recent invoices from your main suppliers, let the software read them, and compare each field with what your team entered: supplier, invoice number, date, every line, tax and total. Count an invoice as correct only when every field is correct, since one wrong field can change what you pay. Then run it alongside your team for a month, with the software drafting and people still entering, and let it do more only where the comparison supports it.

The controls that matter most sit around the AI:

AI invoice processing software, and what each vendor says

ERP and accounting vendors now build invoice reading into their own products, and specialist AP tools sit alongside the ERP. The descriptions are the vendors’ own, checked September 28, 2026.

ProductWhat the vendor says it doesWorth knowing
Microsoft Dynamics 365 Business Central Payables Agent“monitors mailboxes for incoming vendor invoices, uses AI to analyze invoice content, and shows invoice drafts to agent supervisors for review”PDF invoices only. Microsoft lists approval flows and anomaly detection among the features it currently does not support. It is billed per use in Copilot Credits, counted per invoice and per invoice line
Oracle NetSuite Bill Capture“you can email or upload vendor bill files to create NetSuite vendor bills”Its suggestions “rely on matches with NetSuite records, such as vendors, items, and purchase orders”
Sage Intacct AP Automation“Upload or email an AP bill and Sage Ai will automatically extract details and create a pre-populated draft for your approval”Sage says it “automates matching to purchase orders” and “flags duplicate invoices”
QuickBooks Online“We extract info from it and create a transaction for you to review”Accepts PDF, JPEG, JPG, GIF and PNG files
Stampli“Billy codes, matches, and routes invoices with every question and decision attached”Billy is the name of Stampli’s AI assistant

Ask each vendor how it charges, for example per user, per invoice or by quote, and check its own pricing page. Ask too where invoices are stored and where the model runs. Microsoft’s FAQ notes that if a Business Central environment is in a country or region where Azure OpenAI is not available, “administrators must allow data to move across geographies.” Private AI for business lists the questions to put in writing. Invoices and purchase orders are also where procurement starts, and AI in procurement covers the buying side.

How ThriveAI helps

ThriveAI is an AI engineering company in Ottawa that builds private AI systems on a client’s own data, for manufacturers and distributors in Ontario and Quebec. For accounts payable, it builds the process on this page around your own records: invoices read from your AP mailbox, matched to your purchase orders and receiving records, and drafted in your ERP for a named person to approve. The platform is designed to keep each client’s data on its own server in Canada. The client chooses a model on that server or a hosted model under a written zero data retention agreement, a contract under which the provider keeps no copy of a request or its answer. A hosted model may process requests outside Canada. Derik Lawlis, the founder, leads every project and stays close to the build. More is on About ThriveAI.

Questions people ask

What is AI invoice processing?
AI invoice processing is software that reads supplier invoices, pulls out the supplier, lines, taxes and total, matches them to the purchase order and the receiving record, and drafts the entry in the ERP or accounting system. A person approves anything that does not match before it is posted or paid.
What is three-way matching in accounts payable?
Three-way matching compares three documents before an invoice is paid: the invoice, the purchase order and the receiving record. The price on the invoice is checked against the price on the purchase order, and the quantity billed is checked against the quantity received. Differences within a set tolerance pass, and larger ones go to a person.
How accurate is AI invoice processing?
It depends on your suppliers' invoice formats, so measure it. Take about 100 recent invoices, let the software read them, and compare every field with what your team entered. Count an invoice as correct only when every field is correct. Vendor accuracy figures come from the vendor's own test sets.
What does a Canadian invoice need for input tax credits?
As of September 2026, from $100, the CRA requires the supplier's GST/HST registration number and the tax charged, or a statement that the price includes it, along with the supplier's name, the date and the total. From $500, the invoice also needs your name, a description and the payment terms. Revenu Québec also requires the supplier's QST number from $100, and the QST amount and a description at any amount.
Can AI post invoices to our ERP automatically?
It can, but a draft that a person approves is the safer setup. Microsoft's Business Central Payables Agent creates drafts only and never posts invoices on its own. If your ERP has no API, a computer use agent can key approved invoices through the ERP's own screens.
How do you prevent invoice fraud when AI processes invoices?
Keep people on the risky steps. Confirm any change to a supplier's bank details by calling a number already on file, require a second approver above a set amount, keep the person who edits supplier records separate from the one who approves invoices, and check for duplicates. The Canadian Anti-Fraud Centre describes fraudsters who email businesses new banking information while posing as a known supplier.

Contact

Start with the supplier who sends the most invoices

Tell Derik which suppliers send you the most invoices and which ERP or accounting system they go into. He will tell you how matching them to purchase orders and receipts would work.

Prefer to talk? Book a meeting.

Your message goes to Derik Lawlis, the founder.