Dear community members,
how can I calculate the vat category taxAmount?
is it just the sum of all invoice lines tax amounts?
thank you
Dear community members,
how can I calculate the vat category taxAmount?
is it just the sum of all invoice lines tax amounts?
thank you
Dear @mhmdAhmd, please check calculations in XML Implementation Standard
Below is relevant extract:
VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) × (VAT rate (BT-119) ÷ 100)
VAT category taxable amount (BT-116) = Σ(Invoice line net amounts (BT-131)) + Document level charge amount (BT-99) − Document level allowance amount (BT-92)
Ok, I have a question, how can I validate that all my calculations are correct ?
is it just to get the invoice reported without errors or warnings makes its calculations correct?
like I have an invoice with an two items:
1- 26.09 (excl. VAT) => 30 (with vat)
2- 5.17 (excl. VAT) * 2 (for qty) => 11.89 (with vat)
the total with vat is 41.89 or 41.90 in other calculations
@mhmdAhmd if there are any mistakes in the calculations, you will receive detailed error or warning message in the API call response.