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

Document Level Charge Reason Code

Romania | VRBL-Invoice-RO-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/)
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: RO_creditnote_381_v1.0.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AllowanceCharge>
    <!-- ... omitted for readability -->
    <cbc:AllowanceChargeReasonCode>FC</cbc:AllowanceChargeReasonCode>
    <!-- ... omitted for readability -->
  </cac:AllowanceCharge>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-RO-1p0-85 The allowed maximum number of characters for the Document Level Charge Reason Code is 100.