# Data recovery using Commit/Uncommit

Source: https://developer.avalara.com/products/communications/integration-guides/communications-integration/fda0318050594435/

Guide: Communications

# Data recovery using Commit/Uncommit

Learn how to use the Commit/Uncommit functionality in REST v2 to recover data and manage transactions effectively.

The Commit/Uncommit functionality in REST v2 allows you to process a transaction, but not include the transactions in compliance reports until you’re ready.

To use Commit to recover data impacted by an outage:

-   Run your transactions with a unique Document Code (doc), such as a GUID.
-   Rerun your transactions using a new unique Document Code (doc) if timeouts or other errors occur during processing.
-   Validate your data using the Customer Portal Data Explorer.
-   Commit the final Document Code (doc) using the Commit endpoint once all totals have been confirmed.