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

If the Invoice did not have AccountingCustomerParty It will not continue to produce the invoice #41

Closed
ssdf34 opened this issue Sep 26, 2021 · 2 comments
Assignees
Labels

Comments

@ssdf34
Copy link

ssdf34 commented Sep 26, 2021

Hi,
when I try to issue the invoice without aInvoice.setAccountingCustomerParty (aCustomer); . The invoice did not continue produce the invoice
example Invoice production only reached here and then it stop (</cac:Party></cac:AccountingSupplierParty><cac:TaxTotal );

@phax phax self-assigned this Sep 27, 2021
@phax phax added the question label Sep 27, 2021
@phax
Copy link
Owner

phax commented Sep 27, 2021

No, it is not possible, because the XML Schema of UBL requires it:

<xsd:element ref="cac:AccountingSupplierParty" minOccurs="1" maxOccurs="1">

Otherwise the Invoice would be invalid.
hth

@phax phax closed this as completed Sep 27, 2021
@ssdf34
Copy link
Author

ssdf34 commented Sep 27, 2021

Thank you very much for your quick reply.

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

No branches or pull requests

2 participants