Message

The Norwegian legal registration name for the supplier MUST be provided according to "FOR 2004-12-01 nr 1558 - ยง 5-1-1. Point 2"

Context
cac:AccountingSupplierParty/cac:Party
Test
(cac:PartyLegalEntity/cbc:RegistrationName != '') and (//cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'NO') or not((//cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'NO'))
Usage
/ ubl:CreditNote / cac:AccountingSupplierParty / cac:Party / cac:PartyLegalEntity / cbc:RegistrationName