ChatGPT or Claude for accounts payable invoice processing: a prompt, a worked invoice and where it stops
Manoj Tutika · Published 4 August 2026 · Last checked 26 November 2026

Working on this yourself? Talk to Mark, our co-founder. He helps finance teams go AI-native, and accounting firms put the latest AI to work safely and predictably.
Either assistant will do the reading part of accounts payable well. Give ChatGPT or Claude a supplier invoice as a PDF and it returns the supplier, the invoice number, the dates, every line and the totals, checks the sums and suggests which accounts to use. That is where it ends. Processing an invoice also means checking it against what is already in your ledger, getting it approved, posting it and keeping the document with the entry, and a chat window does none of those.
This guide gives you a prompt that works in both assistants, one invoice worked through to its journal with every amount checked, and a table of the accounts payable steps that stay out of reach. The product facts come from OpenAI's and Anthropic's own pages and the VAT rules from GOV.UK, all read on 26 November 2026.
If your question is really who gets through the invoice pile every day, that is work for an agent inside the ledger. Thred's agents do it in Exact Online, Xero and Moneybird, and Mark Holleman, co-founder, will show it on your own supplier bills in a demo.
What can ChatGPT and Claude do with a supplier invoice today?
Both read the document, both can work through a spreadsheet of invoices with code, and both can be linked to an accounting system. The table sets out what each vendor says about its own product. We make no claim that one reads invoices more accurately than the other, because neither vendor publishes a figure for it. Run the same ten invoices of your own through both and compare.
| What you want to do | ChatGPT | Claude |
|---|---|---|
| Read an invoice PDF | Analyses both text and images in PDFs | Analyses text and visual elements in PDFs of 100 pages or fewer, and text only from 101 to 1,000 pages |
| Upload a batch | Up to 80 files every 3 hours, and 3 uploads a day on the Free plan | Up to 20 files per chat |
| Work through a spreadsheet of invoices | Writes and runs Python on .xlsx and .csv uploads | Runs code and creates Excel files, once code execution and file creation are switched on |
| Read your Xero data | Xero's app connects with read-only access | Xero's connector connects with read-only access |
| Add your own connection that can write | Custom MCP servers with write actions on Business, Enterprise and Edu, where ChatGPT may ask for confirmation before it writes | Custom connectors on every plan, where Team and Enterprise owners set each tool to always allow, needs approval or blocked |
| Training on what you upload | On by default on personal Free, Plus and Pro workspaces until you switch it off. Off by default for Business, Enterprise and the API | A setting you choose on Free, Pro and Max. Off by default for Team, Enterprise and the API |
| The vendor's own caution | Use ChatGPT as a first draft, not a final source | Users should not rely on Claude as a singular source of truth |
OpenAI also publishes a help article on accounting work that lists preparing invoice and receipt entries as a task, through an Accounting plugin with partner apps. Its own advice there is to compare the proposed entries with the original invoices, and to check dates, currency, fees and possible duplicates before approving anything. That is a fair summary of how to treat either assistant.
What prompt gets a usable result from an invoice PDF?
Attach three things with the invoice, namely your chart of accounts with codes and names, the VAT codes you use, and any coding rule you already follow for this supplier. Without the chart of accounts the assistant makes up account names that sound right and do not exist in your ledger. Then ask for the following, in this order.
- Extract the supplier name, address and VAT number, the invoice number, invoice date, tax point and due date, the currency, each line with quantity, unit price, net amount and VAT rate, and the net, VAT and gross totals.
- Recalculate every line and every total yourself, and list each place where your figure and the figure on the invoice differ by a penny or more.
- Check the document against the details a full UK VAT invoice must show and name anything that is missing.
- Propose one account from the attached chart of accounts for each line. Do not invent accounts. Where two accounts fit, name both and ask me.
- Present the result as a journal with debit and credit columns that add up to the same total, followed by a list of every assumption you made.
- Where a field cannot be read with certainty, write unreadable instead of your best guess.
The last line does the most work. A language model fills a gap with something plausible unless you tell it not to, and a plausible invoice number is worse than a blank one. Save the prompt as the instructions of a project, which both products offer, so that every invoice gets the same treatment.
What does the output look like on a real invoice?
Take an invoice from an IT supplier, number 20418, dated 31 July 2026 and due on 30 August 2026, addressed to a UK company that is registered for VAT.
| Line | Quantity | Unit price | Net amount |
|---|---|---|---|
| Managed laptop support, July | 12 users | £42.00 | £504.00 |
| Docking station | 2 | £118.00 | £236.00 |
| On-site visit, 22 July | 1 | £160.00 | £160.00 |
| Net total | £900.00 | ||
| VAT at 20% | £180.00 | ||
| Invoice total | £1,080.00 |
The arithmetic holds. Twelve users at £42.00 is £504.00, two docking stations at £118.00 is £236.00, and with the visit the net total is £900.00. VAT at the standard rate of 20% is £180.00 and the invoice total is £1,080.00. A good answer says so line by line instead of stating that the invoice looks correct.
| Account | Debit | Credit |
|---|---|---|
| IT support and software | £664.00 | |
| Computer equipment, expensed | £236.00 | |
| VAT on purchases | £180.00 | |
| Trade creditors, the IT supplier | £1,080.00 | |
| Total | £1,080.00 | £1,080.00 |
Two assumptions sit inside that journal, and the assistant should state both. The visit of £160.00 is grouped with the support fee, which gives £664.00. The docking stations are treated as an expense because £118.00 each is below the limit above which this company capitalises equipment. That limit is the company's own policy, so the assistant can only apply it if you gave it. If you did not, the right behaviour is a question, not a choice.
Which accounts payable steps can an assistant not do from a PDF?
Reading the invoice is one step of seven. The others need your ledger, your people or your bank, and an uploaded PDF contains none of them.
| Step | What the step needs | From an uploaded PDF |
|---|---|---|
| Read and code the invoice | The document, your chart of accounts and your rules | Yes, as a proposal you check |
| Duplicate check | Every invoice already posted for that supplier | No. Only against a list you paste in, and only that list |
| Changed bank details | The supplier record and its history | No |
| Match to order and delivery | Your purchase order plus proof of delivery | Only if you upload both, one invoice at a time |
| Approval | The budget holder, with limits per person | No. It can draft the request |
| Posting | Write access to the ledger | No. Only through a connection that supports entering records, and then the checks are yours |
| Keeping the record | The invoice stored with the entry for the retention period | No. A chat history is not your accounting record |
The duplicate check is the one teams underestimate. An assistant that sees one PDF has no way of knowing that the same invoice arrived by post three weeks ago and was paid. The same goes for a supplier whose sort code has just changed, which is the detail that matters most for payment fraud.
What must a UK VAT invoice show, and can the assistant check it?
Yes, and it is one of the better uses, because it is a reading task with a fixed list. HMRC's VAT guide says a VAT invoice must show the following.
- A sequential number that uniquely identifies the document.
- The time of supply, also called the tax point, and the date of issue where that is different.
- Who supplied it, with name, address and VAT registration number.
- Who the customer is, with name and address.
- A description sufficient to identify the goods or services.
- For each description, the quantity or extent, the rate of VAT and the amount payable excluding VAT, with the unit price.
- The total before VAT, any cash discount rate on offer, and the total VAT charged, which has to be given in sterling.
A simplified invoice with less detail is allowed where the supply is £250 or less. The check matters because of what GOV.UK says about reclaiming. You must have valid VAT invoices, and you cannot reclaim VAT using an invalid invoice, a pro-forma invoice, a statement or a delivery note. An assistant that reads a pro forma will happily extract the VAT amount from it unless your prompt tells it to say what kind of document it is looking at.
Where do ChatGPT and Claude go wrong on invoices?
Mostly where the right answer depends on something that is not printed on the invoice. Watch for these five.
- Coding without context. With no chart of accounts attached, the account names are guesses. With one attached, the choice between two reasonable accounts is still yours.
- VAT treatment. An assistant sees the rate printed on the invoice. Whether that rate is right for the supply, and whether you may reclaim all of it, depends on facts about your business that are not on the page.
- Scans and photos. Both vendors say their assistant can be wrong and that important information should be checked. On a skewed photo of a till receipt, a 3 and an 8 are easy to confuse, which is why the prompt asks for unreadable.
- Consistency. Without saved instructions, the same supplier can land on two different accounts in two chats. A ledger rule does not have moods.
- Statements and reminders. A supplier statement lists invoices you may already have posted. Tell the assistant to identify the document type before it extracts anything.
When is a chat assistant enough, and when do you need more?
It is enough when invoices are few and you would have keyed them by hand anyway, or for the odd one out, such as an invoice in another language, a long utilities bill you want summarised by site, or a contract you want checked against what the supplier billed. It stops being enough once invoices arrive daily. Each one still has to be uploaded, prompted, checked and typed into the ledger by a person, so the work has changed shape without getting smaller.
For the tools that sit on the ledger, read AP automation for Xero, which compares bill capture, approval add-ons and agents, and procure-to-pay automation for the whole chain from order to payment. How the assistants compare on wider finance work is covered in Copilot vs Claude for finance and ChatGPT vs Gemini for accounting. If the journal is what you are after, see can ChatGPT or Claude prepare journal entries.
Is it safe to upload supplier invoices to ChatGPT or Claude?
Use a business plan and check the settings first. Invoices carry bank details, and invoices from sole traders carry personal data. On personal ChatGPT plans, sharing your chats for model training is on until you turn it off, and on Claude's consumer plans it depends on your privacy setting. Both vendors say that data from their business plans and their APIs is not used for training by default. Connecting an assistant to the ledger itself raises further questions about scopes and write access, which we cover in is it safe to connect ChatGPT or Claude to your accounting.
How does Thred handle supplier invoices inside the ledger?
Thred starts where the chat assistant stops, inside the ledger. In Exact Online the agent finds the supplier, picks the general ledger account and the VAT code, attaches the document and prepares the purchase entry. Because it reads the purchase ledger, you can ask it whether that invoice number is already booked for the supplier before anything is posted.
Unless you decide otherwise, each entry is put in front of you as a card showing the supplier, the accounts, the amounts and the VAT codes, and it only goes into the ledger after you accept it. Once a kind of invoice keeps coming out right, a fixed monthly supplier for example, you can release that kind. The agent then handles it without asking, inside the rule you set, and the activity log shows for each entry whether a person or a rule approved it. If you use Thred's bill approval, an invoice that has been approved there can go into Exact Online as an entry. Thred never makes or releases a payment.
Thred runs on three ledgers today, Exact Online, Xero and Moneybird, so if your purchase ledger lives somewhere else, talk to us. To see the proposals on your own supplier invoices, book a demo with Mark Holleman.
How do you try this on your own invoices?
Start with the prompt above and ten real invoices, including one credit note and one from abroad, and count how many journals you would have posted unchanged. Then bring the same ten to a call. Mark Holleman, co-founder of Thred, connects your administration and lets the agent prepare them as entries, so you can compare the two results side by side. Book a demo. If you would sooner read than talk, Thred with Exact Online sets out what the agent posts and what stays with you.
Frequently asked questions
Can ChatGPT process invoices?
It can read an invoice, extract the fields, check the arithmetic and propose a journal. It cannot check your ledger for duplicates, route the invoice for approval, post it or store it as your accounting record. OpenAI's own guidance is to compare proposed entries with the original invoices before approving them.
Is Claude or ChatGPT better at reading invoices?
Neither vendor publishes an accuracy figure for invoices, so there is no honest general answer. Both analyse text and images in PDFs. The practical differences are in upload limits, plans and connectors. Test both on ten of your own invoices with the same prompt.
Can ChatGPT or Claude post a bill to Xero?
Not through Xero's own listings. Both the Xero app for ChatGPT and the Xero connector for Claude state that they connect with read-only access (checked on 26 November 2026). A custom connection with write tools is possible on some plans, and then approval and logging are yours to set up.
Can I reclaim VAT on the basis of what the assistant extracted?
The extraction is not the evidence. GOV.UK says you must have valid VAT invoices and cannot reclaim VAT using an invalid invoice, a pro-forma invoice, a statement or a delivery note. Keep the invoice itself with your VAT records for at least 6 years.
How can finance teams see why an AI agent coded or approved an invoice?
Ask for two things. The proposal should show the account, the VAT code and the document it was based on before anything is posted. The log should show afterwards who approved the entry, or that a rule did. In Thred the approval card shows the supplier, accounts, amounts and VAT codes, and the activity log records whether a person or a rule approved the write.
Is it safe to upload invoices to ChatGPT or Claude?
Use a business plan. OpenAI and Anthropic both state that business and API data is not used for training by default, while personal plans depend on a setting. Invoices contain bank details and sometimes personal data, so agree inside the team which plan and which settings are allowed.
Sources
- OpenAI Help Center, File uploads FAQ (checked on 26 November 2026)
- OpenAI Help Center, Data analysis with ChatGPT (checked on 26 November 2026)
- OpenAI Help Center, Using ChatGPT for accounting work (checked on 26 November 2026)
- OpenAI, Xero plugin for ChatGPT (checked on 26 November 2026)
- OpenAI Help Center, Developer mode and MCP apps in ChatGPT (checked on 26 November 2026)
- OpenAI Help Center, Data controls FAQ (checked on 26 November 2026)
- OpenAI, Enterprise privacy (checked on 26 November 2026)
- OpenAI Help Center, Does ChatGPT tell the truth? (checked on 26 November 2026)
- Claude Help Center, What kinds of documents can I upload to Claude? (checked on 26 November 2026)
- Claude Help Center, Create and edit files with Claude (checked on 26 November 2026)
- Claude, Xero connector (checked on 26 November 2026)
- Claude Help Center, Use connectors to extend Claude's capabilities (checked on 26 November 2026)
- Anthropic, Updates to our consumer terms and privacy policy (checked on 26 November 2026)
- Claude Help Center, Get started with custom connectors using remote MCP (checked on 26 November 2026)
- Anthropic Privacy Center, Is my data used for model training? (checked on 26 November 2026)
- Claude Help Center, Claude is providing incorrect or misleading responses (checked on 26 November 2026)
- GOV.UK, VAT guide (VAT Notice 700), section 16 on VAT invoices (checked on 26 November 2026)
- GOV.UK, Keeping VAT records (checked on 26 November 2026)
- GOV.UK, Reclaim VAT on business expenses (checked on 26 November 2026)
- GOV.UK, VAT rates (checked on 26 November 2026)
Read next
- Xero AP automation: accounts payable tools, the bill-to-payment flow and what AI agents take over
- Procure to pay automation: from purchase invoice to payment
- Can ChatGPT do bookkeeping? What it can do, where it stops, and what does the work instead
- Connecting Claude or ChatGPT to your accounting system: what is safe
- Copilot vs Claude for finance: a factual comparison for finance teams, and when each is better
- Can ChatGPT or Claude prepare journal entries? A prompt, three checked journals and the review they need
Where Thred comes in
Finance agents running on top of your existing ledger. You set the rules, approve the work and handle the exceptions. No migration.
