WarningPeppol BIS 3.0Input required

SE-R-009

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

What does this rule mean?

A Swedish Bankgiro number is not seven or eight characters long.

Bankgiro numbers are seven or eight digits.

Official rule message (standard)

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

Where the rule applies

Syntax: CII · UBL

The same rule, expressed twice: UBL and CII name the same fields with different paths. Running a CII file against the UBL rules is why you get errors that mean nothing.

UBL

  • //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

CII

  • /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

Technical test

The rule passes when this Schematron expression holds true:

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

How to fix it

A missing or incorrect business entry only you can supply. Add or correct it, then re-check.

Correct the Bankgiro number to seven or eight digits.

Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.

Check an e-invoice here

Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.

100% local — no upload, no account.

Related rules

← Back to the error library