Templates / Upload invoices via form and extract, validate, dedupe, and log to ledger

Upload invoices via form and extract, validate, dedupe, and log to ledger

Ready for 3.0

by Invoice Ledger · 0 views · created 2026-10-21 · Invoice Processing, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 11 nodes and runs when someone submits an n8n form (“Invoice intake”). It uses only n8n's built-in nodes.

How it runs

Trigger: When someone submits an n8n form (“Invoice intake”).

  1. Set Ledger Options (Edit Fields (Set)): sets 3 fields: dateOrder, defaultCurrency, nearDuplicateWindowDays
  2. Create Ledger Table If Missing (Data table): create (table)
  3. Read Existing Ledger Rows (Data table): get (row)
  4. Split Uploaded Files (Code): runs custom JavaScript code
  5. Extract Text From PDF (Extract from File): extracts data from a file (pdf)
  6. Parse And Classify (Code): runs custom JavaScript code
  7. Has New Invoices? (If): checks a condition and branches into true / false
  8. Add New Rows To Ledger (Data table): insert (row)
  9. Write Summary (Code): runs custom JavaScript code
  10. Show The Summary (n8n Form): shows the next form page

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

From the author

Quick overview This workflow lets you upload a single PDF invoice via an n8n Form, extracts the PDF text, parses common invoice fields (supplier, dates, totals, VAT, currency) using built-in code logic, and returns the detected fields and checks as a JSON…

Excerpt from Invoice Ledger's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.