-
Notifications
You must be signed in to change notification settings - Fork 55
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
VA instead of VAT in BR-S-02 UBL? #38
Comments
The underlying codelist is UNTDID 1153 D16B and this one states "VA" is the correct one - https://www.unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred1153.htm But there are other rules that still reference 'VAT':
|
You are right
I need to upload the Syntax Rules, not yet there….
Oriol
… El 22 set 2017, a les 18:08, Philip Helger ***@***.***> va escriure:
The underlying codelist is UNTDID 1153 D16B and this one states "VA" is the correct one - https://www.unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred1153.htm <https://www.unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred1153.htm>
But there are other rules that still reference 'VAT':
<param name="UBL-SR-12" value="(count(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID='VAT']/cbc:CompanyID) <= 1)"/>
<param name="UBL-SR-13" value="(count(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID!='VAT']/cbc:ID) <= 1)"/>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#38 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAZSFJ0nneeFJjEvXtKxHMKcXmEM5NdBks5sk9tjgaJpZM4Pg1Y_>.
|
We follow the UNTDID 1153 codelist that uses "VA" instead of "VAT". The SR rules need to be corrected. |
Please close when commit is present - thx :) |
Solved |
In the EN 16931-1:2017 the UNTDID 1153 is referenced only in BT-18 and BT-128. UNTDID 1153 looks appropriate (VA: VAT registration number) for cac:TaxScheme/cbc:ID in the BT-31 (Seller VAT id) and BT-48 (Buyer VAT id). |
cac:TaxScheme/cbc:ID is not defined in the Norm, but it is required in the UBL syntax. That's why it has been included in the syntax binding. The use of VA instead of VAT is just for consistency with BT-18 and BT-128, avoiding people using "VA" in one place and "VAT" in another one. |
In the UBL rule BR-S-02 the TaxScheme ID is verified to be "VA", while it has always been "VAT"
Is it a typo or is it correct? Because now our nvoices with cac:TaxScheme/cbc:ID = 'VAT' are failing validation.
The text was updated successfully, but these errors were encountered: