Through this endpoint, you can revert a tax calculation that was previously committed.

You can revert the “commit” operation using either the uuid provided in the response of the tax calculation API call or with the external_order_reference assuming you provided it during the tax calculation API call. In either case, you need to send the external_supplier_reference in the tax calculation request in order for Fonoa to be able to match revenue to a relevant supplier.

Example use case: If a transaction for which you calculated a tax rate gets canceled after the checkout was completed and you already committed that revenue via the Commit endpoint, you can use the Revert endpoint to deduct this sale amount for the tracked revenue.

Click Try It! to start a request and see the response here!