AI OCR for Invoices: Handle Low-Quality Scans

AI OCR for invoices with low-quality scans: confidence thresholds, a human review queue, GST tax invoice checks and a field-level acceptance gate.

10 min read
Two hands laying a stack of paper onto a white desktop printer beside a small wooden table

AI OCR for invoices works well on clean PDFs and fails quietly on poor scans: a faded fax, a phone photo taken at an angle, a stamp across the total. This guide is for Australian product owners and development leads who want accounts payable to accept good documents automatically, send doubtful ones to a person and never let a misread amount reach the ledger.

It complements our guide to an AI chatbot for a business website, where the same habit of a hard spending limit applies. The subject here is documents that arrive in bad condition.

Key Takeaways

  • Reading the text and extracting the fields are two stages, and each has its own confidence, so check both.
  • Set confidence thresholds per field from the cost of a wrong value, using a labelled sample of your own worst scans.
  • A missing GST detail may be a bad scan or an invalid invoice, so both go to a person.
  • Keep the original scan unchanged and store extracted values, confidence and reviewer edits beside it.

Why Low-Quality Scans Break AI OCR for Invoices

Poor images fail in predictable ways: digits are misread, lines are dropped or merged, a stamp hides the total, and a second page is never linked to the first. None of these produces an error message. They produce a confident-looking number that is wrong.

Microsoft's documentation on accuracy and confidence scores makes a useful distinction. The confidence of the text read does not change the confidence of the field extraction, so you should check both. It advises improving input quality when read confidence is low, and notes that not every field returns a confidence score. Your design has to handle fields with no score as well.

Decision Inputs to Settle First

  • File source: emailed PDFs, flatbed scans, phone photos and faxes fail differently, so label each file by source.
  • Cost of a wrong value: a wrong description is a nuisance, while a wrong total or bank account is a payment error.
  • Data boundary: decide who processes the files and how long anyone keeps them.

Confidence Thresholds and the Human Review Queue

The same page explains that field confidence is an estimated probability that a prediction is correct, and that it can decide whether to accept a value automatically or flag it for human review. The skill is in where you set the line for each field.

  1. Triage the image first. Check for blur, skew, low contrast and cropping before extraction, and return unreadable files to the sender for resubmission.
  2. Extract with scores. Keep the read confidence and the field confidence for every value.
  3. Combine the two. Use the weaker of the read and field scores, so a clean field on a smudged line does not pass.
  4. Apply a threshold per field. Set the strictest lines for the total, GST amount, ABN and bank details, and the loosest for free-text descriptions.
  5. Run plain checks. Compare line totals with the invoice total and the GST amount with the taxable lines. Code can do this without a model.
  6. Route the result. Accept it, send it to the review queue with the failed check named, or reject it for resubmission.
  7. Log every decision. Record the file, the scores, the route and who changed what.

Set thresholds from your own labelled sample, not from a number copied from a vendor document.

What the ATO Tax Invoice Rules Mean for Your Checks

The ATO's tax invoices page lists what a tax invoice must show. For a taxable sale under $1,000 it names seven details: that the document is intended to be a tax invoice, the seller's identity, the seller's ABN, the date, a brief description with quantity and price, the GST amount, and the extent to which each sale is taxable. For sales of $1,000 or more, the buyer's identity or ABN is also required. A GST amount of exactly one eleventh of the total can be shown as the statement that the total price includes GST.

The page adds three more points. An invoice with taxable and non-taxable items must clearly show which are taxable. A digital invoice, such as an emailed PDF, is valid if it carries all the required information. And Australia has adopted the Peppol framework for eInvoicing, where an eInvoice issued under the A-NZ Invoice Specification with all mandatory data satisfies the intended-to-be-a-tax-invoice requirement even without the words Tax Invoice.

Turn this into a completeness check: flag any document where a required detail is missing or unreadable. The cause could be the scan or the supplier, and only a person can tell. Do not let the model fill the gap. This is not tax advice, and the ATO suggests asking a registered tax or BAS agent when unsure.

Record Keeping: Keep the Original and the Audit Trail

The ATO's overview of record-keeping rules for business says relevant information in records must not be changed and must be stored so it is protected from change or damage. It also says you need to be able to reconstruct your original data if your record-keeping system changes, keep most records for five years, and keep information about routine procedures for destroying digital records.

The ATO's GST records page lists tax invoices among the records to keep for five years from when they were prepared or obtained, or when the related transactions were completed, whichever is later. Store the original scan untouched, keep any straightened or brightened copy separately as a working file, and write extracted values, scores and reviewer edits to a separate layer so nothing overwrites the source.

Privacy and Data Boundaries for Invoice Files

Invoices carry names, addresses and sometimes bank details for sole traders. The OAIC's guidance on commercially available AI products says privacy obligations apply to personal information put into an AI system and to output that contains it. It recommends due diligence on whether a product has been tested for your use, how human oversight is built in, the privacy and security risks, and who can access the data, and it says review should be regular, not set and forget.

In practice, write down which provider sees the files, how long they keep them and who can retrieve them. If files must stay inside your network, our guide to local LLM for business covers what a model on your own hardware can do and where it falls short. Take legal advice for your sector.

A Field-Level Acceptance Gate

The gate decides whether the pipeline may accept values without a person, using measurable conditions and no borrowed benchmark:

  • Labelled sample by source: include poor scans in the proportion you actually receive them, labelled from the original file.
  • Pass mark per field: agree each one with finance before the first run, strictest on total, GST, ABN and bank details.
  • Wrong values accepted: measure these separately from the share sent to review. A wrong accepted total is the failure that matters.
  • Review capacity: the queue must stay within the time the review owner can give.
  • Stop condition: any wrong bank account reaching a payment run fails the gate.
  • Reruns: repeat the sample after a new scanner, a model update or a change in a major supplier's layout.

Cost Controls Without Guesswork

Reject unreadable images in the triage step so you never pay to extract them, cap retries and pages per document, and set a monthly budget limit at the model gateway so that requests stop when the money is spent. Track cost per accepted invoice, including review time, rather than cost per page.

9Byte's AI-powered platform options page describes rules-based automated workflows and agentic automation with a human in the loop where it matters, which is the pattern this article applies to invoices. For the wider extract, check and route pipeline, see our guide to AI document processing.

A Worked Example From Accounts Payable

Consider a made-up distributor that receives supplier invoices as emailed PDFs and as photos taken by drivers on their phones. A month of files labelled by source shows that most review items come from the phone photos, usually from shadows and cropped edges. Fixing the image at the source costs less than correcting the field later, so the team adds a retake prompt at the capture screen.

Related Resources

Straight Answers on Invoice OCR and Poor Scans

1. What Makes a Scan Too Poor for AI OCR?

A scan is too poor when a key field such as the total or ABN cannot be read with confidence by the model or a person. Return the file for resubmission.

2. Do We Keep the Original Scan or Only the Extracted Data?

Keep the original unchanged. The ATO says relevant information in records must not be changed and that you must be able to reconstruct original data if your system changes.

3. Does Every Invoice Need the Words Tax Invoice?

Not always. The ATO says an eInvoice issued under the A-NZ Invoice Specification with all mandatory data meets the intended-to-be-a-tax-invoice requirement without those words.

4. How Do We Set Confidence Thresholds?

Set them per field from a labelled sample of your own files, strictest where a wrong value costs most. Microsoft notes that confidence can decide between automatic acceptance and human review.

5. Can We Send Invoices With Personal Information to an AI Provider?

Privacy obligations apply to personal information put into an AI system, according to the OAIC. Do the due diligence it describes, minimise what you send and take legal advice.

Fix the Scan Before Trusting the Field

Collect the poorest scans from last month's payables folder, label the amounts and ABNs by hand, and let that sample set the thresholds, the review capacity and the gate before any invoice is accepted automatically.

Ready to build what is next?

Talk to our Melbourne engineering team about modernising your systems or shipping your next product.