Faktura

SE-R-009

warningPeppol BIS Billing 3.0profileCIIUBL

For Swedish suppliers using Bankgiro, the Account ID must have 7-8 characters

Why it fails

The Bankgiro number is not 7 or 8 digits.

How to fix it

Bankgiro numbers are 7 or 8 digits. Strip the hyphen before sending.

What the validator checks

CII — context /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction[ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty[ram:PostalTradeAddress/ram:CountryID = 'SE']]/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans[normalize-space(ram:TypeCode) = '30' and normalize-space(ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID) = 'SE:BANKGIRO']/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID

string-length(normalize-space(.)) = 7 or string-length(normalize-space(.)) = 8

UBL — context //cac:PaymentMeans[//cac:AccountingSupplierParty/cac:Party[cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'SE'] and normalize-space(cbc:PaymentMeansCode) = '30' and normalize-space(cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID) = 'SE:BANKGIRO']/cac:PayeeFinancialAccount/cbc:ID

string-length(normalize-space(.)) = 7 or string-length(normalize-space(.)) = 8

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.