fatalPeppol BIS Billing 3.0profileCIIUBL
Danish suppliers MUST provide legal entity (CVR-number)
The seller is Danish but the invoice carries no legal entity identifier. Denmark requires the CVR number on every invoice.
Add the CVR number in PartyLegalEntity/cbc:CompanyID on the supplier party, with schemeID="0184" (see DK-R-014). The CVR is eight digits; do not send the SE number or a P-number here.
CII — context rsm:CrossIndustryInvoice[$DKSupplierCountry = 'DK']
(normalize-space(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:ID/text()) != '')
UBL — context ubl-creditnote:CreditNote[$DKSupplierCountry = 'DK'] | ubl-invoice:Invoice[$DKSupplierCountry = 'DK']
(normalize-space(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID/text()) != '')