Context
AD
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID
VRBL-Invoice-AD-PeppolBIS-3p0 - Buyer Tax ID
Andorra |
VRBL-Invoice-AD-PeppolBIS-3p0
| Context ID | INV0447 |
| Usage | M |
Description
The buyer's tax identifier (also known as buyer tax identification number).
The buyer's VAT identifier (also known as buyer VAT identification number) prefixed by the ISO 3166-1 alpha2 country code.
Details
Example: AD_creditnote_381.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<cac:Party>
<!-- ... omitted for readability -->
<cac:PartyTaxScheme>
<cbc:CompanyID>ADU123456F</cbc:CompanyID>
<!-- ... omitted for readability -->
</cac:PartyTaxScheme>
<!-- ... omitted for readability -->
</cac:Party>
</cac:AccountingCustomerParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PEPPOL-RS-84 | If the Buyer Tax ID is marked as a GLN, it must be 13 digits. |
| VRBL-INV-PEPPOL-RS-85 | If the Buyer Tax ID is marked as a GLN, its 13th digit must be the correct checksum of the other 12 digits according to the GS1 check digit calculation. |