# SE-R-009

Source: https://xmlvalid.com/rules/SE-R-009

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

- Level: warning
- Rule sets: Peppol BIS Billing 3.0 rules 3.0.21
- 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`
- Test: `string-length(normalize-space(.)) = 7 or string-length(normalize-space(.)) = 8`

Validate a document against these rules: https://xmlvalid.com/validate
