SE-R-010
- Message
For Swedish suppliers using Plusgiro, the Account ID must have 2-8 characters
- 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:PLUSGIRO']/cac:PayeeFinancialAccount/cbc:ID
- Test
string-length(normalize-space(.)) >= 2 and string-length(normalize-space(.)) <= 8