See llms.txt for all machine-readable content.

Back to Templates

Process German B2B e-invoices with VIES, XRechnung, DATEV and SEPA GiroCode

Quick overview

Automates Pan-European and German B2B e-invoicing (EN 16931 XRechnung 3.0, Peppol BIS 3.0, Factur-X), real-time EU VIES VAT verification, DATEV Buchungsstapel CSV accounting export (SKR03/SKR04), and SEPA EPC GiroCode QR payment payload generation via webhook.

How it works

  1. Receives inbound B2B invoice JSON data through an HTTP POST webhook endpoint (/inbound-invoice) containing seller, buyer, line items, and IBAN details.
  2. Validates the seller's EU VAT identification number in real time across all 27 EU member states using the /v1/vat/validate EU VIES endpoint.
  3. Generates and validates a legally compliant EN 16931 XML e-invoice (/v1/einvoice/generate) supporting German XRechnung 3.0.2 (xrechnung_3.0), Peppol BIS Billing 3.0 (peppol_bis_3.0), and French/EU Factur-X (facturx_en16931).
  4. Converts the validated e-invoice XML directly into a Steuerberater-ready DATEV Buchungsstapel CSV export (/v1/einvoice/to-datev) with automatic SKR03/SKR04 account and BU-Schlüssel tax key mapping.
  5. Generates an ISO 20022 SEPA EPC GiroCode QR payment payload (/v1/sepa/girocode) with IBAN Mod-97 verification and returns the complete compliance bundle.

Setup

  1. Get your free API key (50 free calls/month) on RapidAPI Hub at https://rapidapi.com/B2BTelemetryAPI/api/eu-e-invoice-xrechnung-peppol-factur-x-sepa-datev or connect directly to https://b2b-telemetry-mcp.codeandfun24.workers.dev.
  2. Set the environment variable EINVOICE_API_URL to https://b2b-telemetry-mcp.codeandfun24.workers.dev and EINVOICE_API_KEY to your API key in your n8n instance settings.
  3. Activate the workflow and copy the production or test webhook URL (/inbound-invoice) from the When Invoice is Received trigger node.
  4. Configure your ERP, CRM, or billing pipeline to POST invoice JSON payloads to the webhook URL, and customize skr_chart (SKR03 or SKR04) and vendor_account for your DATEV setup.

Requirements

Customization

  • Switch the e-invoice profile between xrechnung_3.0 (Germany), peppol_bis_3.0 (Belgium, Netherlands, Nordics, EU), or facturx_en16931 (France/ZUGFeRD).
  • Change skr_chart from SKR03 to SKR04 and adjust vendor_account in the Export to DATEV CSV Format node to match your Steuerberater chart of accounts.
  • Add additional HTTP Request nodes for /v1/sepa/pain001 (ISO 20022 SEPA Credit Transfer XML), /v1/sepa/camt053-to-datev (bank statement reconciliation), or /v1/kyb/lei (GLEIF LEI lookup).

Additional info

Live OpenAPI Docs: https://b2b-telemetry-mcp.codeandfun24.workers.dev/docs | RapidAPI Hub (50 Free Calls/Month): https://rapidapi.com/B2BTelemetryAPI/api/eu-e-invoice-xrechnung-peppol-factur-x-sepa-datev