-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small hack to allow factur-x.py to work with ZUGFeRD 2.2 reference profile XRECHNUNG #40
Comments
Could someone explain me the difference between Xrechnung and ZUGFeRD/Factur-X ? I'm french and I not very familiar with these German things. |
XRechnung is the official German government standard for electronic invoicing for public clients. It is the initial solution for the implementation of the EU Directive 2014/55/EU in Germany and has introduced as mandatory for the exchange of electronic invoices from and with German administrations. It is implemented as pure EN 16931-1 syntax CII D16B xml file format. While syntactically almost identical to Factur-X comfort profile, it uses a different codelist subset and additional business rules, but still can be syntactically verified with the factur-x EN 16931 schematron files. |
@andras63 Would you mind opening a PR with your patch? Then maybe we can collaborate with @alexis-via on getting this merged into the main (I am currently also in a position where I'd really like factur-x to also be able to extract XRechnung files) Thanks in advance for your time! |
+1 |
+1
…On Thu, 3 Oct 2024 at 02:13, Hendrik Hansmeier ***@***.***> wrote:
+1
—
Reply to this email directly, view it on GitHub
<#40 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAK2QW74LKRH55RP3NYOH3ZZSD2HAVCNFSM6AAAAABGLK4BNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJQGE4DSNJTGY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Siegfried Hirsch
hhS - Lipowskystr. 16 - 81373 München - (089) 5484 3564 - skype:shirsch
|
I needed a simple way to create ZUGFeRD 2.2 / Factur-X 1.0.6 compliant German XRECHNUNG reference profile PDFs.
Our accounting application creates and validates compliant CII (NOT UBL) xrechnung.xml files (current version 3.0.1)
Validation is done through KOSIT validator, so all I needed was a way to integrate this into a valid PDFA-3B file also
created by our application. Since I use facturx-pdfgen for all my other ZUGFeRD invoices it was the easiest solution to
integrate it the xrechnung profile into factur-x.py.
Attached is a small diff that acomplishes this. Note that there is no validation against German national KOSIT business rules
(already done before), but an additional EN16931 syntax check is done against the COMFORT xsd.
The generated hybrid PDFs validate 100 % OK against the ZUGFeRD community validator. The fnfe-mpe.org validator lacks
support for XRECHNUNG and there rejects the profile, but also validates the components.
Maybe someone finds this helpful and you can integrate this .
facturx-xrechnung.patch
The text was updated successfully, but these errors were encountered: