Back to all posts
Workflow Automation7 min read·November 15, 2026

How to Get Purchase Invoices Ready for Your Accountant With AI

TB
ThynkBlox AI Team
AI Engineering

How do you organise purchase invoices for GST filing with AI?

Organise purchase invoices for GST filing by setting up one folder per month and using document extraction to read the key fields from each invoice. Use those fields to rename every file to a consistent pattern and file it in the right month. Then give your accountant a short list of invoices with missing or doubtful fields. The automation does the sorting and checking. Your accountant still decides how each invoice is treated for tax.

This post covers only the preparation work. It does not cover GST rules, input credit eligibility, filing deadlines or tax advice. Your CA and the official GST portal are the right sources for those.

What should the finished monthly folder look like?

Your accountant should be able to open a month and find every purchase invoice, named the same way, plus one summary file. A workable layout:

  • One folder per month, named by year and month so folders sort in order.
  • Files renamed to a pattern such as supplier-name_invoice-number_invoice-date.pdf.
  • A summary sheet with one row per invoice, listing the extracted fields.
  • A missing-field list naming each invoice that needs attention and what is missing.
  • A "not an invoice" subfolder for quotes, delivery notes, statements and duplicates the process set aside.

Keep the original files unchanged and store the renamed copies alongside them, or keep a mapping from new name to original name. If a renamed file is ever questioned, the source must be traceable.

Which fields should the extraction capture?

Capture the fields your accountant actually asks for, and no more. Agree the list with them before you start, because their working practice decides what matters. A typical starting set:

FieldWhy it is capturedCheck applied
Supplier nameFile naming and sortingMatches a known supplier, or flagged as new
Supplier GSTINYour accountant's recordsPresent and in the expected format
Invoice numberFile naming, duplicate detectionPresent; not already seen for this supplier
Invoice dateDecides the monthly folderA valid date; flagged if outside the month being prepared
Buyer name and GSTINConfirms the invoice is addressed to your businessMatches your own registered details
Taxable valueSummary sheetPresent and numeric
Tax amounts shownSummary sheetPresent as printed; not calculated or corrected
Invoice totalSummary sheetTaxable value plus tax shown equals the total, within rounding
Place of supply, if printedYour accountant's reviewRecorded as printed

Note what the checks do not do. They confirm that a field is present, readable and internally consistent. They do not judge whether the tax charged is correct or whether credit can be claimed. Those questions go to your accountant.

If your accountant also wants item-level detail, line tables need their own handling. Extracting PDF line-item tables into an ERP explains how to approach that.

How should exceptions be handled?

Every invoice ends in one of three places: filed cleanly, filed with a note on the missing-field list, or set aside as not an invoice. Nothing should disappear quietly.

Define the routing in advance:

  • Field missing on the document. File the invoice and list the missing field. Your accountant may need to ask the supplier for a corrected invoice.
  • Field present but extracted with low confidence. Send it to a person to confirm before filing. Setting confidence thresholds for AI document extraction covers how to decide where that line sits for each field.
  • Possible duplicate. Same supplier and invoice number as a file already processed. Hold the second copy in the set-aside folder and list it. Do not delete it.
  • Date outside the month. File it by invoice date and flag it, so your accountant sees late-arriving invoices.
  • Buyer details do not match your business. Flag it. The invoice may be addressed to a related entity or contain an error.
  • Not an invoice. Quotes, proforma documents, delivery challans and statements go to the set-aside folder with a reason.

If you already run invoice automation for payables, much of this logic overlaps. See AI for accounts payable invoice processing for the wider workflow.

What does a worked batch look like?

The batch below is illustrative. Suppliers, numbers and outcomes are invented to show how the routing works.

Ten files arrive by email and scanned upload during the month:

#File receivedResultAction
1Clean PDF, stationery supplierAll fields capturedRenamed and filed
2Clean PDF, courier serviceAll fields capturedRenamed and filed
3Phone photo of a printed invoiceTotal read with low confidenceSent for review, confirmed, filed
4PDF from a new supplierSupplier not on known listFiled, flagged as new supplier
5PDF with no supplier GSTIN printedField missing on documentFiled, listed as missing GSTIN
6Second copy of file 2, sent againSame supplier and invoice numberSet aside as possible duplicate
7Quotation from a hardware vendorNot an invoiceSet aside with reason
8Invoice dated in the previous monthDate outside current monthFiled by invoice date, flagged as late
9Invoice addressed to a sister companyBuyer details do not matchFiled, flagged for accountant
10Multi-page PDF, totals do not add upArithmetic check failedListed for accountant; figures kept as printed

The missing-field list for this batch would have five entries: files 4, 5, 8, 9 and 10, each with a one-line reason. Files 6 and 7 appear in the set-aside folder with their own reasons. One reviewer confirmed file 3 before filing.

That list is the useful output. Your accountant starts from five specific questions instead of reading ten files.

When does this approach not apply?

It is not a substitute for your accountant's review. A complete, tidy folder can still contain invoices that are treated differently for tax. The process prepares documents and does not classify them.

It fits poorly where invoices arrive mainly as data. If suppliers' invoices already reach your accounting software in a structured form, extracting from PDFs adds little. Reconcile against that data instead.

It also needs readable input. Faded thermal prints and dark phone photos will produce more review items. Scanned document quality for AI extraction covers what to fix at capture.

What mistakes should you avoid?

Correcting supplier figures. If the arithmetic does not add up, record the printed values and flag them. Changing them hides a problem your accountant needs to see.

Deleting duplicates. Set them aside with a reason. A file that looks like a duplicate may be a revised invoice.

Filing by arrival date. Use the invoice date and flag the gap, so late invoices are visible.

Skipping the agreed field list. Ask your accountant what they need first. Capturing extra fields adds review work without helping them.

Treating low confidence as missing. A field that is printed but hard to read needs a person to confirm it. It should not be reported as absent.

What are the common questions?

Does this tell me whether I can claim input credit?

No. The process checks that fields are present, readable and consistent, then files the invoice. Whether credit applies depends on rules that change and on your circumstances. Your CA should decide that, using current guidance from the official GST portal.

What naming pattern works best?

Use one your accountant can sort and search easily. Supplier name, invoice number and invoice date in a fixed order is a simple default. Keep it consistent across every month, and avoid characters that some systems reject, such as slashes, which often appear in invoice numbers.

Who should review the low-confidence fields?

Someone who knows your suppliers and can see the original document, often a person in accounts or administration. They confirm or correct the extracted value before filing. Your accountant then works from the missing-field list rather than checking every invoice.

Can the same setup handle sales invoices?

The folder structure and naming carry over, but the checks differ. For sales invoices you are the issuer, so the buyer and seller checks reverse and the data usually comes from your own billing system. Set those up as a separate flow with their own field list.

Ready when you are

Want to talk this through for your business?

Send us the process you are thinking about. You will hear back from an engineer, not a sales team.