Context
ES
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID
VRBL-Invoice-ES-FacturaE-3p2 - Seller Tax ID
Spain |
VRBL-Invoice-ES-FacturaE-3p2
| Context ID | INV0333 |
| Usage | M |
Description
The seller's tax identification number (also known as seller TIN).
Details
Example: ES_B2G_Correction_invoice.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingSupplierParty>
<!-- ... omitted for readability -->
<cac:Party>
<!-- ... omitted for readability -->
<cac:PartyTaxScheme>
<cbc:CompanyID>ESB00000000</cbc:CompanyID>
<!-- ... omitted for readability -->
</cac:PartyTaxScheme>
<!-- ... omitted for readability -->
</cac:Party>
</cac:AccountingSupplierParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-ES-B2G-45 | The required minimum number of characters for the Seller Tax ID is 3. |
| VRBL-INV-ES-B2G-46 | The allowed maximum number of characters for the Seller Tax ID is 30. |
| VRBL-INV-CORE-549 | When Seller Tax Scheme Code is 'VAT', the allowed maximum number of characters for the Seller Tax ID is 25. |