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

BR-B-02 rule - incorrect schematron check #318

Closed
ConnectingEurope opened this issue Jul 15, 2022 · 5 comments
Closed

BR-B-02 rule - incorrect schematron check #318

ConnectingEurope opened this issue Jul 15, 2022 · 5 comments
Assignees
Milestone

Comments

@ConnectingEurope
Copy link
Collaborator

The following issue was received into the DIGITAL service desk:

The CEF schematron controls for the tax category even in the case the tax category does not refer to VAT and this causes errors when we try to use Withholding tax (in Italy we have an extension for it). The EN 16931 forsees for a proper VAT treatment of invoices that there shall not be cac:TaxTotal/ cac:TaxSubtotal/cac:TaxCategory/cbc:ID with B and with S in the same invoice, but indeed, the cac:TaxCategory/cbc:ID in cac: WithholdingTaxTotal in not referred to VAT B� so the schematron check have to be re-arrangend in order not to check the cac:TaxCategory/cbc:ID present in cac:TaxTotal/ cac:TaxSubtotal

Reporter Pietro Palermo, ticket id EINVSD-216

@phax
Copy link
Collaborator

phax commented Jul 15, 2022

An example invoice for that particular case would be very helpful

@pietropalermoIT
Copy link

Here attached an example
Withholding tax with vat category code B.zip

@pietropalermoIT
Copy link

Let me know if I can help you in understanding the issue. Thank you in advance. Pietro

@midran midran self-assigned this Sep 2, 2022
@oriol oriol added this to the 1.3.9 milestone Sep 30, 2022
@oriol oriol self-assigned this Sep 30, 2022
oriol added a commit that referenced this issue Oct 4, 2022
@oriol
Copy link
Collaborator

oriol commented Oct 4, 2022

Corrected paths in UBL

@oriol oriol closed this as completed Oct 4, 2022
@pietropalermoIT
Copy link

The scematron has been corrected only in test
https://test-docs.peppol.eu/poacc/billing/3.0/
and not in production
https://docs.peppol.eu/poacc/billing/3.0/

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

No branches or pull requests

4 participants