Create and validate ZUGFeRD and Factur-X e-invoices with pdfRest
UnknownWhat this workflow does
This workflow has 35 nodes and runs when someone submits an n8n form (“Create or validate an e-invoice”). Along the way it connects Pdfrest (community).
How it runs
Trigger: When someone submits an n8n form (“Create or validate an e-invoice”).
- Check invoice submission (Code): runs custom JavaScript code
- Submission valid? (If): checks a condition and branches into true / false
- Identify failure - Check invoice submission (Code): runs custom JavaScript code
- Validate existing invoice? (If): checks a condition and branches into true / false
- Explain upload correction (Code): runs custom JavaScript code
- Explain service failure (Code): runs custom JavaScript code
- Validate uploaded invoice (Pdf Rest): validate zugferd
- Existing visual PDF? (If): checks a condition and branches into true / false
- Upload needs correction (n8n Form): shows the next form page
- Processing could not finish (n8n Form): shows the next form page
…plus 24 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @pdfrest/n8n-nodes-pdfrest is verified or supports 3.0 (used in Validate uploaded invoice, Pair XML and visual PDF, Validate generated invoice).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - n8n Form
n8n-nodes-base.form - If
n8n-nodes-base.if - Pdf Rest
@pdfrest/n8n-nodes-pdfrest.pdfRest - Compression
n8n-nodes-base.compression - Stop and Error
n8n-nodes-base.stopAndError
From the author
Quick overview Automate ZUGFeRD/Factur-X invoice creation and validation with little or no code using pdfRest. Collect files through an n8n form, review eligible invoices, approve or hold them, and download the PDF with its validation and review record.…