Templates / Extract invoice line items with Funwords document API and VIES VAT check

Extract invoice line items with Funwords document API and VIES VAT check

Ready for 3.0

by Mårten Fitz · 2 views · created 2026-11-14 · 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 9 nodes and runs when someone submits an n8n form (“Upload an invoice”). It uses only n8n's built-in nodes.

How it runs

Trigger: When someone submits an n8n form (“Upload an invoice”).

  1. Settings (Edit Fields (Set)): sets 2 fields: apiBase, fields
  2. Read invoice fields (HTTP Request): calls an HTTP API (POST)
  3. Supplier VAT number found? (If): checks a condition and branches into true / false
  4. Check VAT number in VIES (HTTP Request): calls an HTTP API
  5. Invoice without VAT number (Edit Fields (Set)): sets 15 fields: supplier_name, supplier_vat_number, invoice_number…
  6. Invoice with VAT check (Edit Fields (Set)): sets 15 fields: supplier_name, supplier_vat_number, invoice_number…
  7. One row per line item (Code): runs custom JavaScript code
  8. Rows as a CSV file (Convert to File): converts data to a file (csv)

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.

Nodes used (6)

From the author

Quick overview This workflow lets users upload an invoice PDF, scan, or photo via an n8n form, extracts header fields and line items using tools.funwords.eu, optionally validates the supplier’s EU VAT number via VIES, and outputs one record per line item plus…

Excerpt from Mårten Fitz'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.