Automation
n8n + IA · Flow 03 · Business

Intelligent invoice processing

Invoices are read, validated, and recorded on their own; people only approve exceptions.

Client: Cumbre Alimentos · fictitious, simulated data
GmailAnthropic ClaudeGoogle SheetsGoogle DriveSlack
Intelligent invoice processing

The problem

Accounting types in dozens of PDF invoices a day by hand. VAT errors or mismatches against the purchase order are found late, at payment or month-end close.

Time−90% manual entry
Control100% checked vs. PO
ErrorsVAT errors before payment

The real flow in n8n

Captured from the editor. Click to enlarge.

Step by step

  1. 1Detects new emails with a PDF invoice.
  2. 2Converts the PDF to text.
  3. 3 IAAI: extracts supplier, tax ID, number, date, PO, subtotal, VAT, and total.
  4. 4Checks VAT is 19% and the totals add up.
  5. 5Matches it against the approved purchase order.
  6. 6Correct invoice: recorded, filed in Drive, and accounting is notified.
  7. 7Mismatched invoice: asks a person to approve and logs the decision.

Built and tested in self-hosted n8n, with Anthropic Claude. Sensitive decisions go through human approval.

Automation

More prototypes from this service

Ready to turn your data into smart decisions?

We build this kind of solution with your own data. Let’s start with a free 30-minute call.

Book a free call

SUBSCRIBE TO OUR NEWSLETTER

© 2026 Madriguera de DatosLinkedIn