From Docket Photo to Finished Record: How an AI Document Pipeline Actually Works

4 December 2026 Aaron Chambers Business Systems, Systems Integration

An AI document pipeline takes a photo of a delivery docket, a supplier invoice PDF or a scanned receipt and turns it into a finished record in your business systems. Nobody retypes it. The AI reads the document, pulls out the fields, checks them against your data, and creates a draft record for a person to approve. It is not magic and it is not perfect. But it gives back the hours your team spends copying numbers from paper into screens.

We have been building this kind of software. We use Anthropic's Claude as the AI model. It reads delivery dockets, supplier invoices and receipts, then creates the records directly. This post walks through how the pipeline is put together, end to end. You can see what is involved before you talk to anyone about it.

Why classic OCR and templates fall over

Traditional OCR reads text off a page. Template systems then look for fields in fixed spots: the total is always in the bottom right, the date is on line three. That works when every document looks the same.

In the real world, it falls over fast.

Every supplier sends invoices in a different layout. A plumber's one-page tax invoice looks nothing like a hire company's four-page statement. Delivery dockets from site come back crumpled, photographed on the back of a ute in bad light. Handwritten notes run across the bottom. Receipts from Bunnings look different from receipts from the local hardware store. A template for each supplier means dozens of templates. Every new supplier means a new one.

A modern AI model does not use a fixed template. It reads the document the way a person would. It understands that "Total inc GST" at the bottom of the page is the total, even if it has never seen that supplier's layout before. It handles handwritten notes better than template OCR, though messy handwriting is still hard for everyone. It picks up context. A docket that says "2 pallets short, see note" in the margin gets flagged.

The reading is only the start. What happens after the AI reads the document is where the real work sits. That is where the time savings come from.

The pipeline, step by step

Here is how a document-to-record pipeline works. It starts when the document arrives and ends when a record exists in your systems.

Diagram of an AI document pipeline: capture, read, check, match, create a draft record, a person approves, saved in your systems, with an exception list and audit trail

1. Capture: getting the document in

Documents arrive in all sorts of ways. The pipeline handles them all:

  • Email inbox: supplier invoices arriving as PDF attachments
  • Phone photo: a supervisor photographs a signed delivery docket on site
  • Scanner or printer: the office scans a stack of receipts
  • Shared folder or app: drivers upload proof-of-delivery photos

The capture step collects the document and stores the original. You always want the original image on file. Then it sends the document to the AI for reading.

2. Read: AI extracts structured fields

The AI model reads the document and pulls out the fields that matter. For a supplier invoice, that might be:

  • Supplier name and ABN
  • Invoice number and date
  • PO reference, if there is one
  • Line items with descriptions, quantities and amounts
  • GST amount and total
  • Payment terms

For a delivery docket, the fields are different. Site or job, date, what was delivered, quantities, who signed, and any notes about damage or shortages.

The AI returns these as structured data, not just a block of text. Each field is labelled and ready to use.

3. Check: does it add up?

Most people skip this step when they think about document automation. It is the step that catches the most problems.

The pipeline checks the extracted data against itself and against your records:

  • Maths: do the line items add up to the subtotal? Does the GST calculate correctly?
  • ABN: does the ABN on the invoice match the supplier in your system?
  • Dates: is the invoice date reasonable? Has it already been entered?
  • Duplicate check: has this invoice number from this supplier already been processed?

Anything that fails a check gets flagged, not rejected. The document goes into the exception list for a person to look at.

4. Match: connect it to what you already know

This is where the pipeline earns its keep. The AI has read a supplier invoice. Now it needs to find the right purchase order, the right job, the right delivery.

  • Supplier lookup: match the name and ABN to your supplier list
  • PO matching: if the invoice references a PO number, find that PO and compare the lines
  • Job or cost code: match the delivery or expense to the right job, project or cost centre
  • Delivery matching: link the invoice to the delivery docket or goods received note, so you have three-way confirmation (ordered, delivered, invoiced)

If the PO says 50 bags of cement at a certain price and the invoice says 50 bags at the same price, it matches cleanly. If the invoice says 55 bags or a different price, that is a mismatch and a person needs to look.

For more on how three-way matching works and where it breaks, see our three-way matching guide.

5. Create the record

Once a document passes its checks and matches, the pipeline creates a draft record in your system:

  • A supplier invoice becomes a draft bill in your accounting system, coded to the right account and job, ready for approval
  • A delivery docket becomes a goods receipt against the purchase order, updating quantities received
  • A receipt becomes an expense entry coded to the right cost centre or job

The record is a draft. Nobody pays a supplier, updates stock or posts a journal without a person approving it first.

6. Exceptions: what does not match

Not every document sails through. The exception list is where a person spends their time. It is a much shorter list than processing every document by hand.

Common exceptions:

  • The supplier is not in the system yet
  • The PO number on the invoice does not match any open PO
  • Quantities or prices do not match the order
  • The AI could not read part of the document (a smudged photo, bad handwriting)
  • The invoice is a possible duplicate

The person sees the original document next to the AI's reading and the matched records. They decide what to do: correct and approve, or send it back to the supplier.

7. Audit trail

Every document keeps a link back to the original image or PDF. If someone queries an invoice in six months, you can pull up the original docket photo. You can see what the AI read and who approved it. That matters for BAS, for audits and for settling disputes with suppliers.

Worked example: one docket and one invoice

These are illustrative examples showing how the pipeline works, not a real client.

The delivery docket

For example, a supervisor on a housing site photographs a delivery docket from a concrete supplier. The docket shows the site address, 6 cubic metres of 32 MPa concrete, the truck number, and the driver's signature. The supervisor's phone uploads the photo.

The AI reads the photo and pulls out the supplier, site, product, quantity and date. The pipeline looks up the site in the job system and finds an open purchase order for concrete on that job. The PO says 6 cubic metres of 32 MPa. It matches. A draft goods receipt is created against the PO. The job cost updates to show the concrete has arrived.

The supplier invoice

Two days later, the concrete supplier emails a tax invoice. The AI reads the PDF: same supplier, same date, 6 cubic metres of 32 MPa, the total and GST.

The pipeline matches the invoice to the PO and to the goods receipt from the docket photo. All three agree: ordered, delivered, invoiced. A draft bill is created in the accounting system, coded to the right job. The original docket photo and the invoice PDF are both attached. The accounts person sees it in their approval queue, checks the match, and approves it.

If the invoice had said 7 cubic metres instead of 6, the pipeline would flag the mismatch and put it in the exception list. The accounts person would see the docket (6 m3), the PO (6 m3) and the invoice (7 m3) side by side, and query it with the supplier.

What a person still does

The pipeline handles reading, checking, matching and record creation. A person still:

  • Approves payments and journals. No money moves without a person signing off.
  • Handles exceptions. New suppliers, mismatched quantities, unreadable documents.
  • Decides the coding when it is not obvious. An invoice that could go to two different jobs needs a person.
  • Reviews anything the AI flagged as uncertain. A low-confidence read on a handwritten figure, for example.
  • Sets the rules. Approval limits, which checks to run, what tolerance is acceptable on a price difference.

The goal is not to remove people. It is to move their time from typing to checking and deciding.

Where it fits with your existing systems

A document pipeline sits in front of the systems you already run. It does not replace your accounting system, your job software or your stock system. It changes how information gets into them.

If you use Xero or MYOB for accounts, the draft bills land there. If you use a job system, the goods receipts and job costs land there. If you use a stock system, the received quantities update there. The pipeline talks to your systems through their APIs or file imports.

You do not need to change your accounting software, your approval process or your chart of accounts. You need the systems to accept data in (most current business software can). Your supplier and job records need to be reasonably tidy. If the same supplier exists three times under different names, the matching step will struggle no matter how well the AI reads.

How to tell if it suits your business

A document pipeline makes sense when:

  • Your team spends real time each week typing information from paper or PDFs into your systems
  • The same document gets typed into more than one system (for example, the delivery docket into job costing and the matching invoice into accounts)
  • You handle documents from many different suppliers or sites, so a fixed template for each one is not practical
  • You need an audit trail from the original document through to the record
  • Errors from retyping (wrong quantities, wrong job codes, missed invoices) cause rework or disputes

It may not be the right move if:

  • You only process a handful of documents a week, so the setup cost may not pay for itself
  • Your documents are already electronic and structured (for example, Peppol e-invoices that arrive as data)
  • Your accounting system's built-in bill capture already handles your invoices well enough

If a spreadsheet or a simple capture tool does the job, keep it. Not everything needs a pipeline.

Take our AI fit check to see whether AI document processing suits your situation. Or see our AI document processing service page for more on what we do.

Data safety

Your documents contain supplier details, prices, ABNs and job information. When we build a document pipeline, the AI model processes your documents through a commercial API. Under Anthropic's commercial terms of service, business data sent through the API is not used to train their models (checked December 2026). Documents and extracted data stay within your pipeline and your systems.

If you have specific security or data handling requirements, raise them early. We scope the pipeline to meet them.

Frequently asked questions

Is AI accurate enough to trust with invoices and dockets?

On typed PDF invoices, accuracy is high. Photos of delivery dockets and handwritten notes are harder. The pipeline is built so a person checks anything the AI is not confident about. Nothing posts without approval. You are not trusting the AI blindly. You use it for the first pass and check its work.

What about handwriting on delivery dockets?

Neatly printed numbers and block letters usually read well. Rushed handwriting, smudged ink and photos taken in poor light are less reliable. The pipeline flags low-confidence reads for a person to check. Where handwriting is a constant problem, it may help to move drivers or supervisors to an electronic form on a phone.

Does it replace our accounts system?

No. The pipeline creates draft records in your existing accounting, job or stock system. It does not replace any of them. Think of it as a faster, more reliable front door for getting information into the systems you already use.

How long does it take to set up?

It depends on how many document types you need and how many systems the records go into. A single document type going into one system is a smaller job. Several document types matched across purchasing, delivery and accounts is a bigger one. We scope it after a free initial chat and give a fixed quote.

Can it handle documents from overseas suppliers?

Yes, though layouts, date formats and tax rules vary. The AI model handles many languages and formats. The checking and matching rules need to allow for the differences: no ABN, different tax treatment and foreign currency.

What if we only have a few invoices a week?

If your team handles a small number of documents and the built-in capture in your accounting system does the job, a custom pipeline may not pay for itself. Try the tools you already have first. A pipeline earns its keep when volumes are higher or documents need to reach more than one system.

If your team spends hours each week copying information from dockets, invoices and receipts into your systems, book a free initial chat and we can look at what a pipeline would involve for your business.

Related Articles