PintLint

Rules / IBR-186-AE

IBR-186-AE error

When the Item type is 'Both' then Item classification identifier 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 statement above is true. 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 an invoice