Extract invoice line items with Funwords document API and VIES VAT check
Ready for 3.0Ready 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.
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”).
- Settings (Edit Fields (Set)): sets 2 fields: apiBase, fields
- Read invoice fields (HTTP Request): calls an HTTP API (POST)
- Supplier VAT number found? (If): checks a condition and branches into true / false
- Check VAT number in VIES (HTTP Request): calls an HTTP API
- Invoice without VAT number (Edit Fields (Set)): sets 15 fields: supplier_name, supplier_vat_number, invoice_number…
- Invoice with VAT check (Edit Fields (Set)): sets 15 fields: supplier_name, supplier_vat_number, invoice_number…
- One row per line item (Code): runs custom JavaScript code
- 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)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Convert to File
n8n-nodes-base.convertToFile
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…