Swedish organisation number has the wrong format
What it means
A Swedish organisation number is ten digits with no separators and a valid check digit. This rule fires for any seller with a Swedish address, so it also catches placeholder values in test data. Note that Peppol applies it based on the address in the document, not on any country you configured.
Can it be fixed automatically?
This needs a decision only the issuer can make. Guessing it would produce an invoice that validates and is wrong, which is worse than one that fails.
How to fix it
Supply the real ten-digit organisation number without hyphens or a century prefix. If the digits themselves are wrong the correct number has to come from your company record — it cannot be derived or corrected automatically.
Where it applies
| UBL | /Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID |
|---|
Check your own invoice
curl -X POST https://einvoice.mgsoft.sk/v1/validate \
-H 'Content-Type: application/xml' \
--data-binary @invoice.xml