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.
just asking again about this:
Is it allowed to calculate the total tax amount on a ZATCA invoice by summing the tax from each individual line item?
This method validates successfully in the ZATCA sandbox.
because the way in the XML Implementation Standard results sometimes in numbers with small fractions, so is it allowed to just sum up the invoiceLine taxAmount, knowing that sandbox and simulation got no errors, no warnings, and were accepted
and If not, what to do to adjust the numbers (for example, 7.01 how to write it in the invoice 7 correctly because PayableRoundingAmount is not allowing decreasing or (-1) )
Thank you.