IS-R-002: If seller is icelandic then it shall contain sellers legal id — Ef seljandi er íslenskur…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[IS-R-002]-If seller is icelandic then it shall contain sellers legal id — Ef seljandi er íslenskur þá skal reikningur innihalda íslenska kennitölu seljanda (BT-30).
exists(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID) and cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID/@schemeID = '0196'IS-R-002 is a fatal rule in the country layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected. It refers to BT-30.
What this rule requires
The rule applies to UBL invoices and credit notes where the supplier's country code (cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode) is IS. For such documents, the supplier's legal entity must contain a cac:PartyLegalEntity/cbc:CompanyID with @schemeID set to 0196 (the Icelandic legal identifier, BT-30). A document fails if that CompanyID is missing, or if it exists but its @schemeID is not 0196.
How to fix
In the cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity element, add a cbc:CompanyID with @schemeID="0196" and the supplier's Icelandic legal identifier as its value. If the cbc:CompanyID already exists but has no @schemeID or a different scheme, set the @schemeID to 0196.
Guidance on this rule. The original text above is authoritative.
Where to go next
IS-R-002 changed in 1 published Peppol BIS Billing UBL release comparison:
- IS-R-002 in 3.0.2 → 3.0.10: New rule
Validate an invoice against these rules · All release changes