Faktura

SE-R-004

fatalPeppol BIS Billing 3.0profileCIIUBL

Swedish organisation numbers consist of 10 characters.

Why it fails

The Swedish organisation number is not exactly 10 characters.

How to fix it

It is always ten digits. A personnummer used as an organisation number is also ten digits - six for the date plus four - written without a century prefix or a hyphen.

What the validator checks

CII — context rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization[../ram:PostalTradeAddress/ram:CountryID = 'SE' and ram:ID]

string-length(normalize-space(ram:ID)) = 10

UBL — context //cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity[../cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'SE' and cbc:CompanyID]

string-length(normalize-space(cbc:CompanyID)) = 10

Related rules

Part of SE-R — Sweden.

Validate an invoice against this rule →

This is a Peppol BIS Billing 3.0 rule: an invoice can be perfectly valid EN 16931 and still be rejected by it.