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

Document Level Charges

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

Description

A group of business terms providing information about charges and taxes other than tax, applicable to the Invoice as a whole.

Child elements
Usage Element Description Cardinality
O cec:UBLExtensions Charge Extensions Group 0..1
M cbc:ChargeIndicator Document Level Charge Indicator

An indicator that this AllowanceCharge describes a charge (true) or a discount (false).

1..1
O cbc:AllowanceChargeReasonCode Document Level Charge Reason Code

A mutually agreed code signifying the reason for this allowance or charge.

0..1
O cbc:AllowanceChargeReason Document Level Charge Reason

The reason for this allowance or charge.

0..n
O cbc:MultiplierFactorNumeric Document Level Charge Percentage

A number by which the base amount is multiplied to calculate the actual amount of this allowance or charge.

0..1
M cbc:Amount Document Level Charge Amount

The monetary amount of this allowance or charge to be applied.

1..1
O cbc:BaseAmount Document Level Charge Base Amount

The monetary amount to which the multiplier factor is applied in calculating the amount of this allowance or charge.

0..1
M cac:TaxCategory Document Level Charge Tax Category

A tax category applicable to this allowance or charge.

0..n
Details

Example: IT_invoice_TD01_Discount.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReason>Service charge</cbc:AllowanceChargeReason>
    <cbc:Amount currencyID="EUR">100</cbc:Amount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>22</cbc:Percent>
      <cac:TaxScheme>
        <cbc:ID>VAT</cbc:ID>
      </cac:TaxScheme>
    </cac:TaxCategory>
  </cac:AllowanceCharge>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-IT-1p2-166 For Social Security Charges, the Charge Organisation Code must exist within the Document Level Charges.
VRBL-INV-IT-1p2-173 For Social Security Charges, the value of the Charge Organisation Code must be contained in Organization Code [VRBL-CL-IT-OrganizationCode] (prefixed by 'VRBL:IT:'). Allowed values: VRBL:IT:TC01, VRBL:IT:TC02, VRBL:IT:TC03, VRBL:IT:TC04, VRBL:IT:TC05, VRBL:IT:TC06, VRBL:IT:TC07, VRBL:IT:TC08, VRBL:IT:TC09, VRBL:IT:TC10, VRBL:IT:TC11, VRBL:IT:TC12, VRBL:IT:TC13, VRBL:IT:TC14, VRBL:IT:TC15, VRBL:IT:TC16, VRBL:IT:TC17, VRBL:IT:TC18, VRBL:IT:TC19, VRBL:IT:TC20, VRBL:IT:TC21, VRBL:IT:TC22.
VRBL-INV-IT-1p2-167 For Social Security Charges, the Document Level Charge Percentage must exist within the Document Level Charges.
VRBL-INV-IT-1p2-169 For Social Security Charges, the Document Level Charge Tax Category Code must exist within the Document Level Charges.
VRBL-INV-IT-1p2-170 For Social Security Charges, the Document Level Charge Tax Rate must exist within the Document Level Charges.
VRBL-INV-IT-1p2-172 For Social Security Charges, the Document Level Charge Tax Exemption Reason Code must exist, when the Document Level Charge Tax Category Code indicates a Tax Exemption.
VRBL-INV-IT-1p2-184 The Charge Withholding Indicator must not be provided in conditions other than Social Security Charges.
VRBL-INV-IT-1p2-185 The Charge Administration Reference Code must not be provided in conditions other than Social Security Charges.
VRBL-INV-CORE-320 The Document Level Charges expects a maximum of one Document Level Charge Reason.