Command: order.setOrderLineTax
Back to IndexSets the tax of an Order Line, either by a fixed total (taxTotal) or a percentage (taxFactor).
Body
orderLineId | uuid The ID of the Order Line to set the tax of. |
salesTax | number (optional) Sets the salesTax of the order line. Can not be combined with taxFactor command field. The value should should be based on the original sale value/quantity and not account for returns, as returns carry their own tax amount. |
taxFactor | number (optional) Sets the tax percentage of the order line. If set, the order line’s taxAmount, taxTotal and returns.tax will be calculated automatically. Can not be combined with taxAmount command field. |