When we make a call to the API endpoint POST /orders is it possible to provide the price as an including tax VAT/GST amount?
Our current line on our order looks like this:
[
“qty” => 1,
“subprice” => 7.90,
“tva_tx” => 15,
“fk_product” => $doli_id,
]
subprice specifies a tax exc amount but we need it to be tax inclusive.
My expectation would be that Dolibarr stores the price without tax, and then every time it needs the price with tax, it would look up the price without tax and the tax rate(s) and then calculate the price with tax.
This way if the tax rate changes, then you only have to change it one place and not update all products.