warningPeppol BIS Billing 3.0profileUBL
For Danish Customers it is mandatory to specify schemeID as "0184" (DK CVR-number) when PartyLegalEntity/CompanyID is used for AccountingCustomerParty
The Danish customer's legal entity CompanyID has no schemeID "0184".
Set schemeID="0184" on the customer's PartyLegalEntity/cbc:CompanyID. Warning only, but Danish receivers use it to match the invoice to the right entity.
UBL — context ubl-creditnote:CreditNote[$DKSupplierCountry = 'DK' and $DKCustomerCountry = 'DK']/cac:AccountingCustomerParty/cac:Party | ubl-invoice:Invoice[$DKSupplierCountry = 'DK' and $DKCustomerCountry = 'DK']/cac:AccountingCustomerParty/cac:Party
not(((boolean(cac:PartyLegalEntity/cbc:CompanyID)) and (normalize-space(cac:PartyLegalEntity/cbc:CompanyID/@schemeID) != '0184')))