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

Invoice Line Charge Reason Code

Finland | VRBL-Invoice-FI-1p0
Context ID INV1275
Usage C
Usage Description

Required when an invoice line 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:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']/cbc:AllowanceChargeReasonCode

Description

The reason for the Invoice line charge, expressed as a code.

Details

Example: FI_invoice_380_full.xml

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