fatalPeppol BIS Billing 3.0profileCIIUBL
Norwegian organization number MUST be stated in the correct format.
A Norwegian organisation number is malformed.
Nine digits, no spaces, with a valid MOD-11 check digit.
CII — context ram:URIID[@schemeID = '0192'] | ram:ID[@schemeID = '0192'] | ram:GlobalID[@schemeID = '0192']
matches(normalize-space(), '^[0-9]{9}$') and u:mod11(normalize-space())UBL — context cbc:EndpointID[@schemeID = '0192'] | cac:PartyIdentification/cbc:ID[@schemeID = '0192'] | cbc:CompanyID[@schemeID = '0192']
matches(normalize-space(), '^[0-9]{9}$') and u:mod11(normalize-space())Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.