/ubl:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount

Amount Due For Payment

Portugal | VRBL-Invoice-PT-2p1
Context ID INV1148
Usage M

Description

The outstanding amount that is requested to be paid.

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

The currency of the amount.

1..1
Details

Example: PT_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:LegalMonetaryTotal>
    <!-- ... omitted for readability -->
    <cbc:PayableAmount currencyID="EUR">500.00</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PT-2p1-264 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-PT-2p1-265 The Legal Monetary Total Payable Amount Currency Code must be equal to Document Currency Code.
VRBL-INV-EN16931-CM-360 The value of the Legal Monetary Total Payable Amount Currency Code must be contained in Alpha-3 currency [VRBL-CL-EN16931-CurrencyCode].
VRBL-INV-EN16931-S-282 The Amount Due For Payment must have no more than 2 decimals.
VRBL-INV-CORE-416 The Legal Monetary Total Payable Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency.