BoxLang 🚀 A New JVM Dynamic Language Learn More...
A ColdBox module for generating ZUGFeRD/XRechnung compliant invoices in ColdFusion (CFML).
ZUGFeRD (Zentraler User Guide des Forums elektronische Rechnung Deutschland) is a German standard for electronic invoicing that embeds structured XML invoice data (based on the UN/CEFACT Cross Industry Invoice standard) into PDF/A-3 files. This allows invoices to be both human-readable (PDF) and machine-readable (XML) in a single file.
docker run --rm -p 3000:3000 gotenberg/gotenberg:8
modules
directorylib
folderConfigure the module in your ColdBox configuration file with the following settings:
moduleSettings = {
cbZUGFeRD = {
IBAN = "DE12345678901234567890",
BIC = "BANKDEFFXXX",
bankAccountName = "Your Company Name",
RegulatoryNote1 = "Your first regulatory note",
RegulatoryNote2 = "Your second regulatory note"
}
};
The module provides an example implementation in
handlers/Home.cfc
that demonstrates:
See handlers/Home.cfc
for a complete working example
with dummy data. The example shows how to:
You can validate your generated ZUGFeRD invoices using these online validators:
Please refer to the Mustang Project license for the underlying Java library.
This module is designed to be integrated into your existing ColdBox application. Replace the dummy data in the example handler with your own invoice data from your database or business logic.
$
box install cbzugferd