IS-R-006: If seller is icelandic and payment means code is 9 then a 12 digit account id must exist…
Peppol BIS Billing 3.0.10 · UBL
fatalcountry
Original rule text
[IS-R-006]-If seller is icelandic and payment means code is 9 then a 12 digit account id must exist — Ef seljandi er íslenskur og greiðslumáti (BT-81) er millifærsla (kóti 9) þá skal koma fram 12 stafa reikningnúmer (BT-84)
Stored validation assertion
exists(cac:PaymentMeans[cbc:PaymentMeansCode = '9']/cac:PayeeFinancialAccount/cbc:ID) and string-length(normalize-space(cac:PaymentMeans[cbc:PaymentMeansCode = '9']/cac:PayeeFinancialAccount/cbc:ID)) = 12 or not(exists(cac:PaymentMeans[cbc:PaymentMeansCode = '9']))
IS-R-006 is a fatal rule in the country layer of Peppol BIS Billing 3.0.10 · UBL. An invoice that breaks it is rejected. It refers to BT-81, BT-84.
Where to go next
IS-R-006 changed in 1 published Peppol BIS Billing UBL release comparison: