NO-R-001: For Norwegian suppliers, a VAT number MUST be the country code prefix NO followed by a…
Peppol BIS Billing 3.0.2 · UBL
fatalcountry
Original rule text
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.
Stored validation assertion
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')
NO-R-001 is a fatal rule in the country layer of Peppol BIS Billing 3.0.2 · UBL. An invoice that breaks it is rejected.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to NO-R-001.