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

Invoice Line Allowance Reason Code

Germany | VRBL-Invoice-DE-PeppolBIS-3p0
Context ID INV1258
Usage C
Usage Description

Required when an invoice line allowance exists and no allowance reason cbc:AllowanceChargeReason is specified.

Format [UNCL 5189 subset](https://docs.peppol.eu/poacc/billing/3.0/upcoming/codelist/UNCL5189/)
Example Value 95
Final Format Path /ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']/cbc:AllowanceChargeReasonCode

Description

The reason for the invoice line allowance, expressed as a code.

Details

Example: DE-B2B_allowances.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:AllowanceCharge>
      <!-- ... omitted for readability -->
      <cbc:AllowanceChargeReasonCode>95</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-33 The value of the Invoice Line Allowance Reason Code must be contained in UNCL5189 allowance reason [VRBL-CL-PEPPOL-AllowanceReasonCode]. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL5189/
VRBL-INV-EN16931-CM-323 The value of the Invoice Line Allowance Reason Code must be contained in UNCL5189 allowance reason [VRBL-CL-EN16931-AllowanceReasonCode]. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL5189/