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

Invoice Line Charge Reason Code

New Zealand | VRBL-Invoice-NZ-1p0
Context ID INV1275
Usage O

Description

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

Details

Example: NZ_Invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:AllowanceCharge>
      <!-- ... omitted for readability -->
      <cbc:AllowanceChargeReasonCode>AAF</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-PINT-258 The value of the Invoice Line Charge Reason Code must be contained in UNCL 7161 [VRBL-CL-PINT-UNCL-7161].