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

Buyer Tax Company ID

Context ID INV0447
Cardinality 0..1
Usage M

Description

An identifier for the party assigned for tax purposes by the taxation authority.

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