Skip to content

AI explained in plain English. Read the latest articles

Automation Intermediate

Invoice Processing with AI: PDF to Excel Automatically

Every month, typing invoices by hand takes time. Here’s how AI can pull data from a PDF, what you still need to check, and what the tax office requires.

Invoice processing with AI: an entrepreneur checks scanned invoices and a spreadsheet on a laptop

Invoice Processing with AI: PDF to Excel Automatically

Invoice processing with AI suddenly sounds appealing when it is the end of the month, you have 23 PDFs in your inbox and you are typing everything out one by one. An AI model can read fields in an invoice, such as supplier, date, invoice number, VAT and total amount.

Even so, one rule still matters: you remain responsible for your accounts. In this article, you will see how the process works, what to watch out for and how to build a simple version with a folder, an AI step and a spreadsheet. This is a practical form of automating with AI.

How does invoice processing with AI work?

A tool spots a new PDF, an AI step reads the text and turns it into fixed fields. After that, a final step writes those fields into a spreadsheet.

The route usually has three parts. First there is a starting point, also called a trigger. That can be a new file in an invoice folder.

Then comes the AI extraction. The tool pulls text from the PDF and asks AI what each part means. Finally, the automation writes the data into Google Sheets or Excel.

  • Trigger: a new invoice PDF arrives in a folder.
  • AI extraction: the text is read and turned into fields such as supplier, invoice date and total.
  • Storage: the fields are added as a new row in a spreadsheet.

There is an important difference here between OCR and AI extraction. OCR recognises text in a scan or image. AI then tries to understand which amount is the total, for example, and which amount is VAT.

An example route is similar to what Zapier describes: new invoice PDFs in a Google Drive folder are detected, an AI step reads the content and then rows are added in Google Sheets. Zapier describes such a route as an example for financial documentation on its own site.

Note: this is one provider’s example. In other tools, the steps and menu names may be different. The idea stays the same: start with a new file, let AI read the invoice and store the fields.

You do not have to link this straight to your bookkeeping. In fact, for a first version, a spreadsheet is often safer. You can then see what AI fills in and correct mistakes easily before anything moves on.

Which tools can you use to read invoices automatically?

You can choose between an automation tool with an AI step, a specialised invoice reader or the scan function in your accounting software. Which option suits you depends on your goal and how much control you want to keep.

If you mainly want to learn and build a route yourself, then an automation tool makes sense. Think of Zapier, Make or n8n. If you mainly want to post invoices quickly, your accounting package may be smarter.

If you already use accounting software with a scan function, check that first. That route often fits your existing records better. Do pay attention to the supplier’s terms and costs, as these can differ by package and may change.

If you are unsure between the general automation tools, also read comparing Zapier, Make or n8n.

Option Suitable for Advantage Watch out for
Automation tool with AI step, such as Zapier, Make or n8n Anyone who wants to build a route from folder to spreadsheet Flexible and easy to test with a small set of invoices You need to set up checks, privacy and storage properly yourself
Specialised invoice reader Anyone who mainly wants to extract invoice fields without building much themselves Focused on invoices and often clearer for this one task Check carefully what happens to your data
Scan function in accounting software Anyone who wants to process invoices directly in the accounts Fits your existing records You still need to check that invoice numbers, VAT and amounts are correct
Manual paste with ChatGPT Anyone who wants to try a few invoices without automation Quick way to test whether AI understands the fields It is still manual work and you need to pay extra attention to privacy

Whichever tool you choose, start small. Test first with a few old invoices. Check whether the fields end up correctly in your sheet and whether the result is easy to review.

What does this cost? That varies by provider and can change. So always check the pricing page and terms of the tool you want to use. Do not treat costs as fixed internally unless you have checked them with the provider yourself.

Invoice processing with AI in 5 steps: how do you build it?

You create a folder, start an automation when new files arrive, let AI read the invoice, place the data in a sheet and then check it. That is how you build a first version without changing your whole accounting process straight away.

The goal is not for AI to handle your bookkeeping on its own. The goal is to reduce typing. You keep control of the result.

  1. Create a fixed folder. For example, use a folder for purchase invoices from this year. Put only invoice PDFs in there that you want to process.
  2. Create an automation with a new file in folder as the trigger. The tool then checks whether a new PDF has arrived.
  3. Add an AI step. Let the tool extract the text from the PDF and ask AI to return fixed fields.
  4. Write the fields to a spreadsheet. Create columns for supplier, invoice date, invoice number, amount excluding VAT, VAT amount, total, VAT rate and check.
  5. Check the result. Set the status to no or unchecked first. Only after your check do you change that status.

Use fixed field names. That keeps your spreadsheet tidy and stops each invoice from coming in slightly differently. Also do not let AI write freely, but ask for a fixed structure.

A useful prompt is this:

JSON is a fixed text format with field names and values. Many automation tools can turn such an output into columns more easily. If you do not fully understand JSON yet, that is fine. The important thing is that the tool gets the same fields for every invoice.

Before you go live, this checklist helps:

  • Test with ten invoices from a previous month.
  • Check that every PDF really stays in your folder.
  • Add a column for status, for example checked.
  • Make a calculation check for amount excluding VAT plus VAT equals total.
  • Read the privacy settings and terms of your tool.

The exact menu names differ by tool. So always follow the help pages of the provider you choose. The idea stays the same: file in, AI extraction, row in your sheet.

Practical example: invoice processing with AI for Marloes

Marloes is an example of what such a simple route can look like. She does not use AI as an accountant, but as help to get PDFs into a spreadsheet faster.

Marloes is a self-employed graphic designer in Utrecht. She receives about 20 purchase invoices a month as PDFs by email. These are, for example, software, printing and office costs.

  1. Create a folder. Marloes creates a folder in Google Drive called Purchase invoices 2026. She saves every invoice PDF she wants to process in that folder.
  2. Start with a new file in the folder. She then creates a route in an automation tool with this trigger: new file in folder. That can be in a tool such as Zapier, Make or n8n.
  3. Add an AI step. That step extracts the text from the PDF and uses this prompt: You are given the text of an invoice. Return only JSON with these fields: supplier, invoice_date (YYYY-MM-DD), invoice_number, amount_excl_vat, vat_amount, total, vat_percentage. If a piece of information is not clearly shown, fill in “unknown” and do not guess. Text: [factuurtekst]
  4. Let a row be added in Google Sheets. The sheet gets columns for supplier, invoice date, invoice number, amount excluding VAT, VAT amount, total and VAT percentage.
  5. Set check to no by default. There is also an extra Checked column, which starts at no by default. Marloes only changes that after she has reviewed the row.

The expected result is simple. Each PDF creates one row in the sheet with six to seven fields. Marloes then reviews those rows at a fixed time.

This example does not prove that every invoice will always work perfectly. Invoices vary a lot. So test with your own invoices, especially if you have scans, credit notes or invoices in another currency.

Here too, the menu names differ by tool. Follow the help pages of the provider you use and check whether your version supports the same steps.

Is it allowed to store invoices digitally and let AI read them?

Yes, scanning and digital storage are allowed under certain conditions. The retention period is 7 years, and 10 years for data about immovable property.

The Dutch tax authority says you may store invoices and receipts digitally if it is an accurate and complete copy of the original. Authentication features must also be stored. The digital records must be available for inspection within a reasonable time according to the Dutch tax authority.

The retention period is 7 years. For data about immovable property, 10 years applies. The Dutch tax authority also says that the 7 years starts when the data is no longer current on a page about retention duty.

So do not just throw away your PDFs because the data is in Excel. A spreadsheet row does not replace the invoice. The spreadsheet is useful for overview, but your records must remain auditable. Keep the original PDFs or a correct and complete digital copy in an organised way.

Also pay attention to privacy. Invoices can contain names, addresses and sometimes other personal data. In that case, the GDPR applies, the privacy law for personal data.

So check whether you need a data processing agreement. Also check whether the data is used to train AI models. Some tools use servers outside the EU, so read what the provider says about that.

If you want to tackle this more broadly, also read using AI safely. Especially with business invoices, it is wise not to upload files to a personal account without thinking.

For Belgian readers, the retention period and rules may be different. Check with the Belgian Federal Public Service Finance and ask your accountant what applies in your situation.

How reliable is AI at reading amounts and VAT?

AI usually performs better with clear PDFs than with messy scans. Even so, errors can happen with scans, credit notes and invoices with multiple VAT rates.

An AI model reads text and then decides which fields belong to it. That often works well when the invoice is neatly laid out. But AI does not understand your accounts the way you do.

A known risk is that AI fills in something that seems logical but is wrong. That is called a hallucination. Read more about that risk in the article about AI hallucinations.

That is why you need to build a check into your process. For example, add an extra column with a calculation check. It compares amount excluding VAT plus VAT with the total.

  • Red flag: the total does not match the sum.
  • Red flag: the invoice number is marked as unknown.
  • Red flag: the VAT amount is missing while VAT is shown on the invoice.
  • Red flag: a credit note is treated as a normal invoice.

Also use a sample check. Review every invoice at the start. As your process becomes more stable, you can move to a fixed weekly check, but keep the status column in place.

A simple Checked column already helps a lot. Set the default value to no. Only after your review do you change it to yes.

Rompslomp, as an accounting provider, points out that you remain responsible for invoice numbers, VAT, retention duty and customer data, even when you use AI in an article about AI and invoices. So use AI as help, not as the final check.

What mistakes do people often make when automating invoices?

The biggest mistakes do not come from the technology, but from too much trust and too little checking. With a few fixed rules, you can avoid a lot of trouble.

See these mistakes as your basic list before you go live. Go through them with every new automation.

  • Blindly trusting the extracted amounts. Solution: add a calculation check column and do a weekly sample check.
  • Letting AI guess when data is missing. Solution: put in your prompt that AI must fill in unknown when something is unclear.
  • Putting invoices with customer data into a free or unclear tool. Solution: check privacy settings, data training and the data processing agreement.
  • Only keeping the extracted result and deleting the original PDF. Solution: store the PDFs in an organised way, because the original or correct digital copy belongs in your records.
  • Leaving out credit notes and invoices in other currencies. Solution: add fields for type, such as invoice or credit note, and currency.

Another tip is to keep your folder tidy. Put only files in there that really need processing. That way you avoid quotes, delivery notes or old test files ending up in your spreadsheet.

What does this mean for you as an employee or entrepreneur?

An employee saves typing work, but should first check what is allowed internally. An entrepreneur can keep records faster, but remains responsible.

If you work for an organisation, ask about the policy for AI tools. Sometimes you may only use approved software. That makes sense, because invoices can contain data from customers, suppliers and staff.

If you are an entrepreneur, you can start small. Put the route alongside your existing way of working. Only when you know the results are easy to check should you use the sheet as a fixed part of your records.

Frequently asked questions

Can ChatGPT read my invoices?

Yes, you can paste or upload text or a PDF. Without automation, though, it remains manual work, and you need to pay close attention to privacy.

Is it safe to put invoices into AI tools?

That depends on the tool and the settings. Check data processing, use for training and whether there is a data processing agreement.

Do I have to keep the original paper invoice?

Not if you meet the Dutch tax authority’s conditions for digital storage. The digital version must be accurate, complete and auditable. Authentication features must also be stored.

How long do I need to keep invoices?

In the Netherlands, it is usually 7 years. For data about immovable property, it is 10 years. The 7 years starts when the data is no longer current.

Is this free?

Prices differ by provider and may change. So always check the website of the provider you want to use.

Can I use this with Excel instead of Google Sheets?

Yes, often you can. It depends on the automation tool and the connections the provider supports. The principle stays the same: read the PDF, create fields and add a row.

The best next step is to start small: take ten invoices from last month, build the route from the practical example and check every result. Only then choose your fixed tool, for example with help from comparing Zapier, Make or n8n.

Was this article helpful?

New articles every day

Follow AIzine and never miss an article

We publish three new articles about AI every day. Follow us on Instagram or Facebook to see them in your feed.