Danish supplier CompanyID needs schemeID 0184
What it means
When a Danish supplier states a legal entity CompanyID, it must be declared as a CVR number by carrying schemeID "0184". Omitting the scheme leaves the receiver unable to tell which registry the number belongs to.
Can it be fixed automatically?
Nothing about your business is needed to fix this — the correct value is a constant, a code list entry, or is already present in the document.
This one can be repaired automatically. The API applies the fix, re-validates, and reports exactly what changed with before and after values.
How to fix it
Set schemeID="0184" on the supplier's PartyLegalEntity/CompanyID. The identifier value itself does not change.
Where it applies
| UBL | /Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID/@schemeID |
|---|
Check your own invoice
curl -X POST https://einvoice.mgsoft.sk/v1/validate \
-H 'Content-Type: application/xml' \
--data-binary @invoice.xml