Context
PT
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode
VRBL-Invoice-PT-2p1 - Buyer Country Code
Portugal |
VRBL-Invoice-PT-2p1
| Context ID | INV0445 |
| Usage | M |
Description
A code that identifies the country.
Details
Example: PT_creditnote_381.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<cac:Party>
<!-- ... omitted for readability -->
<cac:PostalAddress>
<!-- ... omitted for readability -->
<cac:Country>
<cbc:IdentificationCode>PT</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<!-- ... omitted for readability -->
</cac:Party>
</cac:AccountingCustomerParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PT-2p1-96 | The value of the Buyer Country Code must be contained in ISO 3166 Alpha-2 Country Code [VRBL-CL-CountryCode]. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO3166/ |
| VRBL-INV-EN16931-CM-308 | The value of the Buyer Country Code must be contained in ISO 3166 Alpha-2 Country Code [VRBL-CL-EN16931-CountryCode]. |
| VRBL-INV-CORE-174 | The value of the Buyer Country Code must be contained in ISO 3166 Alpha-2 Country Code [VRBL-CL-CountryCode]. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO3166/ |