PintLint

Rules / IBR-185-AE

When the Item type is 'Services' then Service accounting code must be provided

When the Item type [BTAE-13] is 'Services' then Service accounting code (BTAE-17) must be provided.

Fails when this is false

not(cac:CommodityClassification/cbc:CommodityCode = "S") or 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