All error codes › IS-R-001
IS-R-001 – If seller is icelandic then invoice type should be 380 or 381 — Ef seljandi er íslenskur…
WarningpeppolPeppol only
What the rule says
If seller is icelandic then invoice type should be 380 or 381 — Ef seljandi er íslenskur þá ætti gerð reiknings (BT-3) að vera sölureikningur (380) eða kreditreikningur (381).
How to fix it
Fill in or correct the fields named in the rule (the BT/BG codes tell you which). The test below shows exactly what is checked in the XML. Quickest: validate the invoice to get the exact location and, for amounts, the correct value.
This is a warning, not an error: it does not normally cause a rejection, but it is worth cleaning up.
Paste the XML and see every error with the exact fix and the correct amounts.
Where it is checked in the XML
Context: ubl-creditnote:CreditNote[$SupplierCountry = 'IS'] | ubl-invoice:Invoice[$SupplierCountry = 'IS']
Test (XPath):
( ( not(contains(normalize-space(cbc:InvoiceTypeCode),' ')) and contains( ' 380 381 ',concat(' ',normalize-space(cbc:InvoiceTypeCode),' ') ) ) ) or ( ( not(contains(normalize-space(cbc:CreditNoteTypeCode),' ')) and contains( ' 380 381 ',concat(' ',normalize-space(cbc:CreditNoteTypeCode),' ') ) ) )Related rules
IS-R-002If seller is icelandic then it shall contain sellers legal id — Ef seljandi er íslenskur…IS-R-003If seller is icelandic then it shall contain his address with street name and zip code —…IS-R-004If seller and buyer are icelandic then the invoice shall contain the buyers icelandic…IS-R-005If seller and buyer are icelandic then the invoice shall contain the buyers address with…IS-R-006If seller is icelandic and payment means code is 9 then a 12 digit account id must exist…IS-R-007If seller is icelandic and payment means code is 42 then a 12 digit account id must…IS-R-008If seller is icelandic and invoice contains supporting description EINDAGI then the id…IS-R-009If seller is icelandic and invoice contains supporting description EINDAGI invoice must…IS-R-010If seller is icelandic and invoice contains supporting description EINDAGI the id date…