IBR-091-OM

When Invoice transaction type (BTOM-001) is Profit margin invoice (00000000010000000000), Item classification identifier (IBT-158, listID='HS') MUST NOT start with '7101', '7102', '7103', '7104', '01' or '06'.

About

ID
IBR-091-OM
Flag
fatal
Context
cac:InvoiceLine | cac:CreditNoteLine
Test
not($isProfitMargin) or (every $code in cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode[@listID='HS'] satisfies not( starts-with(normalize-space($code),'7101') or starts-with(normalize-space($code),'7102') or starts-with(normalize-space($code),'7103') or starts-with(normalize-space($code),'7104') or starts-with(normalize-space($code),'01') or starts-with(normalize-space($code),'06')))