Context
PT
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID
VRBL-Invoice-PT-2p1 - Buyer Tax ID
Portugal |
VRBL-Invoice-PT-2p1
| 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: PT_creditnote_381.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<cac:Party>
<!-- ... omitted for readability -->
<cac:PartyTaxScheme>
<cbc:CompanyID>PT987654321</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-PT-2p1-87 | The Buyer Tax ID does not meet the defined format: value preceded by the country code, according to ISO code list 3166-1. |
| VRBL-INV-PT-2p1-88 | The Buyer Tax ID does not meet the defined format: alphanumeric with size between 1 and 50. |