Configure returns and exchanges tax calculation dates

You can configure the date used for tax calculations of returns and exchanges.

You can use the useOrderSubmittedDateForTax flag in the merchant settings Admin API, to use the order's submitted date for tax calculations. This allows you to calculate tax refunds for returns using the original order date, rather than the current date. This sends the date of the original order to external tax processors, such as Vertex and Avalara.

To modify this setting, issue a PUT command to the /ccadmin/v1/merchant/useOrderSubmittedDateForTax flag to true. For example:
{"userOrderSubmittedDateForTax":true}

To continue using the current date for tax calculations, set the useOrderSubmittedDateForTax flag to false.

If you are using Oracle CX Commerce 20.1 or earlier, the default for this flag is set to false. Later versions of Oracle CX Commerce have this flag default to true.