Cancelled before shipping
Nothing was recorded, so there is nothing to undo in Taxwire. Cancelling the whole order needs no call. To find the tax to refund for a partial cancellation, quote the cancelled lines withPOST /calculations:
- Send only the cancelled lines, each with the same addresses, tax code and discount it had on the order. Don’t quote the remaining lines and refund the difference.
- Set
transaction_dateto the checkout time, so the rates match what the buyer was charged. - If the shipping fee changes, add the change as an
ANCILLARY.SHIPPINGline.
tax_amount. When the rest of the order ships, record only the lines that shipped, as described in Checkout and shipment.