hi
In Business Central, the total VAT amount in a Sales or Purchase document is calculated based on the VAT amount for each individual line item. The VAT calculation is based on the VAT posting setup for the company and the VAT registration number of the customer or vendor.
To answer your specific question, option (1) is correct. Business Central calculates the VAT amount for each line item based on the VAT percentage and the taxable amount. Then, the total VAT amount for the document is calculated by summing the VAT amounts for all the line items.
Here is an example:
Suppose you have a Sales Order with two line items:
Line item 1: Item A with a unit price of 10 USD and a VAT percentage of 10%
Line item 2: Item B with a unit price of 20 USD and a VAT percentage of 20%
The taxable amounts for each line item are:
Line item 1: 10 USD
Line item 2: 20 USD
The VAT amounts for each line item are:
Line item 1: 1 USD (10 USD x 10%)
Line item 2: 4 USD (20 USD x 20%)
Therefore, the total VAT amount for the Sales Order is 5 USD (1 USD + 4 USD).
DAniele