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

Document Level Allowance Reason Code

Norway | VRBL-Invoice-NO-1p0
Context ID INV0888
Usage C
Usage Description

Required when a document 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:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']/cbc:AllowanceChargeReasonCode

Description

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

Details

Example: NO_invoice_380_full.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AllowanceCharge>
    <!-- ... omitted for readability -->
    <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
    <!-- ... omitted for readability -->
  </cac:AllowanceCharge>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-RCM-32 The value of the Document Level 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-322 The value of the Document Level 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/