SE-R-008: For Swedish suppliers using Bankgiro, the Account ID must be numeric
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[SE-R-008]-For Swedish suppliers using Bankgiro, the Account ID must be numeric
string(number(normalize-space(.))) != 'NaN'SE-R-008 is a warning rule in the country layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is flagged but not rejected.
What this rule requires
For a Swedish supplier where cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode is SE, cbc:PaymentMeansCode is 30, and cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:ID is SE:BANKGIRO, the rule checks that cac:PayeeFinancialAccount/cbc:ID is numeric. The test passes when converting the normalized value to a number and then to string does not equal NaN, meaning the value must be parseable as a number. This rule has severity warning, so the validator reports it but the document is not rejected for this issue.
How to fix
Ensure that in the described payment means, the cac:PayeeFinancialAccount/cbc:ID element contains a numeric value (e.g. a string of digits) rather than letters or other non-numeric characters. Surrounding whitespace is ignored by the check, but the value itself must be numeric. If the account ID is not numeric, correct the invoice data or the system that generates it.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to SE-R-008.
Validate an invoice against these rules · All release changes