[API] - Invoices total amount

Hi there, i can see, that in the json files of the API, there is not a “total amount” field.

We can calculate it with the tax code that exists there, but we have to make sure that the rounding is the same.

Can we have info about how manager rounds the total amount with some examles?

Totals are not calculated using tax codes. Tax codes are applied, and calculations are made and rounded to the defined decimal accuracy of the currency in use for the transaction, at the line item level. Line item quantities are simply summed to derive totals.

If the rounding option is chosen on a sales invoice, you can choose to round to nearest or round down. In either case, the rounding is to a whole unit of the currency, not tens, hundreds, or thousands, etc. A fraction of .5 is rounded up when rounded to nearest.