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

Paid Amount

New Zealand | VRBL-Invoice-NZ-1p0
Context ID INV1144
Usage O

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: NZ_Invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:LegalMonetaryTotal>
    <!-- ... omitted for readability -->
    <cbc:PrepaidAmount currencyID="AUD">50.00</cbc:PrepaidAmount>
    <!-- ... omitted for readability -->
  </cac:LegalMonetaryTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-PINT-185 The Legal Monetary Total Prepaid Amount Currency Code must have the same value as the Document Currency Code, except for the invoice Total Tax Amount in accounting currency.
VRBL-INV-PEPPOL-PINT-221 The value of the Legal Monetary Total Prepaid Amount Currency Code must be contained in ISO 4217 Alpha-3 currency [VRBL-CL-PINT-CurrencyCode]. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO4217/
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.