Skip to main content

Mapping tax calculation date

By default, the tax calculation date is set to be equal to the order creation date from Saleor order.

If you want to override it, you can do so by providing a value for the privateMetadata field avataxTaxCalculationDate.

mutation UpdatePrivateMetadata {
updatePrivateMetadata(
id: "order_id"
input: {
key: "avataxTaxCalculationDate"
value: "2022-08-31T13:00:00.000Z"
}
) {
item {
metadata {
key
value
}
}
}
}
info

The value of the avataxTaxCalculationDate field must be a valid UTC datetime string.


Was this page helpful?