Sign up today for free — no credit card down.Get started
    All articles
    19 min read

    Automated Document Processing: How to Automate Document Processing, Step by Step

    Mixed documents are read by AI, become checked data fields, and post to a business system, while one unsure document goes to a person.

    Automated document processing is software that reads a document, turns what it says into checked data, and creates the record that document stands for in the system where it belongs. To automate document processing you pick one document flow, connect the place documents arrive to the system they end up in, decide what gets held for a person, and run it on your own documents until the holds are only the genuinely unusual ones.

    The phrase covers three kinds of product, and the gap between them is where most disappointing purchases happen. Some tools only read documents and pull data out. Some only route documents to people for review and signature. Some cover the whole path from a document arriving to a finished record, with no retyping in between. A tool that routes contracts for signature and a tool that reads a vendor bill and posts it to your accounting system share a phrase on their home pages and very little else.

    This guide covers reading documents and turning them into records, with the most attention on the case most small businesses and bookkeeping firms actually have: bills and receipts arriving by email, headed for QuickBooks Online or Xero. See the 90 second demo if you would rather watch one document make that trip first.

    Table of contents

    1. What it is: turning a document into structured data, and why scanning is a different thing
    2. How to automate it: seven steps, from choosing one flow to measuring it
    3. The five pipeline stages: intake, classification, extraction, validation and delivery
    4. OCR, IDP and AI extraction: what each term means and how it behaves on an unfamiliar document
    5. Which documents automate well: invoices and receipts at one end, contracts and prose at the other
    6. How accurate it is: why flagged errors matter more than a headline accuracy score
    7. Email intake edge cases: links, bundles, reminders, statements and forwarded chains
    8. One invoice, start to finish: a sample bill walked into QuickBooks Online and into Xero
    9. Matching and duplicates: receipts against existing transactions, bills against existing bills
    10. What gets held: the concrete list of reasons a document waits for a person
    11. Choosing a tool: six questions to ask, starting with which stage you need
    12. Without coding: when finished tools are enough and when you build your own
    13. Handwriting and photos: what reads well and where errors cluster
    14. Firms with many clients: keeping each client's documents and books separate
    15. Knowing it works: the two numbers to track together, and the baselines to write down

    Skim for the section you need, or read it through once.


    Three things people mean by automated document processing: extracting data from a document, routing a document for review and approval, and the full path from arrival to a finished record in a business system.

    What is automated document processing?

    Automated document processing is software that reads a document and turns its contents into structured data, without a person typing it in. It identifies what kind of document it is, finds the fields that matter, such as the vendor, date, amounts and line items, checks them for obvious problems, and hands the result to another system. A person reviews what the software was unsure about rather than reviewing everything.

    The key word is structured: the output is data, where a scan is still a picture of a page.

    A scanned invoice on the left becomes labelled fields on the right: vendor, date, invoice number, subtotal, tax, and total, each pulled from a specific place on the page.

    That distinction explains why scanning and filing never added up to document processing. A PDF stored in a folder still has to be opened and read before anything can happen. Once the same document has been turned into fields, software can compare it to other records, check the arithmetic, file it against the right vendor, and create the transaction it represents.

    It also explains why a business with thorough digital filing can still spend hours a month on its paperwork. Digitizing the storage did nothing about the reading. Someone still opens each document, works out who it is from and what it is for, finds where it goes, and makes sure it was not already handled last week. That searching and sorting is where most of the time goes, and it is the part a real document processing setup removes.

    The last thing worth saying early is that automated document processing is a pipeline of several stages, and a tool can be excellent at one stage and absent at another. Understanding the stages is what lets you read a product page and work out what you are actually being sold. Before the stages, though, here is the practical version: what you would actually do, in order, to get it working.

    How to automate document processing

    Automate one document flow at a time, end to end, before adding a second. These seven steps work for any business, and they are written with vendor bills and receipts in mind because that is where most small teams start.

    1. Pick one high volume flow. For most businesses that is vendor bills and receipts. Write down roughly how many arrive a month and how long one takes today, including finding it.
    2. Map where those documents arrive. A shared inbox, several personal inboxes, a forwarding address, paper, or a supplier portal. Your intake has to start where the documents already land.
    3. Connect the destination. Link the accounting file, QuickBooks Online or Xero, so vendors, accounts and existing transactions are visible to the process.
    4. Decide what a person must see. Choose which documents post on their own and which wait. Start strict and loosen it once you trust the results.
    5. Run it on your own documents. Use last month's real paperwork, including the blurry phone photos and the vendor whose invoices span three pages.
    6. Work the review queue for two weeks. Fix the causes you see repeatedly: a vendor missing a default category, an inbox nobody connected, a sender that should be trusted.
    7. Measure two numbers together. The share of documents finished without a person, and the share of finished records later found to be wrong.

    Seven steps in order: pick one flow, map where documents arrive, connect QuickBooks Online or Xero, decide what a person must see, run on your own documents, work the review queue, and measure two numbers together.

    Steps two and four are where most rollouts go wrong. If your bills arrive as email attachments and the tool expects you to download and upload them, you have moved the manual step without removing it. And if nothing is set to wait for a person, the errors still happen; they just surface at month end, where they cost far more to find.

    Step five deserves its own warning. A vendor's sample invoices are clean, well lit and one page long. Yours are not. A tool that looks perfect on demonstration data can stumble on camera roll receipts, and the only way to know is an afternoon spent running your own.

    Step six is where the payoff shows up. Every new vendor needs a decision the first time: is it real, what category does it belong to, should its emails be trusted. After that, its documents become routine. A rollout that feels like work in week one and very little in week six is behaving correctly, so judge it on the second month.

    What are the steps in a document processing pipeline?

    Five, in order: the document arrives, the software works out what it is, it extracts the fields, it checks them, and it delivers the result to wherever the record needs to exist. Different products start and stop at different points in that chain, so the first question for any tool is which of the five it actually performs and which it leaves to you.

    Most buying confusion comes from tools that cover three of the five and describe themselves as covering all of them.

    The five stages in order: intake, classification, extraction, validation, and delivery, with a branch at validation sending uncertain documents to a person.

    Intake is how the document gets to the software: a watched inbox, a forwarding address, a folder, an upload screen, a phone camera, or an API. It sounds trivial and is often where a rollout quietly fails, which is why it gets its own section below.

    Classification is working out what a document is before trying to read it. An invoice, a receipt, a statement, a purchase order and a credit memo all need different handling, and a pile of incoming paperwork contains all of them. Classification also catches things that should not be processed at all, like a newsletter that happened to have a PDF attached.

    Extraction is the step everyone pictures: finding the vendor, the date, the invoice number, the subtotal, the tax, the total, and often the individual line items. Modern AI models changed this step, because they can read a layout they have never seen before without a template drawn for every vendor.

    Validation is checking that the extracted data makes sense. Does the subtotal plus tax equal the total? Has this document been processed already? Is there a due date, or is this actually a quote? Is the vendor one we recognize? Validation separates a system that is confidently wrong from one that hands back the few documents worth a second look, and it is the stage buyers ask about least.

    Delivery is creating the record in the system that matters. A tool that extracts beautifully and then hands you a spreadsheet to import has left you with a job. If the destination is QuickBooks Online or Xero, ask whether the tool writes the bill or expense directly, against vendors and accounts that already exist in your file, with the source document attached.

    OCR, IDP, and AI extraction: what the terms mean

    These three terms get used as synonyms in marketing copy, and they describe different capabilities. Knowing which one a product is built on tells you how it will behave on a document it has never seen.

    OCR, optical character recognition, converts an image of text into text. It is the oldest of the three and only one component of a working system. OCR can tell you that the characters "Invoice Total 1,240.00" appear on a page. It cannot tell you that 1,240.00 is the total, which vendor sent it, or that the total should have been 1,204.00.

    Three layers stacked: OCR reads characters off the page, template rules pick fields from fixed positions, and an AI model reads an unfamiliar layout and works out which number is the total.

    Template based extraction sits on top of OCR. Someone defines, for each vendor's layout, where each field lives. This works well for high volumes of identical documents and falls over the moment a vendor redesigns their invoice or a new supplier appears. With twenty vendors who never change, templates are fine. With four hundred vendors and a dozen new ones a month, maintaining templates becomes the job you were trying to eliminate.

    AI extraction, often sold as intelligent document processing or IDP, uses models that read a document the way a person does, working out from context and layout which number is the total, even on a format they have never encountered. The tradeoff is that the behaviour is probabilistic, which is exactly why validation matters so much.

    Most current tools combine all three, so the revealing test is what happens on an unfamiliar document. Ask how the product handles a new supplier whose invoice nobody has seen. If the answer involves configuring anything, you are buying templates with extra steps. If it reads the document and flags low confidence for review, ask exactly how that flagging works. For bills specifically, what invoice automation is walks through the same pipeline. For where each extracted field lands on a QuickBooks Online bill and a Xero bill, see our guide to invoice OCR.

    Which documents automate well, and which do not?

    Documents with a predictable set of fields and a business reason to be correct automate well: invoices, receipts, purchase orders, statements and remittances. Documents that are mostly prose, or whose meaning depends on judgment, automate badly. Contracts and correspondence are the classic hard cases, because the meaning sits in sentences rather than in fields a system can check.

    If you can name the fields you want, extraction will probably work.

    Documents sorted along a spectrum. On the automation-friendly end: invoices, receipts, purchase orders, statements. On the difficult end: contracts, letters, handwritten notes, and photos of crumpled paper.

    Invoices and receipts are the best case in the whole category. The fields are the same everywhere, the arithmetic is checkable, there is an existing record elsewhere to match against, and the volume is high enough to be worth automating.

    Statements are a middle case. The layout is regular, but a statement is a list of things already billed, so posting it as a bill would double count everything on it. A statement needs to be recognized and kept out of the bills, and that is a classification problem more than an extraction one.

    Contracts are hard for an honest reason. The interesting content lives in clauses rather than labelled fields, and two contracts that say the same thing can say it in entirely different words. Software can find the parties and dates reliably. Whether a clause creates an obligation is a reading task, so test any tool that claims otherwise on your own agreements.

    The everyday difficulties are more mundane than the document type: receipts photographed at an angle in bad light, faded thermal paper, multi page bills with the total only on the last page, and a vendor whose name is spelled three ways across three systems. None of these is exotic. They are what an ordinary month looks like.

    How accurate is automated document processing?

    Accurate enough to be worth it on routine documents, and never accurate enough to leave unsupervised. On clean invoices and receipts from regular vendors, field level extraction is reliable. On unfamiliar layouts, poor images or unusual documents, errors happen, so what the system does when it is unsure matters more than any headline percentage. The safe answer is to hold it for a person.

    A tool that knows what it does not know beats one with a higher headline score.

    A confidence gate. Documents the software is sure about pass straight through to the books, while a low-confidence document, a duplicate, and a total that does not add up are diverted to a review queue.

    Vendors measure accuracy differently and rarely say how. Ninety nine percent character accuracy sounds excellent and can still leave a meaningful share of documents with at least one wrong field. Field level accuracy is more honest. Document level accuracy, the share of documents with every field right, is the most honest and the least quoted. Ask any vendor which of the three it is quoting.

    What matters in daily use is the shape of the errors. An error that gets flagged costs a few seconds. An error that posts silently costs whatever it takes to find it later, possibly at year end when a total will not reconcile. The same underlying accuracy can produce either outcome, depending entirely on how validation is built.

    Accuracy also improves with context. A system that can see the vendors already in your accounting file has a much better chance of matching a bill to the right one, and of noticing when a name is close but not identical. A system working in isolation has to guess. Set expectations accordingly: the realistic goal is routine volume flowing through correctly, with a small, steady stream of genuinely unusual documents reaching a person who can decide.

    What goes wrong at email intake?

    Most small business paperwork arrives by email, and email is messier than any product page admits. Invoices come as attachments, as links to a vendor portal, or typed into the body of the message. Reminders resend the same bill. Statements and quotes look like invoices. A good intake process has an answer for each of these before any extraction happens.

    Ask any tool how it handles every case below, on your own mail.

    An inbox fanning out into six intake cases: an attached PDF, a portal link, an invoice in the email body, one PDF holding several invoices, a reminder resending the same bill, and a statement or quote that must not become a bill.

    Links instead of attachments. Utilities, software vendors and many larger suppliers email a link to a portal rather than the bill itself. If your process only reads attachments, those bills never arrive, and nobody notices until a late fee does.

    Invoices in the email body. Some small vendors type the invoice straight into the message. A process that only looks at attached files skips them entirely.

    Several invoices in one PDF. A supplier sends a month of delivery tickets as one file, or a scanner bundles a stack of receipts. Each document inside needs to become its own record. Test this case specifically, because splitting a bundle correctly is harder than it looks.

    Reminders and resends. The same invoice arrives on day one, again as a "friendly reminder" on day thirty, and once more from the vendor's accounts receivable person. Every copy after the first is a duplicate, and posting it means paying twice.

    Statements, quotes and deposit requests. A statement lists what was already billed. A quote or purchase order has no due date because nothing is owed yet. A deposit request or a balance due invoice refers to money partly settled elsewhere. All three should wait for a person rather than post as an ordinary bill.

    Forwarded chains and scattered inboxes. A colleague forwards a bill, so the sender is your own team rather than the vendor. Half the bills land in the owner's inbox and half in the office manager's. Intake has to cover every inbox the documents actually reach.

    DocStreamAI watches connected Gmail and Outlook inboxes for invoices, receipts and credit memos as they arrive, and marks processed emails with a label in Gmail or a category in Outlook so the team can see what has been handled. Each organization also gets its own intake address, and an accountant can connect their own inbox inside a client's workspace.

    Worked example: one invoice from inbox to QuickBooks and Xero

    Here is one invented bill walked from the inbox to a finished record, once into QuickBooks Online and once into Xero. Larkspur Builders, a small contractor, receives invoice HC-20417 from Harrow Creek Lumber by email. Both companies are made up.

    The invoice is dated September 14, with terms of net 30, two lines, sales tax, and a total of $2,088.80.

    One sample invoice from Harrow Creek Lumber to Larkspur Builders, read into fields, checked, then shown twice: as an open bill in QuickBooks Online and as a draft bill awaiting approval in Xero, each with the original invoice attached.

    Arrival. The email lands in the office manager's connected inbox with the invoice attached as a PDF. Nobody downloads it, forwards it or renames it. The email is marked as handled in the mailbox so the team can see it was picked up.

    Reading the fields. The vendor, invoice number HC-20417, the invoice date, both lines ($1,840.00 of framing lumber and $120.00 of delivery), the tax of $128.80 and the total of $2,088.80 are read off the page. The written terms, net 30, are combined with the invoice date to give a dated due date of October 14.

    Checks. The arithmetic holds: $1,960.00 plus $128.80 is $2,088.80. The invoice is addressed to Larkspur Builders, so it belongs in these books. It has a due date, so it reads as a bill rather than a quote. And it is checked against the bills already in the accounting file, so a second copy of HC-20417 would wait instead of posting.

    Matching the vendor and coding the lines. Harrow Creek Lumber already exists in the accounting file, so the bill is matched to that vendor rather than creating a near duplicate. Each line is coded to an account from Larkspur's own chart of accounts.

    Who looks at it. Under the Hybrid review setting, where a new connection starts, a vendor already in the books goes through on its own and a vendor seen for the first time waits for a person. Harrow Creek is known, so this bill goes through. Under Manual, it would wait on the review dashboard until someone approved it. The setting is the same on both platforms.

    The record in QuickBooks Online. A bill for Harrow Creek Lumber with document number HC-20417, the September 14 date and the October 14 due date, each line on an account from the chart of accounts, the total, and the original PDF attached. It sits open in Accounts Payable, unpaid, ready to schedule for payment.

    The record in Xero. A bill for the Harrow Creek Lumber contact with the same document number, date and due date, each line on an account from the chart of accounts, the total, and the original PDF attached. It sits in Bills to pay as a draft, waiting for someone to approve it in Xero.

    That last difference is the only real one, and it comes from the platforms themselves: a QuickBooks bill is open as soon as it exists, while a Xero bill arrives as a draft for your approval. Everything before it, from the inbox to the checks to the review setting, is identical. For the full walkthrough with screenshots, see the QuickBooks example and the Xero example. Switching from another capture tool? Watch how inbox capture works.

    How do matching and duplicate checks work?

    Matching connects an incoming document to a record that already exists, and duplicate checking makes sure the same document never becomes two records. A receipt is matched against transactions already in your books, because the money has already moved. A bill is checked against bills already in your books, because paying one twice is the most expensive mistake in accounts payable.

    The two checks answer different questions, and a good process runs both.

    On the left, a receipt matched on merchant, amount and date to a transaction already in the books and attached to it. On the right, an incoming bill compared with bills already in the file, with a second copy of the same invoice stopped before it posts.

    Receipts. A receipt is proof for a payment that already happened, so the useful question is which existing transaction it belongs to. In DocStreamAI the merchant, date, total, tax and card last four are read off the receipt and looked up against the transactions already in your QuickBooks Online file or Xero organisation. Where one matches on merchant, amount and date, the receipt is attached to it and nothing new is created. Where the date does not line up, it is held for a person to approve the match.

    When nothing matches at all, a separate setting decides what happens. On Manual, which is where you start, it waits and you create the record yourself. On Hybrid, it is created on its own when the merchant is already in your books and the paying account can be worked out. On Automatic, it is created as soon as nothing matches. In QuickBooks Online the new record is an expense against the account it was paid from; in Xero it is a spend money transaction, authorised and ready to reconcile. Either way the receipt is attached.

    Bills. Before a bill posts, it is checked against the bills already in the file. That check runs whichever review setting you choose. It catches the reminder email, the resend from a second person at the vendor, and the copy someone forwarded from their own inbox.

    Already paid. A bill that arrives after you paid it by card is a different trap. The bill is real, but the money has already moved, so posting it as an open bill invites a second payment. Watch for this one on the review queue in both QuickBooks Online and Xero, especially with vendors who email an invoice and a receipt for the same purchase.

    What gets held for review?

    A document waits for a person when something about it does not add up, or when it is the first time the process has seen that vendor. Concretely, DocStreamAI holds a document when it is a duplicate of one already processed, when an invoice has no due date, when the subtotal plus tax does not equal the total, when the company name on it is not yours, or when the categorization came back low confidence.

    Each reason on that list catches a specific, common failure.

    Six reasons a document waits on the review dashboard: a duplicate, no due date, totals that do not reconcile, a company name that is not yours, a low confidence category, and a vendor seen for the first time.

    A duplicate is usually a reminder or a resend. Clearing it means confirming it really is the same invoice, then discarding it.

    No due date usually means a purchase order or a quote, which should never become a bill. Sometimes it is a real bill from a vendor who omits terms, and the person adds them.

    Totals that do not reconcile point at a misread line, a discount printed oddly, or a vendor's own arithmetic error. The person checks the page against the extracted fields.

    A company name that is not yours catches documents sent to the wrong client, or personal purchases made with a business email address.

    A low confidence category means the process could not tell where the expense belongs. Setting a default category for that vendor usually ends it.

    A new vendor, under the Hybrid setting, waits the first time it appears, so someone can confirm it is real before its bills flow on their own.

    Two setup choices shrink this queue fastest. The industry chosen at onboarding drives default expense categories, and getting it wrong means systematically miscategorized lines from day one. Per vendor settings can force review for a particular vendor, trust any address at a vendor's domain, or pre-assign a default category. Both work the same way in QuickBooks Online and Xero; the one difference is that project tagging exists for QuickBooks only. If you want to put numbers on the time this saves, estimate your own time saved.

    How do you choose a document processing tool?

    Write down which stage you need automated before opening a vendor site, then check intake, destination, how uncertainty is handled, whether the tool sees your existing records, and how pricing scales with the thing you do more of. Most bad fits come from buying a tool built for a different stage of the pipeline than the one where your time actually goes.

    A stage mismatch is usually discovered late.

    A shortlist scorecard with six rows: which stage it automates, how documents get in, where records come out, what happens when it is unsure, whether it sees your existing records, and how pricing scales.

    Which stage. If documents pile up unread in an inbox, your problem is intake. If they are collected but retyped, it is extraction and delivery. If they are entered but wrong, it is validation. These need different products, and the difference rarely shows on a home page.

    How documents get in. Match this to how your documents arrive today, using the intake cases above as a checklist.

    Where records come out. Confirm the tool writes into your system of record, and ask about the edges: does it match vendors that already exist, or create near duplicates you merge later?

    What happens when it is unsure. Ask to see the review queue instead of the happy path. You will spend more time on that screen than any other.

    Whether it sees your records. A tool connected to your accounting file matches vendors and categories against what is there. A tool working in isolation guesses.

    How pricing scales. Per document, per user, per client or per page. Each model punishes a different kind of growth, so check it against your own volume. Our guide to invoice automation software compares the tools that do this job for QuickBooks Online and Xero.

    Can you automate document processing without coding?

    Yes. For common business documents such as bills and receipts, finished tools connect to your inbox and your accounting software through a sign in screen, with no code involved. Setup is mostly choices: which inboxes to watch, which accounting file to connect, what your industry is, and which documents must wait for a person. Code only becomes necessary when you are building extraction for an unusual document type yourself.

    If that is your situation, our step by step guide to automating a document workflow with AI covers the build.

    Can automated document processing read handwriting and photos?

    Mostly, with limits worth knowing. Modern AI extraction reads phone photos of receipts and printed invoices well, and it can often read neat handwriting on a delivery ticket or a handwritten receipt. Faded thermal paper, steep angles, heavy shadows and scrawled totals are where errors cluster. That is fine as long as uncertain fields are flagged for a person instead of being posted as if they were certain.

    Test with your worst photos first.

    Does it work for bookkeeping firms with many clients?

    It can, and the setup matters more than it does for a single business. Each client needs its own connected inbox or intake address, its own accounting file, its own vendor list and its own review settings, so documents never cross between clients. A firm also needs to act inside a client's workspace on the client's behalf. In DocStreamAI an accountant can connect their own inbox inside a client's workspace when documents come to them directly.

    Our guide to receipt automation for bookkeepers covers the firm side in more depth.

    How do you know automated document processing is working?

    Track two numbers together: the share of documents that reach a finished record without a person touching them, and the share of finished records later found to be wrong. Either one alone can look good while the system performs badly. A process that holds nothing shows a perfect first number and pushes its errors into month end. A process that holds everything shows no errors and saves no time.

    Write down your baseline in week one, because memory is not evidence.

    Two dials read together: the share of documents that finished without a person, and the share of finished records later found to be wrong.

    Useful baselines: documents per month, how long one takes end to end including finding it, how many get recategorized later, and how long the month end close takes. None need to be precise. Then watch the review queue rather than a dashboard total. The pattern of what lands there usually points at something fixable: one confusing vendor layout, a category never set up, an inbox nobody connected. If your documents are bills and receipts and your books live in QuickBooks Online or Xero, see how it works for QuickBooks or for Xero, and our guide to data entry automation takes the same problem from the data entry side.

    See DocStreamAI on your own documents

    Book a demo and we'll walk through how your invoices and receipts would be captured, extracted and posted to QuickBooks or Xero, using your setup rather than a sample file.

    Or start a free 14-day trial instead.