AI automation for businesses: how to stop typing in supplier invoices
Published on

Monday morning at a typical business in Mallorca. The inbox holds PDF invoices, the delivery van brings paper delivery notes, and one supplier sends its invoice as a photo on WhatsApp. Someone in the office opens each one, copies the tax ID, date, net amount, VAT and total into the accounting software, checks them against the purchase order and files them away. It is necessary, repetitive work, and a mistyped figure usually surfaces weeks later.
When people talk about AI automation for businesses, supplier invoices are one of the best tests of whether a project is well designed. Not because it is spectacular, but because it forces you to decide precisely what the machine does, what a fixed rule checks and what a person still decides. Below we follow one invoice from arrival to bookkeeping and look at what is worth automating at each stage.
The life of an invoice
Before choosing any tool, map the real journey. In most small and mid-sized companies in the Balearic Islands it looks like this:
- It arrives by email, through a supplier portal, on paper with the goods or as a phone photo.
- It is identified: which supplier, which invoice number, and whether we have seen it before.
- The data is read: date, net amount, taxes, total, due date and sometimes line items.
- It is matched against the purchase order, the delivery note or the agreed price.
- It is approved, especially when something does not match.
- It is posted and filed in the accounts and the document archive.
- It is paid on the due date, usually through the bank.
AI does not replace this journey. It speeds up steps 2 and 3, helps with step 4 and prepares step 5. Steps 6 and 7 normally stay with fixed rules and a person who signs off.
Who does what: AI, rule or person
Write the split down before anything gets built. This table is a good starting point:
| Task | AI does | A rule checks | A person decides |
|---|---|---|---|
| Recognise the supplier | Reads name and tax ID | Tax ID exists in the supplier list | Adding a new supplier |
| Extract amounts and dates | Reads net, tax, total, due date | Net + tax = total | Fixing an uncertain reading |
| Spot duplicates | Flags possible matches | Same supplier + same number = duplicate | Keep or discard |
| Match the order | Links lines to products | Difference within the agreed margin | Approving a larger difference |
| Suggest the ledger account | Proposes one based on past invoices | Account allowed for that supplier | Validating new cases |
| Pay | Nothing | Due date and stored bank details | Authorising the payment run |
Two details matter. AI reads and suggests, but every suggestion goes through a rule that does not depend on the AI. And the supplier's bank details are never taken from the invoice: they come from the supplier record, which only a person can change. That one decision is a simple guard against fake invoices asking you to pay a different account.
The exceptions are the real project
Reading a clean invoice is the easy part. What makes automation stick, or get quietly abandoned, is how it handles the odd cases. List the ones you already know about:
- Credit notes and corrected invoices that subtract instead of add.
- Invoices with no purchase order, such as utilities, repairs or one-off services.
- Several invoices in one PDF, or one invoice split across several photos.
- Suppliers from the mainland or abroad with freight charges, surcharges or unusual layouts.
- Crooked or badly lit scans, typical of delivery notes that travel in the van.
- Invoices in other languages, common if you buy from foreign suppliers or work with companies in Ibiza and Menorca that use their own templates.
For each exception decide one thing: is it handled by a rule, or does it go to a review queue? What matters is that nothing falls through the cracks. An invoice the AI cannot read must never vanish or be half-posted. It should appear in a list with the reason and the original document next to it.
A hypothetical example: a drinks distributor in Inca
Picture a drinks distributor based in Inca that supplies bars and restaurants across Mallorca and, in summer, Ibiza too. It receives invoices from wineries, soft drink producers, the ferry freight company and several maintenance contractors.
A sensible setup could be:
- One intake point. Every invoice, however it arrives, ends up in one mailbox or folder. Paper ones are photographed with a phone in the warehouse.
- Automatic reading of each document and matching against the purchase orders already in its management software.
- Three outcomes: green (matches the order and the supplier is known, ready to post), amber (no order or a small difference, the office reviews it) and red (new supplier, possible duplicate or figures that do not add up, management reviews it).
- A ten-minute daily review of the amber and red queue instead of typing everything.
In peak season, when purchasing rises, manual work does not rise at the same pace, because people only look at what is not green. And if the system ever fails, the invoices are still in the mailbox, so the team can fall back to the manual routine without losing anything.
Getting started without a huge project
You do not need to automate the whole flow in month one. A practical order:
- Collect one month of real invoices and sort them by supplier, format and type of exception. That sample is your test set.
- Start with the suppliers who send the most invoices. They are usually few and their layouts rarely change.
- Switch on reading only, with nothing posted. For a few weeks the AI suggests and a person compares with what they would have typed.
- Track errors by field. If due dates are often wrong but amounts are right, you know which rules to strengthen.
- Connect to the accounts once suggestions are reliable, always with a log of who approved what.
- Review the exception queue monthly and turn repeat cases into new rules.
Is it worth it for you?
This kind of automation makes sense when several of these are true:
- You receive enough invoices that someone spends hours every week typing them in.
- You already use purchase orders or delivery notes to compare against.
- Your main suppliers are stable and repeat the same layout.
- Typing errors or duplicate payments have already caused you trouble.
If you only get a handful of invoices a month, a tidy inbox and archive is probably enough. And if there are no purchase orders to match against, the first step may not be AI at all but a simple purchasing tool, the kind of thing we build through our custom software development in Palma de Mallorca.
What to ask whoever builds it
If you are commissioning the project, get written answers to these:
- Where are documents stored and who can see them?
- What happens to an invoice the AI does not recognise?
- How is a misread value corrected, and does that correction improve future readings?
- How can the automation be switched off without losing data?
- What record is kept of each approval?
If any answer is vague, clear it up before you start rather than in the middle of a quarterly close.
At Derek Solutions we help companies in Mallorca, Ibiza, Menorca and across the Balearics automate admin processes like this one, with human review wherever it is needed. You can see our approach on our AI automation in Mallorca page. If you would like us to look at how your invoices arrive today and which part is worth automating, email derek@dereksolutions.com or call +34 680 283 973.