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

Buyer Tax ID

Context ID INV0447
Cardinality 0..1
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.

Rules

Rule ID Error Message
VRBL-INV-SE-1p0-12 If the Buyer Tax ID is marked as a Swedish Legal Entity Number, it must be 10 digits.
VRBL-INV-SE-1p0-26 If the Buyer 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.