/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID

Seller Tax ID

Context ID INV0333
Cardinality 0..1
Usage M

Description

The seller's tax identification number (also known as seller TIN).

The seller's VAT identifier (also known as seller VAT identification number) prefixed by the ISO 3166-1 alpha2 country code.

Rules

Rule ID Error Message
VRBL-INV-SE-1p0-8 If the Seller Tax ID is marked as a Swedish Legal Entity Number, it must be 10 digits.
VRBL-INV-SE-1p0-22 If the Seller Tax ID is marked as a Swedish Legal Entity Number, its 10th digit must be the correct checksum of the other 9 digits according to the Luhn algorithm.
VRBL-INV-CORE-549 When Seller Tax Scheme Code is 'VAT', the allowed maximum number of characters for the Seller Tax ID is 25.