Jump to content

When creating products through API, sales_prices values are rounded to 2 decimals.


Recommended Posts

Posted

We have products with 3 and 4 decimals as unit prices (Sales Price), which is accepted as input, but recorded as 2 decimals. How do I overcome this? I'm not keen on redefining units as batches, so there must be another way. The products are normally ordered in large quantities, but not in pre-defined batches.

Thanks.

  • 1 month later...
Posted

As a follow-up - batches don't work well either, because quantity suffers from the same 2 decimal limit. In the API reference, invoice_lines.quantity is specified as a double. A Double data type is normally 15 digits of precision.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...