All rules · pint-eu · error

NO-R-001

For Norwegian suppliers, a VAT number MUST be the country code prefix NO followed by a valid Norwegian organization number (nine numbers) followed by the letters MVA.

No plain-English explanation yet. We write these in order of how often they actually trip people up, and this one has not come up much. Tell us what tripped you up and it moves to the front of the queue.

The official rule

For Norwegian suppliers, a VAT number MUST be the country code prefix NO followed by a valid Norwegian organization number (nine numbers) followed by the letters MVA.

Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.

Schematron test

cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) = 'VAT']/substring(cbc:CompanyID, 1, 2)='NO' and matches(cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) = 'VAT']/substring(cbc:CompanyID,3), '^[0-9]{9}MVA$')           and u:mod11(substring(cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) = 'VAT']/cbc:CompanyID, 3, 9)) or not(cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) = 'VAT']/substring(cbc:CompanyID, 1, 2)='NO')

Applied to nodes matching cac:AccountingSupplierParty/cac:Party[$supplierCountry = 'NO']

Rule-pack versions

Rule-packLayerSeverityApplies to
pint-eu-1.1.1pint-euerrorbilling/creditnote, billing/invoice

Check your own invoice

Paste your XML and see every rule that fires, not just this one. Free, no sign-up, and we never store the document.

Open the validator
NO-R-001 — For Norwegian suppliers, a VAT number MUST be the country c… · PINT Probe