Templates / Generate EN 16931, XRechnung, and Factur-X e-invoices with PDF Generator API

Generate EN 16931, XRechnung, and Factur-X e-invoices with PDF Generator API

Ready for 3.0

by Marián Današ ✓ · 28 views · created 2026-09-16 · Invoice Processing

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-10-19.

What this workflow does

This workflow has 14 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls us1.pdfgeneratorapi.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Prepare Sample Invoice (Edit Fields (Set)): sets or maps fields
  2. Fetch E-Invoice Schema (HTTP Request): calls us1.pdfgeneratorapi.com
  3. Prepare Webhook Invoice (Edit Fields (Set)): sets or maps fields
  4. Set Invoice Parameters (Edit Fields (Set)): sets 3 fields: template_id, default_format, facturx_profile
  5. Map to UBL Invoice Format (Code): runs custom JavaScript code
  6. Route by Invoice Format (Switch): routes items into 3 branches
  7. Post to Factur-X Endpoint (HTTP Request): calls us1.pdfgeneratorapi.com (POST)
  8. Post to XRechnung Endpoint (HTTP Request): calls us1.pdfgeneratorapi.com (POST)
  9. Post to EN 16931 Endpoint (HTTP Request): calls us1.pdfgeneratorapi.com (POST)
  10. Parse API Response (Code): runs custom JavaScript code

…plus 1 more step. See the full node list below.

HTTP calls to: us1.pdfgeneratorapi.com

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 (8)

From the author

Quick overview This workflow converts invoice JSON into compliant e-invoices (EN 16931, XRechnung, or Factur-X) by mapping your data to Peppol BIS Billing 3.0 UBL and generating the final XML or PDF/A-3 using PDF Generator API. How it works 1. Triggers either…

Excerpt from Marián Današ'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.