Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported root element (ubl:CreditNote) #428

Open
martinL70 opened this issue Jul 29, 2024 · 3 comments
Open

Unsupported root element (ubl:CreditNote) #428

martinL70 opened this issue Jul 29, 2024 · 3 comments

Comments

@martinL70
Copy link

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
Copy link
Collaborator

jstaerk commented Jul 29, 2024

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

@martinL70
Copy link
Author

We need it in the validator.

@melo0187
Copy link

@jstaerk I would kindly ask to include the support for UBL CreditNote in the ZUGFeRDInvoiceImporter and ZUGFeRDValidator.

When I saw ae30a7a I was hoping this means there is already support for UBL CreditNote with 2.14.1 and newer in ZUGFeRDInvoiceImporter, because org.mustangproject.ZUGFeRD.ZUGFeRDImporter#getStandard returns EStandard, which was updated to contain ubl_creditnote in that commit.
But this method was never updated to deal with root element CreditNote.

Same is true for the ZUGFeRDValidator or more precisely XMLValidator, which has only implementation for root element Invoice but nothing for CreditNote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants