/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']/cbc:AllowanceChargeReasonCode

Document Level Charge Reason Code

Belgium | VRBL-Invoice-BE-1p0
Context ID INV0911
Usage C
Usage Description

Required when a document charge exists and no charge reason cbc:AllowanceChargeReason is specified.

Format [UNCL 7161 subset](https://docs.peppol.eu/poacc/billing/3.0/upcoming/codelist/UNCL7161/)
Example Value FC
Final Format Path /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']/cbc:AllowanceChargeReasonCode

Description

The reason for the document level charge, expressed as a code.

Details

Example: BE_invoice_380-financial-discount.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AllowanceCharge>
    <!-- ... omitted for readability -->
    <cbc:AllowanceChargeReasonCode>ZZZ</cbc:AllowanceChargeReasonCode>
    <!-- ... omitted for readability -->
  </cac:AllowanceCharge>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-RCM-34 The value of the Document Level Charge Reason Code must be contained in UNCL 7161 [VRBL-CL-PEPPOL-UNCL-7161].