/ubl:Invoice/cac:LegalMonetaryTotal

Document Totals

Slovenia | VRBL-Invoice-SI-1p0
Context ID INV1115
Usage M
Mandate Business Term Code BG-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

Example: SI_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount currencyID="EUR">400</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount currencyID="EUR">400</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount currencyID="EUR">488</cbc:TaxInclusiveAmount>
    <cbc:AllowanceTotalAmount currencyID="EUR">100</cbc:AllowanceTotalAmount>
    <cbc:ChargeTotalAmount currencyID="EUR">100</cbc:ChargeTotalAmount>
    <cbc:PayableAmount currencyID="EUR">488</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-EN16931-M-21 The Sum of Invoice Line Net Amount must exist within the Document Totals.
VRBL-INV-EN16931-M-22 The Invoice Total Amount Without Tax must exist within the Document Totals.
VRBL-INV-EN16931-M-23 The Invoice Total Amount With Tax must exist within the Document Totals.
VRBL-INV-EN16931-M-29 The Sum of Invoice Line Net Amount must have no more than 2 decimals.
VRBL-INV-EN16931-M-30 The Sum of Allowances on Document Level must have no more than 2 decimals.
VRBL-INV-EN16931-M-31 The Sum of Charges on Document Level must have no more than 2 decimals.
VRBL-INV-EN16931-M-32 The Invoice Total Amount Without Tax must have no more than 2 decimals.
VRBL-INV-EN16931-M-33 The Invoice Total Amount With Tax must have no more than 2 decimals.
VRBL-INV-EN16931-M-34 The Paid Amount must have no more than 2 decimals.
VRBL-INV-EN16931-M-35 The Rounding Amount must have no more than 2 decimals.
VRBL-INV-EN16931-M-36 The Amount Due For Payment must have no more than 2 decimals.