/ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']/cbc:BaseAmount

Invoice Line Charge Base Amount

Latvia | VRBL-Invoice-LV-1p0
Context ID INV1280
Usage O
Final Format Path /ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']/cbc:BaseAmount

Description

The base amount that may be used, in conjunction with the Invoice line charge percentage, to calculate the Invoice line charge amount.

Child elements
Usage Element Description Cardinality
M @currencyID Invoice Line Charge Base Amount Currency Code

The currency of the amount.

1..1
Details

Example: LV_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:AllowanceCharge>
      <!-- ... omitted for readability -->
      <cbc:BaseAmount currencyID="EUR">100.00</cbc:BaseAmount>
    </cac:AllowanceCharge>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-RCM-113 The value of the Invoice Line Charge Base Amount Currency Code must be contained in Alpha-3 currency [VRBL-CL-PEPPOL-CurrencyCode].
VRBL-INV-PEPPOL-RS-60 The Invoice Line Charge Base 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-365 The value of the Invoice Line Charge Base Amount Currency Code must be contained in Alpha-3 currency [VRBL-CL-EN16931-CurrencyCode].
VRBL-INV-EN16931-S-289 The Invoice Line Charge Base Amount must have no more than 2 decimals.
VRBL-INV-CORE-486 The Invoice Line Charge Base Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency.