# Chapter 6.3 - Data Recovery Using Commit/Uncommit

Source: https://developer.avalara.com/products/communications/integration-guides/dev-guide_rest_v2/calculating-tax-offline/recover-data/

-   [Previous](/communications/dev-guide_rest_v2/calculating-tax-offline/retry-or-fallback/)
-   [Next](/communications/dev-guide_rest_v2/calculating-tax-offline/reconcile-transactions/)

The [Commit/Uncommit functionality](/communications/dev-guide_rest_v2/commit-uncommit/) in REST v2 allows you to process a transactions, but not include the transactions in compliance reports until you are ready.

To use [Commit](/communications/dev-guide_rest_v2/commit-uncommit/) to recover data impacted by an outage:

1.  Run your transactions with a unique Document Code (`doc`), such as a GUID
2.  Rerun your transactions using a new unique Document Code (`doc`) if timeouts or other errors occur during processing
3.  Validate your data using the [Customer Portal Data Explorer](https://communications.avalara.net/AFC/Reporting/Explorer)
4.  Commit the final Document Code (`doc`) using the [Commit endpoint](/communications/dev-guide_rest_v2/commit-uncommit/commit-request/) once all totals have been confirmed

-   [Previous](/communications/dev-guide_rest_v2/calculating-tax-offline/retry-or-fallback/)
-   [Next](/communications/dev-guide_rest_v2/calculating-tax-offline/reconcile-transactions/)