Skip to content

Command: order.setOrderLineTax

Back to Index

Sets the tax of an Order Line, either by a fixed total (taxTotal) or a percentage (taxFactor).

Body
orderLineIduuid

The ID of the Order Line to set the tax of.

salesTaxnumber (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.

taxFactornumber (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.

Back to Index