/ubl:Invoice/cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount

Sum of Allowances on Document Level

Poland | VRBL-Invoice-PL-PeppolBIS-3p0
Context ID INV1140
Usage C
Usage Description

Required if Document Level Allowances exist.

Format Amount
Example Value 200.0
Mandate Business Term Code BT-107
Final Format Path /ubl:Invoice/cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount

Description

Sum of all allowances on document level in the invoice.

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

The currency of the amount.

1..1
Details

Example: PL_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:LegalMonetaryTotal>
    <!-- ... omitted for readability -->
    <cbc:AllowanceTotalAmount currencyID="PLN">100</cbc:AllowanceTotalAmount>
    <!-- ... omitted for readability -->
  </cac:LegalMonetaryTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-RCM-102 The value of the Legal Monetary Total Allowance Total Amount Currency Code must be contained in Alpha-3 currency [VRBL-CL-PEPPOL-CurrencyCode].
VRBL-INV-PEPPOL-RS-49 The Legal Monetary Total Allowance Total 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-EN16931-CM-356 The value of the Legal Monetary Total Allowance Total Amount Currency Code must be contained in Alpha-3 currency [VRBL-CL-EN16931-CurrencyCode].
VRBL-INV-EN16931-S-278 The Sum of Allowances on Document Level must have no more than 2 decimals.
VRBL-INV-CORE-404 The Legal Monetary Total Allowance Total Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency.
VRBL-INV-CORE-385 The Sum of Allowances on Document Level must have no more than 2 decimals.