SE-R-007: For Swedish suppliers using Plusgiro, the Account ID must be numeric
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[SE-R-007]-For Swedish suppliers using Plusgiro, the Account ID must be numeric
string(number(normalize-space(.))) != 'NaN'SE-R-007 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
The rule applies to Swedish suppliers when cbc:PaymentMeansCode is 30 and cac:FinancialInstitutionBranch/cbc:ID is SE:PLUSGIRO. It requires the cac:PayeeFinancialAccount/cbc:ID (the Account ID) to be numeric. The test converts the trimmed value with XPath number(); if the result is NaN, the value is not numeric. This is a warning, so the document is not rejected, but the value should be corrected.
How to fix
Set cac:PayeeFinancialAccount/cbc:ID to a numeric value, e.g. using only digits. Remove any letters, symbols, or internal spaces; a plain sequence of digits satisfies the rule. If the source system stores a non-numeric identifier, obtain the correct Plusgiro account number.
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-007.
Validate an invoice against these rules · All release changes