/ubl:Invoice/cac:LegalMonetaryTotal

Document Totals

Australia | VRBL-Invoice-AU-1p0
Context ID INV1115
Usage M
Mandate Business Term Code IBG-22
Final Format Path /ubl:Invoice/cac:LegalMonetaryTotal

Description

A group of business terms providing the monetary totals for the Invoice.

Child elements
Usage Element Description Cardinality
M cbc:LineExtensionAmount Sum of Invoice Line Net Amount

The monetary amount of an extended transaction line, net of tax and settlement discounts, but inclusive of any applicable rounding amount.

0..1
M cbc:TaxExclusiveAmount Invoice Total Amount Without Tax

The monetary amount of an extended transaction line, exclusive of taxes.

0..1
M cbc:TaxInclusiveAmount Invoice Total Amount With Tax

The monetary amount including taxes; the sum of payable amount and prepaid amount.

0..1
C cbc:AllowanceTotalAmount Sum of Allowances on Document Level

The total monetary amount of all allowances.

0..1
C cbc:ChargeTotalAmount Sum of Charges on Document Level

The total monetary amount of all charges.

0..1
O cbc:PrepaidAmount Paid Amount

The total prepaid monetary amount.

0..1
O cbc:PayableRoundingAmount Rounding Amount

The rounding amount (positive or negative) added to produce the line extension amount.

0..1
M cbc:PayableAmount Amount Due For Payment

The amount of the monetary total to be paid.

1..1
Details

vrbl-invoice-au-1p0

In Australian invoices, if the Invoice/cbc:InvoiceTypeCode is equal to 380 or 389 and the Amount Due For Payment in cbc:PayableAmount is a positive amount, then one of the two following fields must be provided:

Payment Terms Note in /Invoice/cac:PaymentTerms/cbc:Note
Payment Due Date in /Invoice/cbc:DueDate

Example: AU_CreditNote.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount currencyID="AUD">159.43</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount currencyID="AUD">159.43</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount currencyID="AUD">175.37</cbc:TaxInclusiveAmount>
    <cbc:PayableAmount currencyID="AUD">175.37</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-45 The Sum of Invoice Line Net Amount must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-46 The Invoice Total Amount Without Tax must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-47 The Invoice Total Amount With Tax must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-51 The Sum of Allowances on Document Level must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-50 The Sum of Charges on Document Level must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-49 The Paid Amount must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-48 The Amount Due For Payment must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-52 In case the Amount Due For Payment is positive, either the Payment Terms Note or the Payment Due Date must be present.
VRBL-INV-PEPPOL-PINT-73 The Sum of Invoice Line Net Amount must exist within the Document Totals.
VRBL-INV-PEPPOL-PINT-74 The Invoice Total Amount Without Tax must exist within the Document Totals.
VRBL-INV-PEPPOL-PINT-75 The Invoice Total Amount With Tax must exist within the Document Totals.
VRBL-INV-PEPPOL-PINT-77 The Sum of Allowances on Document Level must have no more than 2 decimals.
VRBL-INV-PEPPOL-PINT-78 The Sum of Charges on Document Level must have no more than 2 decimals.
VRBL-INV-PEPPOL-PINT-79 The Amount Due For Payment must have no more than 2 decimals.
VRBL-INV-PEPPOL-PINT-80 The Invoice Total Amount Without Tax must have no more than 2 decimals.
VRBL-INV-PEPPOL-PINT-81 The Invoice Total Amount With Tax must have no more than 2 decimals.
VRBL-INV-PEPPOL-PINT-82 If there is a Paid Amounts then Paid Amount must exist.