Rules / IBR-160-AE
IBR-160-AE error
When Frequency of billing value is 'Others', then value should be provided in Invoice note
When Frequency of billing (BTAE-06) value is 'Others', then value should be provided in Invoice note (IBT-022).
Fails when this is false
not(cac:InvoicePeriod/cbc:DescriptionCode = "OTH" and not(exists(cbc:Note)))The schematron test, verbatim. Context: /ubl:Invoice | /cn:CreditNote
Fix
Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.