stephanstapel / ZUGFeRD-csharp

C# assembly for creating and reading ZUGFeRD invoices
Apache License 2.0
214 stars 114 forks source link

Fix validation errors for XRechnung #314

Closed stefanschmidcyanit closed 3 months ago

stefanschmidcyanit commented 3 months ago

Do not print AllowanceChargeBasisAmount and ShipFromTradeParty when using XRechnung.

Fixes errors

[CII-SR-318] - ShipFromTradeParty should not be present [ID CII-SR-318] from /xslt/cii16931schematron/EN16931-CII-validation.xslt)

[CII-DT-044] - AllowanceChargeBasisAmount should not be present [ID CII-DT-044] from /xslt/cii16931schematron/EN16931-CII-validation.xslt)

stephanstapel commented 3 months ago

thanks