ZUGFeRD / mustangproject

Open Source Java e-Invoicing library, validator and tool (Factur-X/ZUGFeRD, UNCEFACT/CII XRechnung)
http://www.mustangproject.org
Apache License 2.0
192 stars 112 forks source link

Unsupported root element (ubl:CreditNote) #428

Open martinL70 opened 1 month ago

martinL70 commented 1 month ago

For a while now it has been mandatory in ubl to send an "invoice" with code 381 (credit note) as a "creditnote". Mustang gives an error message ("Unsupported root element") for these. Can this be included?

root-element: <CreditNote xmlns="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2"...

jstaerk commented 1 month ago

It can be included, but in which context, ZUGFeRDInvoiceImporter?

martinL70 commented 1 month ago

We need it in the validator.