Message

For Danish suppliers when the Accounting code is known, it should be referred on the Invoice

Context
ubl-creditnote:CreditNote[$supplierCountry = 'DK'] | ubl-invoice:Invoice[$supplierCountry = 'DK']
Test
not(normalize-space(cbc:AccountingCost/text()) = '')
Usage
/ ubl:Invoice / cbc:AccountingCost
/ ubl:CreditNote / cbc:AccountingCost