/ubl:Invoice/cac:LegalMonetaryTotal/cbc:PrepaidAmount

Paid Amount

Malaysia | VRBL-Invoice-MY-1p0
Context ID INV1144
Usage C
Usage Description

Required when the Paid Amounts group cac:PrepaidPayment is provided.

Description

The sum of amounts which have been paid in advance.

Child elements
Usage Element Description Cardinality
M @currencyID Legal Monetary Total Prepaid Amount Currency Code

The currency of the amount.

1..1
Details

Example: MY_invoice_01_v1.0_commented.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:LegalMonetaryTotal>
    <!-- ... omitted for readability -->
    <cbc:PrepaidAmount currencyID="MYR">100</cbc:PrepaidAmount>
    <!-- ... omitted for readability -->
  </cac:LegalMonetaryTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CORE-410 The Legal Monetary Total Prepaid Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency.