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

Document Level Charge Reason Code

Australia | VRBL-Invoice-AU-1p0
Context ID INV0911
Usage C
Usage Description

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

Format UNCL7161
Mandate Business Term Code IBT-105
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: AU_Invoice.xml

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