E-Rechnung Nodes

E-Rechnung Nodes

Flow-Like WASM nodes for reading, writing, validating, transforming, transporting, and archiving E-Rechnungen

Free
v0.1.0 122 downloads ✓ Verified MIT public

About

E-Rechnung Node Package

This Flow-Like node package helps you read, create, validate, transform, review, send, and archive German and EU electronic invoices. It is built for workflows around XRechnung, EN 16931, ZUGFeRD, and Factur-X.

The package is designed for file-based automation. Invoice PDFs, XML files, folders, exports, archives, and generated reports are handled as FlowPathvalues, so workflows pass references to files instead of raw file bytes.

What You Can Build

Use this package to automate common E-Rechnung tasks:

  • Read invoice files from XML, PDF, folders, or normalized JSON.
  • Extract invoice data from ZUGFeRD and Factur-X PDF containers.
  • Generate XRechnung UBL or CII XML from normalized invoice data.
  • Validate invoices against EN 16931, XRechnung, Peppol, German B2B, and B2G checks.
  • Convert invoice data for ERP, CSV, DATEV, or archive workflows.
  • Prepare review views such as summaries, payment checks, booking proposals, and anomaly reports.
  • Create audit bundles, retention metadata, redacted log versions, and hash manifests.

Recommended Starting Node

Use Auto Extract Invoice when you receive an invoice file and do not know its exact format.

It can detect and extract from:

  • XRechnung UBL XML.
  • XRechnung or ZUGFeRD CII XML.
  • ZUGFeRD and Factur-X hybrid PDFs with embedded XML invoice data.
  • Normalized invoice JSON created by this package.

For hybrid PDFs, the node follows the official PDF structure first:

  • PDF catalog associated files (/AF).
  • Embedded file name tree (/EmbeddedFiles).
  • File specification embedded-file streams (/EF).
  • Decompressed embedded XML streams.

Only if the official path does not produce a standards-based invoice XML does the node fall back to looser invoice-like XML detection for demo or legacy files.

Typical Workflow

  1. Add Auto Extract Invoice.
  1. Connect your invoice FlowPath to the file input.
  1. Run the node.
  1. Use the normalized invoice output for downstream processing.
  1. Use detection, metadata, and report outputs to decide whether the file needs validation, manual review, or rejection.

Common next steps:

  • Send the extracted invoice to Validate EN16931.
  • Run Validate XRechnung or Validate ZUGFeRD Profile.
  • Generate a readable summary with Invoice Summary.
  • Convert to ERP payload or DATEV export.
  • Archive the original and structured invoice files.

Node Groups

Read

Read and interpret incoming invoice files.

Important nodes include:

  • Auto Extract Invoice
  • Read E-Rechnung File
  • Detect E-Rechnung Format
  • Parse XRechnung UBL
  • Parse XRechnung CII
  • Parse ZUGFeRD/Factur-X
  • Read Invoice Folder
  • Extract Invoice Attachments

Write

Create standards-oriented invoice outputs from normalized data.

Important nodes include:

  • Build Invoice Document
  • Write XRechnung UBL
  • Write XRechnung CII
  • Write ZUGFeRD/Factur-X
  • Write Credit Note
  • Write Invoice Correction
  • Write Invoice JSON

Validate

Check invoices before sending, booking, or archiving.

Important nodes include:

  • Validate Invoice XML
  • Validate EN16931
  • Validate XRechnung
  • Validate Peppol BIS Billing
  • Validate ZUGFeRD Profile
  • Validate German B2B Readiness
  • Validate B2G Requirements
  • Validate Invoice Totals
  • Validate Leitweg ID
  • Validate VAT ID
  • Validate IBAN/BIC

Transform And Map

Move invoice data between standards and business systems.

Important nodes include:

  • Convert UBL to CII
  • Convert CII to UBL
  • Invoice to ERP Payload
  • ERP Payload to Invoice
  • Invoice to CSV
  • Invoice to DATEV Export
  • Map Supplier Master Data
  • Map Buyer Master Data

Review

Support human approval and accounting review.

Important nodes include:

  • Invoice Summary
  • Render Invoice Preview
  • Render Payment Summary
  • Render Booking Proposal
  • Extract Approval Fields
  • Flag Invoice Anomalies
  • Compare Invoice XML/PDF

Transport

Connect invoice workflows to delivery channels.

Important nodes include:

  • Send Invoice Email
  • Fetch Invoices Email
  • Send Peppol API
  • Receive Peppol API
  • Submit Invoice Portal

Some transport nodes are integration hooks. They expose the workflow shape but need host credentials, provider configuration, or a real connector before they can send or receive production data.

Archive And Audit

Create traceable records for compliance and operations.

Important nodes include:

  • Archive Original Invoice
  • Archive Structured Invoice
  • Create Audit Bundle
  • Build Retention Metadata
  • Check Duplicate Invoice
  • Hash Invoice Payload
  • Sign Hash Manifest
  • Verify Hash Manifest
  • Redact Invoice For Logs

Inputs And Outputs

The package uses structured outputs wherever possible:

  • invoice: normalized invoice data for downstream nodes.
  • raw_document: source file reference plus extracted XML text when requested.
  • metadata: format, syntax, profile, and source file information.
  • detection: format detection evidence.
  • report: validation or extraction status.

Files are always represented as FlowPath. This applies to PDFs, XML files, folders, archives, rendered previews, and export files.

Supported Standards And Formats

Primary support:

  • EN 16931 invoice model.
  • XRechnung UBL.
  • XRechnung CII.
  • ZUGFeRD and Factur-X PDF/A-3 containers with embedded CII XML.
  • Normalized JSON created by this package.

The parser prioritizes official structures and namespace markers. Fallback parsing exists to make test, demo, and legacy files easier to inspect, but production workflows should use standards-valid XML or hybrid PDFs.

Practical Notes

  • Use validation nodes before sending invoices to customers, authorities, or Peppol access points.
  • Keep the original invoice file and the extracted structured data for audit workflows.
  • Use duplicate checks and hash manifests when invoices enter an archive.
  • Do not assume a PDF is an E-Rechnung just because it is visually an invoice. A real hybrid invoice PDF must contain embedded structured XML.

Current Limitations

Some nodes are catalog-level integration points and intentionally return a clear host/provider-required error until the surrounding Flow-Like runtime supplies:

  • Official validator services or rule packs.
  • Email, Peppol, or portal credentials.
  • Production archive, ERP, or provider connectors.

The local lightweight readers and validators are useful for routing, extraction, normalization, and workflow setup. For legal or production acceptance, connect the official validator and transport services required by your organization.

E-Rechnung Node Package This Flow-Like node package helps you read, create, validate, transform, review, send, and archive German and EU electronic invoices. It is built for workflows around XRechnung, EN 16931, ZUGFeRD, and Factur-X. The package is designed for file-based automation. Invoice PDFs, XML files, folders, exports, archives, and generated reports are handled as FlowPath values, so workflows pass references to files instead of raw file bytes. What You Can Build Use this package to automate common E-Rechnung tasks: Read invoice files from XML, PDF, folders, or normalized JSON. Extract invoice data from ZUGFeRD and Factur-X PDF containers. Generate XRechnung UBL or CII XML from normalized invoice data. Validate invoices against EN 16931, XRechnung, Peppol, German B2B, and B2G checks. Convert invoice data for ERP, CSV, DATEV, or archive workflows. Prepare review views such as summaries, payment checks, booking proposals, and anomaly reports. Create audit bundles, retention metadata, redacted log versions, and hash manifests. Recommended Starting Node Use Auto Extract Invoice when you receive an invoice file and do not know its exact format. It can detect and extract from: XRechnung UBL XML. XRechnung or ZUGFeRD CII XML. ZUGFeRD and Factur-X hybrid PDFs with embedded XML invoice data. Normalized invoice JSON created by this package. For hybrid PDFs, the node follows the official PDF structure first: PDF catalog associated files ( /AF ). Embedded file name tree ( /EmbeddedFiles ). File specification embedded-file streams ( /EF ). Decompressed embedded XML streams. Only if the official path does not produce a standards-based invoice XML does the node fall back to looser invoice-like XML detection for demo or legacy files. Typical Workflow Add Auto Extract Invoice . Connect your invoice FlowPath to the file input. Run the node. Use the normalized invoice output for downstream processing. Use detection , metadata , and report outputs to decide whether the file needs validation, manual review, or rejection. Common next steps: Send the extracted invoice to Validate EN16931 . Run Validate XRechnung or Validate ZUGFeRD Profile . Generate a readable summary with Invoice Summary . Convert to ERP payload or DATEV export. Archive the original and structured invoice files. Node Groups Read Read and interpret incoming invoice files. Important nodes include: Auto Extract Invoice Read E-Rechnung File Detect E-Rechnung Format Parse XRechnung UBL Parse XRechnung CII Parse ZUGFeRD/Factur-X Read Invoice Folder Extract Invoice Attachments Write Create standards-oriented invoice outputs from normalized data. Important nodes include: Build Invoice Document Write XRechnung UBL Write XRechnung CII Write ZUGFeRD/Factur-X Write Credit Note Write Invoice Correction Write Invoice JSON Validate Check invoices before sending, booking, or archiving. Important nodes include: Validate Invoice XML Validate EN16931 Validate XRechnung Validate Peppol BIS Billing Validate ZUGFeRD Profile Validate German B2B Readiness Validate B2G Requirements Validate Invoice Totals Validate Leitweg ID Validate VAT ID Validate IBAN/BIC Transform And Map Move invoice data between standards and business systems. Important nodes include: Convert UBL to CII Convert CII to UBL Invoice to ERP Payload ERP Payload to Invoice Invoice to CSV Invoice to DATEV Export Map Supplier Master Data Map Buyer Master Data Review Support human approval and accounting review. Important nodes include: Invoice Summary Render Invoice Preview Render Payment Summary Render Booking Proposal Extract Approval Fields Flag Invoice Anomalies Compare Invoice XML/PDF Transport Connect invoice workflows to delivery channels. Important nodes include: Send Invoice Email Fetch Invoices Email Send Peppol API Receive Peppol API Submit Invoice Portal Some transport nodes are integration hooks. They expose the workflow shape but need host credentials, provider configuration, or a real connector before they can send or receive production data. Archive And Audit Create traceable records for compliance and operations. Important nodes include: Archive Original Invoice Archive Structured Invoice Create Audit Bundle Build Retention Metadata Check Duplicate Invoice Hash Invoice Payload Sign Hash Manifest Verify Hash Manifest Redact Invoice For Logs Inputs And Outputs The package uses structured outputs wherever possible: invoice : normalized invoice data for downstream nodes. raw_document : source file reference plus extracted XML text when requested. metadata : format, syntax, profile, and source file information. detection : format detection evidence. report : validation or extraction status. Files are always represented as FlowPath . This applies to PDFs, XML files, folders, archives, rendered previews, and export files. Supported Standards And Formats Primary support: EN 16931 invoice model. XRechnung UBL. XRechnung CII. ZUGFeRD and Factur-X PDF/A-3 containers with embedded CII XML. Normalized JSON …

Provided Nodes

71 nodes included in this package.

E-Rechnung / Archive

Archive Original Invoice

Copies the original invoice FlowPath into an archive directory.

storage:read storage:write
Archive Structured Part

Copies the structured invoice XML FlowPath into an archive directory.

storage:read storage:write
Check Duplicate Invoice

Builds a deterministic duplicate key from seller, invoice number, date, and amount.

storage:read
Create Audit Bundle

Creates an audit bundle manifest with original file, normalized JSON, report, and hash references.

storage:read storage:write
Redact Invoice For Logs

Redacts selected personal, tax, and bank fields from a normalized invoice.

Retention Metadata

Builds retention metadata for invoice archiving workflows.

Sign Hash Manifest

Creates a hash manifest for a set of FlowPath files.

storage:read storage:write
Verify Hash Manifest

Verifies a previously written hash manifest file.

storage:read

E-Rechnung / Mapping

Attach Cost Centers / GL Accounts

Adds cost center and general ledger account references to invoice lines.

ERP Payload To Invoice

Maps a typed ERP payload to the normalized invoice model.

Invoice To ERP Payload

Maps a normalized invoice to a typed ERP payload.

Map Buyer Master Data

Maps the buyer party to an external customer or buyer master-data record shape.

Map Supplier Master Data

Maps the seller party to an external supplier master-data record shape.

Match Delivery Note

Matches invoice data against a delivery-note reference file or reference id.

storage:read
Match Purchase Order

Matches invoice data against a purchase-order reference file or reference id.

storage:read

E-Rechnung / Read

Auto Extract Invoice

Auto-detects invoice source format and extracts a normalized invoice from XML, hybrid PDF, or normalized JSON FlowPath files.

storage:read
Detect E-Rechnung Format

Detects XRechnung, ZUGFeRD/Factur-X, UBL, CII, Peppol, XML, and PDF containers from a FlowPath.

storage:read
Extract Invoice Attachments

Extracts supporting attachments from invoice XML/PDF into FlowPath files.

storage:read storage:write
Extract ZUGFeRD XML

Extracts the structured XML payload from a ZUGFeRD/Factur-X PDF into a FlowPath XML file.

storage:read storage:write
Invoice Summary

Creates a compact summary from the normalized invoice model for routing and review.

Parse XRechnung CII

Parses a CII-based XRechnung XML FlowPath into the normalized invoice model.

storage:read
Parse XRechnung UBL

Parses a UBL-based XRechnung XML FlowPath into the normalized invoice model.

storage:read
Parse ZUGFeRD/Factur-X

Parses standalone or extracted ZUGFeRD/Factur-X CII XML into the normalized invoice model.

storage:read
Read E-Rechnung File

Reads an invoice XML or PDF FlowPath and returns raw text, metadata, and format detection without exposing bytes.

storage:read
Read Invoice Folder

Reads invoice files from a FlowPath directory and returns raw document handles and batch diagnostics.

storage:read

E-Rechnung / Review

Extract Approval Fields

Extracts the fields commonly needed for invoice approval workflows.

Flag Anomalies

Flags invoice anomalies such as missing totals, missing payment data, or unusual identifiers.

Render Booking Proposal

Creates a booking proposal from normalized invoice data.

Render Invoice Preview

Renders a human-readable invoice preview to a FlowPath file.

storage:write
Render Payment Summary

Extracts payment-relevant fields for review and payment workflows.

E-Rechnung / Transform

CII To UBL

Converts a CII invoice XML FlowPath to UBL XML FlowPath through the normalized model.

storage:read storage:write
Invoice To CSV

Exports invoice header and line data to a CSV FlowPath.

storage:write
Invoice To DATEV Export

Exports booking-oriented invoice data to a DATEV-style CSV FlowPath.

storage:write
Normalize Invoice

Normalizes metadata, currency, and profile labels in the invoice model.

UBL To CII

Converts a UBL invoice XML FlowPath to CII XML FlowPath through the normalized model.

storage:read storage:write

E-Rechnung / Transport

Fetch From Email Inbox

Fetches invoice files from an email inbox into FlowPath storage.

network:http oauth storage:read storage:write
Receive Via Peppol API

Receives invoice files from a Peppol access-point API into FlowPath storage.

network:http storage:read storage:write
Send Via Email

Sends an invoice file using an email provider integration.

network:http oauth storage:read storage:write
Send Via Peppol API

Sends an invoice file through a Peppol access-point API.

network:http storage:read
Submit To Portal/API

Submits an invoice file to a portal or provider API.

network:http storage:read

E-Rechnung / Utilities

Calculate Totals

Calculates invoice monetary totals from normalized line data.

Calculate VAT Breakdown

Calculates VAT breakdown rows from normalized invoice lines.

Compare XML vs PDF

Compares structured XML and rendered PDF file references for review workflows.

storage:read
Generate Invoice Number

Generates a formatted invoice number from a prefix, date, and sequence.

Hash Invoice Payload

Creates a deterministic non-cryptographic payload hash for local duplicate keys and audit references.

Lookup Country Code

Looks up common ISO 3166-1 alpha-2 country codes used by parties.

Lookup Currency Code

Looks up common ISO 4217 currency codes used by invoices.

Lookup Unit Code

Looks up common unit codes used in invoice quantities.

Map Payment Means Code

Maps common payment method labels to UNCL 4461 payment means codes.

Normalize Tax Category

Normalizes common tax category labels to EN16931 tax category codes.

Validate IBAN/BIC

Validates and normalizes bank account identifiers used in invoice payment information.

Validate Leitweg-ID

Validates the basic shape of a German public-sector Leitweg-ID.

Validate Peppol Participant ID

Validates the basic shape of a Peppol participant identifier.

Validate VAT ID

Validates and normalizes VAT identifiers without remote lookup.

E-Rechnung / Validate

Render Validation Report

Renders a structured validation report to a FlowPath file.

storage:write
Validate B2G Requirements

Checks public-sector routing fields such as buyer reference and Leitweg-ID.

Validate EN16931

Validates normalized invoice data against EN16931-level required business fields.

Validate German B2B Readiness

Checks German B2B receiving and outbound readiness fields for an E-Rechnung.

Validate Peppol BIS Billing

Validates normalized invoice data against Peppol BIS Billing readiness checks.

Validate Totals

Recomputes invoice totals from lines and reports mismatches.

Validate XML

Performs local XML sanity checks before profile-specific validation.

storage:read
Validate XRechnung

Validates normalized invoice data against XRechnung-oriented business requirements.

Validate ZUGFeRD Profile

Validates normalized invoice data against ZUGFeRD/Factur-X profile requirements.

E-Rechnung / Write

Build Invoice Document

Builds the normalized E-Rechnung invoice model from structured input fields.

Embed Invoice Attachments

Adds supporting document FlowPath references to a normalized invoice before writing.

Write Credit Note

Writes a normalized credit note document as structured XML.

storage:write
Write Invoice Correction

Writes a correction or cancellation invoice as structured XML.

storage:write
Write Invoice JSON

Writes the normalized invoice model to a JSON FlowPath for debugging, APIs, and audit bundles.

storage:write
Write XRechnung CII

Writes a normalized invoice as an XRechnung-style CII XML FlowPath.

storage:write
Write XRechnung UBL

Writes a normalized invoice as an XRechnung-style UBL XML FlowPath.

storage:write
Write ZUGFeRD/Factur-X

Writes a hybrid ZUGFeRD/Factur-X PDF FlowPath with embedded structured XML.

storage:read storage:write

Versions

v0.1.0 May 30, 2026
1418 KB

Have feedback?

Found an issue with this package or have suggestions for improvement? Let us know.