Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > Getting Started >

How is tax calculated on xero, and can I override it?

Started by Metal Roofing Online -   in Getting Started

Hello,

I have an order I pass through to the invoice API with subtotal: 101.69 (subtotal is correct in Xero) but for some reason the "Total GST 10%" is calculating at $10.18 when 10% of 101.69 is 10.169, or rounded to 10.17 so my invoice on Xero is one cent extra due to miscalculation of tax. Just wondering what you guys can suggest I do to resolve this issue.

Thank you!
Hi,

This is to do with how Xero does rounding. For a similar example, have a look at this question.

If you want a verbal explanation have a look at this video.
 

Grace Benedek Rooney (Xero Staff)