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

Document Level Charge Reason Code

Italy | VRBL-Invoice-IT-1p2
Context ID INV0911
Usage O

Description

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

Details

Example: IT_invoice_full.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AllowanceCharge>
    <!-- ... omitted for readability -->
    <cbc:AllowanceChargeReasonCode>VRBL:IT:ZZZ</cbc:AllowanceChargeReasonCode>
    <!-- ... omitted for readability -->
  </cac:AllowanceCharge>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-IT-1p2-246 The value of the Document Level Charge Reason Code must be contained in UNCL7161 charge reason [VRBL-CL-ChargeReasonCode] or be contained in Social Security Charge Code [VRBL-CL-IT-SocialSecurityChargeCode] (prefixed by 'VRBL:IT:'). For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL7161/