CL-11-OM

[CL-11-OM] - If invoice transaction type (BTOM-001) is 'Profit Margin Self-Invoice' or Profit margin invoice, Profit margin item reason code (BTOM-025) MUST be present and coded using Profit Margin Items Codelist.

About

ID
CL-11-OM
Flag
fatal
Context
cac:AdditionalItemProperty/cbc:NameCode
Test
(not($isProfitMargin or $isProfitMarginSelf)) or ( normalize-space(.) != '' and not(contains(normalize-space(.), ' ')) and contains( ' VATPM-OM-01 VATPM-OM-02 VATPM-OM-03 VATPM-OM-04 VATPM-OM-05 ', concat(' ', normalize-space(.), ' ') ) )