XR 2.0, ZF 2.1.1 and Mustang 2 alpha

33 views
Skip to first unread message

Jochen Stärk

unread,
Aug 15, 2020, 8:52:28 AM8/15/20
to zug...@googlegroups.com
Hi,

just before the release of ZUGFeRD 2.1.1 (on july 1st) the Xrechnung 2.0
came out (on june 30th) and will be made mandatory as of january, 2021
(https://www.xoev.de/xrechnung-16828).

While the Xrechnung now has two profiles (standard and extended),
ZUGFeRD now has six: minimum, basic without lines, basic, EN16931 and
extended as well as the new XRechnung "reference profile". The idea
behind the reference profile is that you can not only embed any
un/cefact xrechnung in a PDF file, you can now also specifially call it
a xrechnung. Embedding was possible before in the EN16931 profile now
the embedded file name (xrechnung.xml) and meta data is also xrechnung
and it's entirely up to you to make sure it's a valid xrechnung (you
could e.g. use the Kosit validator, see also
https://groups.google.com/forum/#!topic/zugferd/anCu7rSc-ao) before you
make it a ZUGFeRD.

After the release of the XR 2.0 spec,  2.0 sample files
(https://github.com/itplr-kosit/xrechnung-testsuite) as well as the
schematron (https://github.com/itplr-kosit/xrechnung-schematron) were
released and finally a actual kosit validator configuration
(https://github.com/itplr-kosit/validator-configuration-xrechnung/releases/tag/release-2020-07-31)
was released recently.

Besides supporting ZF 2.1.1 with the new reference profile, the preview
version Mustang 2 Alpha
(https://www.mustangproject.org/files/Mustang-CLI-2.0.0-alpha1.jar) now
also integrates the successor of the ZUV validator
https://github.com/zugferd/ZUV/ which in the meantime learned to
validate Xrechnung. If you validate a EN16931 file, currently Xrechnung
violations are reported as "notices", unless you specifically have a
(embedded or not) Xrechnung, in which case the notices turn into errors.
This is of course due to the fact that in an ordinary B2B invoice you
might not have, need or even want all XR mandatory attributes like phone
number of a seller contact, or buyer reference, read Leitweg-ID.

Further details on the Mustang 2 preview release are listed in the
Release notes
https://github.com/ZUGFeRD/mustangproject/blob/master/Release_Notes.md ,
among other changes ZUGFeRD 2 is now default. Feel free to give it a
try, report any encounters you may make. Of course I would also
appreciate any contribution to the code, a list of open issues is in the
https://github.com/ZUGFeRD/mustangproject/blob/master/History.md and if
you want to help, but you're unsure what precisely to do, just send me
an email.

kind regards
Jochen


Reply all
Reply to author
Forward
0 new messages