german-erechnung

n8n Community Node & AI Agent Tool for German E-Rechnung (EN 16931, KoSIT XRechnung 3.0.2 & DATEV ZUGFeRD 2.5 / Factur-X PDF/A-3b) β€” Deterministic Generate, Embed, Guarded AI Convert, Hybrid Parse & Validate

Package Information

Released: this month
Downloads: 0 weeklyΒ /Β 0 monthly
Latest Version: 1.1.0
Author: FGH Studio

Documentation

n8n-nodes-german-erechnung

n8n Community Node for the German E-Rechnung Compliance API (ZUGFeRD 2.5 / Factur-X 1.09 & XRechnung 3.0.2 / EN 16931) via RapidAPI Hub.

πŸ”‘ Get Your API Key (Free Tier Available)

πŸ‘‰ Subscribe & get your API Key on RapidAPI Hub:
https://rapidapi.com/flamegoalhunter/api/german-e-rechnung-zugferd-and-xrechnung

In n8n, create a new German E-Rechnung RapidAPI credential with:

  • RapidAPI Key: Your personal X-RapidAPI-Key from RapidAPI Hub
  • RapidAPI Host: german-e-rechnung-zugferd-and-xrechnung.p.rapidapi.com (pre-filled by default)
  • Base URL: https://german-e-rechnung-zugferd-and-xrechnung.p.rapidapi.com (pre-filled by default)

πŸš€ Supported Operations

  1. Convert PDF + Data to ZUGFeRD (POST /api/v1/zugferd/embed)
    • Upgrades any regular PDF invoice to an ISO 19005-3 PDF/A-3b hybrid invoice with embedded factur-x.xml, automatic German GiroCode (EPC SEPA QR) payment stamp, ISO 13616 MOD-97 IBAN verification, and 40+ German unit code mappings (Std., Stk., Pauschale, mΒ², etc.).
  2. Magic Convert Plain PDF to ZUGFeRD (AI) (POST /api/v1/zugferd/magic-convert)
    • Takes only a plain PDF invoice (up to 5 pages), extracts EN 16931 fields via Multimodal AI with SHA-256 deduplication, verifies math (BigDecimal) & IBAN MOD-97, stamps a GiroCode QR, and returns a compliant ZUGFeRD 2.5 PDF/A-3b.
  3. Generate Pure XRechnung 3.0.2 XML (POST /api/v1/xrechnung/generate)
    • Generates a pure XRechnung 3.0.2 (EN 16931 CII) XML document with Leitweg-ID support from structured JSON without requiring a PDF.
  4. Parse Incoming E-Rechnung to JSON (POST /api/v1/erechnung/parse)
    • Fulfill German Empfangspflicht by extracting structured JSON (seller, buyer, IBAN, totals, line items) from incoming ZUGFeRD PDFs or XRechnung XMLs.
  5. Validate E-Rechnung (POST /api/v1/erechnung/validate)
    • Official validation against PDF/A-3 conformance (veraPDF), XSD, and EN 16931 KoSIT Schematron rules.

Discussion