Peppol BIS Billing 3.0.18 · UBL

IS-R-010: If seller is icelandic and invoice contains supporting description EINDAGI the id date…

Peppol BIS Billing 3.0.18 · UBL

fatalcountry

Original rule text

[IS-R-010]-If seller is icelandic and invoice contains supporting description EINDAGI the id date must be same or later than due date — Ef seljandi er íslenskur þá skal eindagi (BT-122, DocumentDescription = EINDAGI) skal vera sami eða síðar en gjalddagi (BT-9) ef eindagi er til staðar.

Stored validation assertion
(exists(cac:AdditionalDocumentReference[cbc:DocumentDescription = 'EINDAGI']) and (cbc:DueDate) <= (cac:AdditionalDocumentReference[cbc:DocumentDescription = 'EINDAGI']/cbc:ID)) or not(exists(cac:AdditionalDocumentReference[cbc:DocumentDescription = 'EINDAGI']))

IS-R-010 is a fatal rule in the country layer of Peppol BIS Billing 3.0.18 · UBL. An invoice that breaks it is rejected. It refers to BT-122, BT-9.

What this rule requires

For an invoice or credit note in UBL where the supplier country is IS, if any cac:AdditionalDocumentReference has cbc:DocumentDescription exactly EINDAGI, then the value in that reference's cbc:ID must be a date that is the same as or later than the cbc:DueDate. The rule passes if no such EINDAGI reference exists. The test is (cbc:DueDate) <= (cac:AdditionalDocumentReference[cbc:DocumentDescription = 'EINDAGI']/cbc:ID), which corresponds to the EINDAGI supporting description (BT-122) and the due date (BT-9).

How to fix

In the UBL invoice or credit note, ensure that for every cac:AdditionalDocumentReference with cbc:DocumentDescription equal to EINDAGI, the cbc:ID value is a date that is the same as or later than cbc:DueDate. If cbc:ID is earlier, either update cbc:ID to a date on or after the due date, or adjust cbc:DueDate to be on or before that ID, according to the actual payment terms. If the EINDAGI reference is not needed, remove it.

Guidance on this rule. The original text above is authoritative.

Where to go next

IS-R-010 changed in 1 published Peppol BIS Billing UBL release comparison:

Validate an invoice against these rules · All release changes