Table of Contents

Calculation of Amounts in LCY for Foreign Currency Sales Documents

For sales and service documents in foreign currency, the Use Altern. Sales VAT Amount setting on the VAT Setup (Ukraine) page determines how the amounts in local currency (LCY) are calculated. The calculated amounts are used for G/L entries when the invoice is posted.

Calculation Principle

When the setting is disabled, posting uses the amounts in LCY calculated by standard Business Central logic using the document exchange rate.

When the setting is enabled, the system calculates amounts for foreign currency lines with VAT in the following order:

  1. Converts the amount including VAT to LCY using the document exchange rate and rounds the result.
  2. Calculates the VAT base in LCY. It divides the amount including VAT in LCY by (1 + VAT rate / 100) and rounds the result. It obtains the VAT rate as a percentage from the line's VAT business and VAT product posting groups.
  3. Calculates the VAT amount in LCY as the difference between the amount including VAT and the VAT base in LCY.

If no VAT posting setup exists for the line's VAT posting groups, the system calculates the base in LCY by converting the amount excluding VAT using the document exchange rate. Document totals are calculated by summing the line amounts.

Fields for Storing Calculated Amounts

On posted sales invoice lines and posted service invoice lines, the Amount (LCY) field stores the amount excluding VAT in LCY, and the Amount Including VAT (LCY) field stores the amount including VAT in LCY.

Validation of Amounts Before Posting

On the Statistics pages for sales orders, service orders, and service invoices, the LCY FastTab shows two groups of fields for comparison:

  • Amounts for Posting shows the amount excluding VAT, the VAT amount, and the amount including VAT in LCY used for posting.
  • Calculated Altern. Sales Amounts or Calculated Altern. Service Amounts shows the amounts in LCY calculated from the amount including VAT for comparison.

In each group, the VAT amount is shown as the difference between the amount including VAT and the amount excluding VAT in LCY.

For foreign currency documents, the system checks the amounts when you release a sales order, post a sales document with the Released status, or release or post a service document. If the amounts for posting and the alternative amounts differ, the system prompts you to check Statistics and confirm that you want to continue. If you decline, the current action stops.

See Also

VAT Setup (Ukraine)

Create Sales VAT Invoice