X-Rechnung 2.1/2.2 CreditNote (UBL) not working
Closed this issue · 5 comments
"File format not recognized" for UBL-CreditNote.
I was not able to open:
- XSD Schema UBL-CreditNote-2.1.xsd
- Schematron (XSLT) CEN-EN16931-UBL
- Schematron (XSLT) XRechnung 2.2.0
Hello, an example of a UBL creditnote is https://github.com/itplr-kosit/xrechnung-testsuite/blob/master/src/test/business-cases/standard/01.20a-INVOICE_ubl.xml which seems to open perfectly?
In my opinion, this is not a creditnote in the true sense of the definition for a UBL-CreditNote:
Our XML-Header looks the following way:
<CreditNote xmlns="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
I used https://validator.invoice-portal.de/?valid=validator to validate our creditnote. No problems on that side.
This tool uses some other codelists:
https://github.com/jcthiele/OpenXRechnungToolbox/tree/master/resources/viewer/codelistresolve
There it is possible to show our creditnote, but with other problems. It seems the tool needs the following codelist:
https://github.com/jcthiele/OpenXRechnungToolbox/blob/master/resources/viewer/codelistresolve/ubl-creditnote-xr.xsl
no, you are right, that's something different. I had been looking for typecode 389=self billed invoice. Does anybody know why this distinction is apparently required in UBL (and not in CII?)? And is there a sample to be found anywhere?
can you please try if http://www.quba-viewer.org/quba_viewer-1.2.2.exe works for you?
Now it works. Just perfect. You are the best. :-)
Now we finaly have a useable alternative for us.
Thank you very much for your work!!!