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

Document Level Allowances

Australia | VRBL-Invoice-AU-1p0
Context ID INV0879
Usage O*
Mandate Business Term Code IBG-20
Final Format Path /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']

Description

A group of business terms providing information about allowances applicable to the invoice as a whole.

Child elements
Usage Element Description Cardinality
M cbc:ChargeIndicator Document Level Charge Indicator

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

1..1
C cbc:AllowanceChargeReasonCode Document Level Allowance Reason Code

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

0..1
C cbc:AllowanceChargeReason Document Level Allowance Reason

The reason for this allowance or charge.

0..n
O cbc:MultiplierFactorNumeric Document Level Allowance 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 Allowance Amount

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

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

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

0..1
O* cac:TaxCategory Document Level Allowance Tax Category

A tax category applicable to this allowance or charge.

0..n
Details

Example: AU_Invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>65</cbc:AllowanceChargeReasonCode>
    <cbc:AllowanceChargeReason>discount product with production error</cbc:AllowanceChargeReason>
    <cbc:MultiplierFactorNumeric>20</cbc:MultiplierFactorNumeric>
    <cbc:Amount currencyID="AUD">10</cbc:Amount>
    <cbc:BaseAmount currencyID="AUD">50</cbc:BaseAmount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>10</cbc:Percent>
      <cac:TaxScheme>
        <cbc:ID>GST</cbc:ID>
      </cac:TaxScheme>
    </cac:TaxCategory>
  </cac:AllowanceCharge>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-72 Either both or neither the Document Level Allowance Percentage and the Document Level Allowance Base Amount must be provided.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-19 In every Document Level Allowances where the Document Level Allowance Tax Category Code is "S", the Document Level Allowance Tax Rate must greater than zero.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-20 In every Document Level Allowances where the Document Level Allowance Tax Category Code is "Z", the Document Level Allowance Tax Rate must be zero.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-21 In every Document Level Allowances where the Document Level Allowance Tax Category Code is "E", the Document Level Allowance Tax Rate must be zero.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-22 In every Document Level Allowances where the Document Level Allowance Tax Category Code is "G", the Document Level Allowance Tax Rate must be zero.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-23 In every Document Level Allowances where the Document Level Allowance Tax Category Code is "O", the Document Level Allowance Tax Rate must not exist.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-76 An Invoice that contains a Tax Subtotal where the Tax Category ID is "O", must not contain Document Level Allowances where Document Level Allowance Tax Category Code is not "O".
VRBL-INV-PEPPOL-PINT-118 The Document Level Allowances must have an Document Level Allowance Amount.
VRBL-INV-PEPPOL-PINT-119 Each Document level Document Level Allowances must have a Document Level Allowance Reason or a Document Level Allowance Reason Code.
VRBL-INV-PEPPOL-PINT-120 The Document Level Allowances expects a maximum of one Document Level Allowance Reason.
VRBL-INV-CORE-299 The Document Level Allowances expects a maximum of one Document Level Allowance Reason.
VRBL-INV-CORE-556 Each Document Level Allowances must have a Tax Breakdown corresponding to its Document Level Allowance Tax Category Code and Document Level Allowance Tax Rate.