E-Rechnung Nodes
Flow-Like WASM nodes for reading, writing, validating, transforming, transporting, and archiving E-Rechnungen
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
- Add
Auto Extract Invoice.
- Connect your invoice
FlowPathto thefileinput.
- Run the node.
- Use the normalized
invoiceoutput for downstream processing.
- Use
detection,metadata, andreportoutputs to decide whether the file needs validation, manual review, or rejection.
Common next steps:
- Send the extracted invoice to
Validate EN16931.
- Run
Validate XRechnungorValidate 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.
Provided Nodes
71 nodes included in this package.
E-Rechnung / Archive
Copies the original invoice FlowPath into an archive directory.
Copies the structured invoice XML FlowPath into an archive directory.
Builds a deterministic duplicate key from seller, invoice number, date, and amount.
Creates an audit bundle manifest with original file, normalized JSON, report, and hash references.
Redacts selected personal, tax, and bank fields from a normalized invoice.
Builds retention metadata for invoice archiving workflows.
Creates a hash manifest for a set of FlowPath files.
Verifies a previously written hash manifest file.
E-Rechnung / Mapping
Adds cost center and general ledger account references to invoice lines.
Maps a typed ERP payload to the normalized invoice model.
Maps a normalized invoice to a typed ERP payload.
Maps the buyer party to an external customer or buyer master-data record shape.
Maps the seller party to an external supplier master-data record shape.
Matches invoice data against a delivery-note reference file or reference id.
Matches invoice data against a purchase-order reference file or reference id.
E-Rechnung / Read
Auto-detects invoice source format and extracts a normalized invoice from XML, hybrid PDF, or normalized JSON FlowPath files.
Detects XRechnung, ZUGFeRD/Factur-X, UBL, CII, Peppol, XML, and PDF containers from a FlowPath.
Extracts supporting attachments from invoice XML/PDF into FlowPath files.
Extracts the structured XML payload from a ZUGFeRD/Factur-X PDF into a FlowPath XML file.
Creates a compact summary from the normalized invoice model for routing and review.
Parses a CII-based XRechnung XML FlowPath into the normalized invoice model.
Parses a UBL-based XRechnung XML FlowPath into the normalized invoice model.
Parses standalone or extracted ZUGFeRD/Factur-X CII XML into the normalized invoice model.
Reads an invoice XML or PDF FlowPath and returns raw text, metadata, and format detection without exposing bytes.
Reads invoice files from a FlowPath directory and returns raw document handles and batch diagnostics.
E-Rechnung / Review
Extracts the fields commonly needed for invoice approval workflows.
Flags invoice anomalies such as missing totals, missing payment data, or unusual identifiers.
Creates a booking proposal from normalized invoice data.
Renders a human-readable invoice preview to a FlowPath file.
Extracts payment-relevant fields for review and payment workflows.
E-Rechnung / Transform
Converts a CII invoice XML FlowPath to UBL XML FlowPath through the normalized model.
Exports invoice header and line data to a CSV FlowPath.
Exports booking-oriented invoice data to a DATEV-style CSV FlowPath.
Normalizes metadata, currency, and profile labels in the invoice model.
Converts a UBL invoice XML FlowPath to CII XML FlowPath through the normalized model.
E-Rechnung / Transport
Fetches invoice files from an email inbox into FlowPath storage.
Receives invoice files from a Peppol access-point API into FlowPath storage.
Sends an invoice file using an email provider integration.
Sends an invoice file through a Peppol access-point API.
Submits an invoice file to a portal or provider API.
E-Rechnung / Utilities
Calculates invoice monetary totals from normalized line data.
Calculates VAT breakdown rows from normalized invoice lines.
Compares structured XML and rendered PDF file references for review workflows.
Generates a formatted invoice number from a prefix, date, and sequence.
Creates a deterministic non-cryptographic payload hash for local duplicate keys and audit references.
Looks up common ISO 3166-1 alpha-2 country codes used by parties.
Looks up common ISO 4217 currency codes used by invoices.
Looks up common unit codes used in invoice quantities.
Maps common payment method labels to UNCL 4461 payment means codes.
Normalizes common tax category labels to EN16931 tax category codes.
Validates and normalizes bank account identifiers used in invoice payment information.
Validates the basic shape of a German public-sector Leitweg-ID.
Validates the basic shape of a Peppol participant identifier.
Validates and normalizes VAT identifiers without remote lookup.
E-Rechnung / Validate
Renders a structured validation report to a FlowPath file.
Checks public-sector routing fields such as buyer reference and Leitweg-ID.
Validates normalized invoice data against EN16931-level required business fields.
Checks German B2B receiving and outbound readiness fields for an E-Rechnung.
Validates normalized invoice data against Peppol BIS Billing readiness checks.
Recomputes invoice totals from lines and reports mismatches.
Performs local XML sanity checks before profile-specific validation.
Validates normalized invoice data against XRechnung-oriented business requirements.
Validates normalized invoice data against ZUGFeRD/Factur-X profile requirements.
E-Rechnung / Write
Builds the normalized E-Rechnung invoice model from structured input fields.
Adds supporting document FlowPath references to a normalized invoice before writing.
Writes a normalized credit note document as structured XML.
Writes a correction or cancellation invoice as structured XML.
Writes the normalized invoice model to a JSON FlowPath for debugging, APIs, and audit bundles.
Writes a normalized invoice as an XRechnung-style CII XML FlowPath.
Writes a normalized invoice as an XRechnung-style UBL XML FlowPath.
Writes a hybrid ZUGFeRD/Factur-X PDF FlowPath with embedded structured XML.