AI Invoice Automation
Supplier invoices arrive by email as PDFs: scanned, multi-invoice, in other languages, or not invoices at all. Typing them into a ledger by hand is slow and error-prone.
- What it does
- A 24-node n8n workflow sends each PDF straight to Claude for structured extraction, validates the result, blocks duplicates, archives the original and writes the ledger.
- Guardrails
- Classifies every document as invoice, not invoice or uncertain before anything is written
- Never uses a subtotal or early-payment discount as the total; never invents missing fields
- A payment reminder keeps the original invoice number, so it is caught as a duplicate, not paid twice
- Every file ends as Accepted, Duplicate, Exception or Failed, then one summary email per run
- Tested
- 41 of 44 records exactly right across 4 runs of a 10-PDF test pack (a scanned invoice, a German EUR invoice, two invoices in one PDF, a payment reminder and a delivery note), scored field by field against answers written before the run. The reminder was caught as a duplicate and the delivery note rejected every time. The only miss: a vendor written with its legal suffix (“Inc.”), which showed the duplicate key needs normalised vendor names.
Demo run on the 10-PDF test pack · sample invoices, no client data