PintLint

Rules / IBR-186-AE

When the Item type is 'Both' then Item classification identifier and Service accounting code must be provided

When the Item type [BTAE-13] is 'Both' then Item classification identifier (ibt-158) and Service accounting code (BTAE-17) must be provided.

Fails when this is false

not(cac:CommodityClassification/cbc:CommodityCode = "B") or (exists(cac:CommodityClassification/cbc:ItemClassificationCode) and exists(cac:AdditionalItemIdentification/cbc:ID))

The schematron test, verbatim. Context: cac:Item

Fix

Change the data so the condition below holds. It reads cac:AdditionalItemIdentification, cac:CommodityClassification, cbc:CommodityCode, cbc:ID. Paste the invoice into the validator to see the exact element that fails.

Official · PINT AE (UAE) rules. Severity: error. Runs on UBL XML.

Check your invoice for this rule