/ubl:Invoice/cac:LegalMonetaryTotal

Document Totals

Malaysia | VRBL-Invoice-MY-1p0
Context ID INV1115
Usage M

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
C 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

Example: MY_creditnote_02_v1.0_commented.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount currencyID="MYR">6000.00</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount currencyID="MYR">6000.00</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount currencyID="MYR">6000.00</cbc:TaxInclusiveAmount>
    <cbc:AllowanceTotalAmount currencyID="MYR">0.00</cbc:AllowanceTotalAmount>
    <cbc:ChargeTotalAmount currencyID="MYR">0.00</cbc:ChargeTotalAmount>
    <cbc:PayableAmount currencyID="MYR">6000.00</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-MY-1p0-98 The Invoice Total Amount Without Tax must exist within the Document Totals.
VRBL-INV-MY-1p0-99 The Invoice Total Amount With Tax must exist within the Document Totals.