after.machines

Workflow breakdown

Automated invoice processing for small business: how an AI workflow reads, checks and posts invoices

Published 17 November 2026

Automated invoice processing reads each supplier invoice from email, extracts the vendor, number, dates, lines and totals, checks them, and posts a draft bill to QuickBooks or Xero for a person to approve. The checks do the real work: totals, duplicates, vendor match, PO match and approval limits. Releasing payments and changing vendor bank details stay manual.

The short version

  1. Sample213 public job posts and project requests that mention invoices, accounts payable, OCR or document extraction, first seen 16 October to 15 November 2026; 104 of them in the last 7 days.
  2. Top asksinvoice processing or entry 54%, reconciliation 47%, vendor or supplier records 31%, payments 27%, data entry 26% of the 213; duplicates 0, approvals 4.
  3. Who asks79% full-time roles, 41% finance, accounting or AP job titles, 19% operations or admin; 14 written briefs asked for invoice automation, 6 for incoming bills and 6 for outgoing invoices.
  4. Fraud rulethe FBI's IC3 says to verify requests to change account information through a second channel or two-factor authentication (checked 17 November 2026).

01What does automated invoice processing actually do?

It turns a supplier invoice in an inbox into a bill in your accounting system that a person only has to approve. That usually means five jobs a person does today by hand:

  1. Capture. Pick up the PDF or image from the accounts inbox, a shared folder or a supplier portal export.
  2. Extract. Read the vendor name, invoice number, invoice date, due date, line items, tax and total. An AI model or an OCR service does this step.
  3. Check. Compare what was read against what you already know: the vendor list, earlier invoices, purchase orders and your approval limits.
  4. Post. Create the bill in QuickBooks or Xero as a draft, with the original PDF attached or linked.
  5. Route. Send the draft to the right approver, and send anything that failed a check to a person with the reason.

Paying the bill is a separate step. In the builds we would do, the workflow stops at an approved bill, and a person releases the payment.

"Invoice automation" also covers a different job: sending your own invoices to customers and chasing payment. That is accounts receivable. This page is about incoming supplier invoices, accounts payable. The two get mixed up in the briefs we logged, as the demand section below shows.

02Which checks should run before a bill is posted?

These are the checks we put between "the AI read the invoice" and "a bill exists in the books". The extraction step will sometimes misread a number. The checks are what stop a misread from becoming a payment.

CheckWhat it comparesIf it fails
Totals add upLine amounts sum to the subtotal; subtotal plus tax equals the total on the invoiceSend to a person with both numbers
Duplicate invoiceSame vendor and same invoice number already in the books, or same vendor, amount and dateStop; never post a second bill
Vendor matchThe vendor name and tax ID or email domain match one existing vendor recordSend to a person; never create a vendor automatically
Bank details unchangedAny bank details printed on the invoice match the vendor recordStop and flag as possible fraud; verify by phone
PO matchInvoice lines and amounts match an open purchase order, and a goods receipt where you track oneSend to the PO owner with the difference
Approval limitTotal against the limit your policy sets for that vendor, category or approverRoute to the approver who covers that amount
CodingSuggested GL account and tax code against what this vendor was coded to beforePost as draft with the suggestion marked for review
DatesInvoice date not in the future, due date after invoice dateSend to a person

Two of these come straight from how Xero behaves. Xero's Invoice model says it calculates SubTotal, TotalTax and Total from the line items, and that supplied totals are only checked against the lines on submitted or authorised invoices where an opt-in setting is on; a rounding adjustment is not validated while the invoice is a draft. So when you post a draft bill, Xero will not tell you that the PDF said a different total. Your workflow has to compare the extracted total with the line sum itself. And the model describes InvoiceNumber as a unique code for sales invoices (ACCREC); we found nothing in it that blocks a repeated supplier invoice number on a bill, so the duplicate check is also yours.

03What do QuickBooks and Xero give you for posting draft bills?

This is what we could read in the official sources on 17 November 2026.

What you want to knowXero, from its official SDK model and OpenAPI description
How a bill is storedAs an invoice with type ACCPAY; sales invoices are ACCREC
StatusesDRAFT, SUBMITTED, AUTHORISED, PAID, VOIDED and DELETED
TotalsCalculated by Xero from line items; supplied totals validated only on SUBMITTED or AUTHORISED invoices with an opt-in setting, with a rounding amount between -0.10 and 0.10
ErrorsEach invoice in a response can carry HasErrors, ValidationErrors and Warnings
Link to the sourceA URL field links to a source document, shown as "Go to [appName]" in Xero; invoices can also carry attachments
Payment planningA PlannedPaymentDate is shown on bills when set
Repeated requestsThe part of the Accounting API description we could read lists an idempotency key parameter on some create requests (Accounts, BankTransactions, BatchPayments); we could not confirm it on Invoices, so do not rely on it for bills
ConnectionAccess tokens expire after 30 minutes; refresh tokens have a 60 day expiry, per Xero's SDK README

For QuickBooks Online we could not read Intuit's developer pages on our check date: the bill reference and the call limits page load only in a browser, and several links returned 404 to our reader. So this page states no QuickBooks API facts, call limits or bill fields. Check the Bill entity and the limits page in Intuit's developer docs before you build. We also could not read Xero's rate limits page, so no Xero call limits are stated here.

04A worked example: an emailed invoice to an approved draft bill

This is an example build: it shows how we would build the pattern, and it describes no real company. Take the pattern behind the written briefs described in the demand section below: a small team receives supplier invoices as PDFs in one inbox and wants them in Xero or QuickBooks Online without retyping. Here is how we would build it, in n8n, Make or Zapier.

  1. Trigger. A new email with a PDF or image attachment arrives in the accounts inbox. Store the email ID and a hash of the file first, so the same attachment arriving twice is recognised.
  2. Extract. Send the file to an AI model or OCR service and ask for fixed fields: vendor name, vendor tax ID, invoice number, invoice date, due date, currency, line items, tax, total and any bank details shown. Ask it to return an empty value rather than a guess when a field is unclear.
  3. Look up the vendor. Match against existing vendor records by tax ID, then email domain, then name. Exactly one match continues. No match or two matches go to a person.
  4. Run the checks. Totals, duplicate, bank details, PO match, dates and approval limit, as in the table above. Each failure gets a plain reason, such as "the total on the PDF does not equal the sum of its lines", with both numbers shown.
  5. Post as a draft. In Xero, create an ACCPAY invoice with status DRAFT, attach the PDF and set the URL back to the original email. In QuickBooks Online, create the bill only after the checks pass, attach the PDF, and follow the approval setup the business already uses. Read the response for validation errors and warnings and log them.
  6. Route for approval. Post the draft link, vendor, amount and check results to the approver for that amount, in Slack, Teams or email. The approver approves in the accounting system, not in the chat message.
  7. Hand off payment. Approved bills appear in the normal payment run. A person releases payments.
  8. Log and alert. Write one row per invoice: received, extracted, checked, posted, approved, with the failure reason if any. Alert a person when an invoice has sat unprocessed for a day.

Where it breaks in practice. The same invoice arrives twice, once from the supplier and once forwarded by a colleague, and two bills get posted because only the email ID was checked. The model reads a 7 as a 1 and nothing compares the extracted total with the line sum, so the draft looks fine. A supplier changes its trading name and the workflow creates a new vendor instead of stopping. If the flow does not refresh its Xero connection within 60 days, for example in a quiet month, the refresh token expires and the flow stops silently, so invoices pile up in the inbox. A credit note is read as an invoice. Our eight checks test these directly: a run-twice check for duplicates, failure recovery for the extraction and posting steps, and a failure alert so a stuck invoice reaches a person.

05What do buyers hire invoice automation for?

Mostly entry and reconciliation work inside full-time roles, and a small number of direct builds (14 written briefs). Our signal engine reads public job boards, company careers pages, freelance marketplaces and social posts every day and keeps one record per post. From 16 October to 15 November 2026 it logged 213 posts whose title, summary or tools mention invoices, accounts payable, AP, bills, Bill.com, OCR, PDF or document extraction. 104 of them (49%) were first seen in the last 7 days, from 9 November. We counted which kinds of work each brief summary mentions. One brief can mention several.

Work named in the briefPostsShare of the 213
Invoice processing or entry11654%
Reconciliation10047%
Vendor or supplier records6531%
Payments or payment runs5827%
Data entry5626%
Expenses or receipts3617%
Document or PDF extraction, OCR or parsing2914%
AI, LLMs or agents2713%
Matching to purchase orders168%
Audit or internal controls126%
Aging reports94%
Coding to GL accounts52%
Approvals42%
Duplicate invoices00%

Method: these are keyword matches on each summary (for example "reconcil", "purchase order" or "PO", "OCR" or "extract"), so they mostly undercount. 185 of the 213 summaries are our engine's own short list of the routine tasks in a job post, and 28 are written project briefs. The sample was not filtered by company size: 52% came from SaaS or tech companies and 79% were full-time roles, so read it as general demand in a one-month snapshot, not small-business demand.

What the counts suggest: the job descriptions list the typing (entry, reconciliation, payment runs) and almost never the checks. Duplicates came up in no brief at all, and approvals in 4. Yet a duplicate bill or a changed bank account is where an automated flow can cost real money.

Of the 28 written briefs, 14 asked for invoice automation directly. 6 were about incoming bills: parsing emailed PDF invoices and posting them to QuickBooks Online or Xero, invoice intake with approval, and AP work as part of an ERP rollout. 6 were about outgoing invoices: generating them, sending them and chasing payment. 2 were unclear. If you are briefing someone, say which side you mean in the first line.

One of those briefs asked for a flow that emails a new vendor's payment details and account number to an internal list. That is the kind of message business email compromise targets, which the "What not to automate" section covers.

06Who is hiring for it, and where?

Mostly full-time hires; the largest group of titles is finance and accounting (41% including AP), then operations or admin (19%). All shares are of the 213 posts.

MeasureBreakdown
EngagementFull-time 168 (79%), contract or project 33 (15%), part-time or fractional 5 (2%), small task 3, unclear 3, ongoing partnership 1
Signal typeExplicit hiring post 196 (92%), looking for a contractor or freelancer 15 (7%), looking for an implementation partner 2 (1%)
Role titleAccounting, finance or billing roles other than AP 69 (32%), operations or admin 40 (19%), accounts payable roles 18 (8%), procurement 15 (7%), automation, AI or engineering 13 (6%), other 58 (27%)
OrganizationSaaS or tech 110 (52%), other businesses 82 (38%), unclassified 11 (5%), consultancies 5, individuals 3, agencies 2
Location186 stated one: at least 111 a United States location, 18 the United Kingdom, 14 Canada, 5 each Germany, India and Australia; 33 said remote

For the 18 accounts payable job titles, our engine also estimated how much of the listed routine work is automatable. The estimate ranged from 50% to 80%, with an average of 71%. Read that as our model's estimate from the job description, not a measurement of anyone's work.

Only 30 of the 213 posts named tools at all. Among those, Python appeared in 13, n8n in 11, Zapier in 10, Make in 9, QuickBooks in 6, OpenAI or ChatGPT in 6, Claude in 4, Power Automate in 3, Xero in 2 and Zoho in 2. NetSuite, Bill.com and ERPNext appeared once each. The written briefs that posted bills named QuickBooks Online and Xero, with Make, Zapier or the Claude API doing the work in between.

07What not to automate

Keep a person on anything that moves money or changes who gets paid:

  • Releasing payments. Let the workflow prepare the bill and the payment run. A person presses pay.
  • Changing vendor bank details. The FBI's IC3 describes business email compromise as a scam that compromises legitimate business email accounts and ends in an unauthorized transfer of funds. Its first protective tip is to use secondary channels or two-factor authentication to verify requests for changes in account information. An email that says "our bank details have changed" should never update a vendor record automatically. Call the vendor on a number you already have.
  • Creating new vendors. A new vendor is where fake invoices get in. Let the workflow propose it with the evidence; a person approves it.
  • Sending payment details by email. Do not build flows that email account numbers around the company. Keep them in the accounting or payment system with access controls.
  • Approving exceptions. A failed check goes to a person with the reason. Do not let a retry or a model "fix" the number and post anyway.
  • Coding a vendor's first invoice. Let the workflow suggest, and let a person confirm the account the first time; after that, the history helps the suggestion.

If a payment does go to the wrong account, IC3 says to contact the originating bank as soon as you recognise the fraud to request a recall or reversal, and to file a complaint at ic3.gov.

08How do we approach an invoice automation build?

We start with the checks and the stops, not the extraction. Before building, we write down where invoices arrive, which fields the bill needs, what makes a bill a duplicate, who approves which amounts, and which actions stay with a person. Then we build capture, extraction, checks and draft posting around the accounting system the team already uses, and leave payments and vendor bank changes outside the workflow. If you are choosing a platform, our n8n automation page and Zapier automation page cover how each handles failures, and our CRM data entry guide covers the same match-before-create rule for contacts. More patterns are in our AI automation examples. Every build faces the same eight checks before handover. If you would like a second pair of eyes on your invoice flow, book a free 30-minute workflow review.

09Questions people ask

Can AI read invoices accurately enough to trust?

Clean, typed PDFs usually extract well, but any field can come back wrong, such as a digit or a date. That is why every field still goes through the totals, duplicate and vendor checks after extraction, and the result is a draft bill a person approves.

Can I automate invoice processing in QuickBooks or Xero?

Yes. A workflow can read invoices from email and create bills in either one. In Xero a bill is an ACCPAY invoice and can be created as a DRAFT for review; for QuickBooks Online, check the Bill entity in Intuit's developer docs.

How do I stop duplicate invoices from being paid?

Check vendor plus invoice number against existing bills before posting, and also vendor plus amount plus date to catch renumbered resends. Store a hash of each file so the same PDF forwarded twice is caught.

Do I need a custom build?

Not always. Your accounting system may offer its own bill capture; check that before building, and dedicated accounts payable apps exist. A custom workflow makes sense when invoices arrive across several inboxes, need PO or approval-limit checks, or must feed other systems.

Should the workflow pay invoices automatically?

No. Let it prepare approved bills for the payment run, and keep a person on releasing payments and on any change to vendor bank details, which the FBI's IC3 says to verify through a second channel.

Is this the same as automating invoices I send to customers?

No. Sending invoices and chasing payment is accounts receivable. In our sample of 14 written briefs about invoice automation, 6 were about incoming bills and 6 about outgoing invoices, so say which one you mean.

10Sources

  • Xero, xero-node SDK Invoice model, generated from Xero's OpenAPI description, checked 17 November 2026.
  • Xero, Xero-OpenAPI repository and Accounting API description (first part read), checked 17 November 2026.
  • Xero, xero-node README, token expiry, checked 17 November 2026.
  • FBI Internet Crime Complaint Center (IC3), Business Email Compromise, checked 17 November 2026.
  • after.machines signal engine: 213 public job posts and project requests that mention invoices, accounts payable, AP, bills, OCR or document extraction, first seen 16 October to 15 November 2026, counts only, no company or person names.

Read next

Book a free workflow review