Message

Norwegian organization number MUST be stated in the correct format.

Context
cbc:EndpointID[@schemeID = '0192'] | cac:PartyIdentification/cbc:ID[@schemeID = '0192'] | cbc:CompanyID[@schemeID = '0192']
Test
matches(normalize-space(), '^[0-9]{9}$') and u:mod11(normalize-space())
Usage
/ ubl:Invoice / cac:AccountingSupplierParty / cac:Party / cbc:EndpointID
/ ubl:Invoice / cac:AccountingSupplierParty / cac:Party / cac:PartyIdentification / cbc:ID
/ ubl:Invoice / cac:AccountingSupplierParty / cac:Party / cac:PartyTaxScheme / cbc:CompanyID
/ ubl:Invoice / cac:AccountingCustomerParty / cac:Party / cbc:EndpointID
/ ubl:Invoice / cac:AccountingCustomerParty / cac:Party / cac:PartyIdentification / cbc:ID
/ ubl:Invoice / cac:AccountingCustomerParty / cac:Party / cac:PartyTaxScheme / cbc:CompanyID
/ ubl:CreditNote / cac:AccountingSupplierParty / cac:Party / cbc:EndpointID
/ ubl:CreditNote / cac:AccountingSupplierParty / cac:Party / cac:PartyIdentification / cbc:ID
/ ubl:CreditNote / cac:AccountingSupplierParty / cac:Party / cac:PartyTaxScheme / cbc:CompanyID
/ ubl:CreditNote / cac:AccountingCustomerParty / cac:Party / cbc:EndpointID
/ ubl:CreditNote / cac:AccountingCustomerParty / cac:Party / cac:PartyIdentification / cbc:ID
/ ubl:CreditNote / cac:AccountingCustomerParty / cac:Party / cac:PartyTaxScheme / cbc:CompanyID