๐Ÿ”˜ Amount Rounding

Set an automatic rounding of the document total.


๐Ÿ“˜

Note

  • In API The rounding option is meant only for documents (without receipt) and for sending - items prices before VAT.
  • The Automatic amount rounding will be affected only in a document types that doesn't include a receipt - 'Invoice', 'Order', 'Shipment Certificate'. In case of 'Invoice Receipt' which has an items array and payments array - the payments total amount will determine the final amount of the document (by the method request).
  • In case of automatic rounding the amount of the decimal point will enter to the discount section.

Method-

Document.New


Send in request parameters:

'round_digits'

0 - full round (X.00)

1 - partial round (X.X0)

2 - no round (X.XX)


'price_include_vat = false'

Send false in order to activate the automatic rounding.


The decimal amount in the discount value, shown as follows: