ibr-160-ae

When Frequency of billing (BTAE-06) value is 'Others', then value should be provided in Invoice note (IBT-022).

error: the document is invalid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
/ubl:Invoice | /cn:CreditNote
Test
not(cac:InvoicePeriod/cbc:DescriptionCode = "OTH" and not(exists(cbc:Note)))

Checked with PINT UAE Invoice, PINT UAE Credit Note