Hello there!
Jochen Staerk suggested to post this in the zugferdgroup to make it an official task. So here we go
Working with ZUGFeRD 2.0 i have encountered 2 files that dont validate with the official https://www.zugferd-community.net/de/dashboard/validation based on https://github.com/ZUGFeRD/ZUV. The files seems to be ok to me and are very similar to some of the offical xml-files that are shipped with the ZUGFeRD2.0 package.
1. ZUGFeRD-invoice_rabatte_3_abschlag_duepayableamount.xml
Here we have the GrandTotalAmount of 64.74 and a TotalPrepaidAmount of 50€ that results in a DuePayableAmount of 14.74. But there is an exception from the validator that reads:
Das ZUGFeRD-xml ist nicht valide.
Profile: urn:cen.eu:en16931:2017
Funny thing is that when changing TotalPrepaidAmount to 0.00 and DuePayableAmount to 64.74 it passes.
2. ZUGFeRD-invoice_rabatte_4_abschlag_taxbasistotalamount.xml
Here comes the error with the TaxBasisTotalAmount. Using LineTotalAmount of 201.48 minus AllowanceTotalAmount of 7.05 results in the TaxBasisTotalAmount of 194.43. Seems good to me. But the exception from the validator says
Das ZUGFeRD-xml ist nicht valide.
Profile: urn:cen.eu:en16931:2017
Thanks in advance
Kind regards
//Kristina Schulz
Herzliche Grüße aus Göttingen
Kristina Schulz
- Forschung, Entwicklung -
DATAflor AG
August-Spindler-Str. 20, 37079 Göttingen
Tel +49 (551) 50665-722
Fax +49 (551) 50665-59
ksc...@dataflor.de
Vorstand: Christoph Honig, Matthias Gehrke
Aufsichtsratsvorsitzender: Adi Drotleff
Amtsgericht Göttingen: HRB 200484; USt.Id.Nr. DE 143581466
Unsere Angaben zu den Informationspflichten laut EU-DSGVO finden Sie auf unserer
Webseite.