> This page is for Documentation, version Integration guides (default).
> For other versions, use one of these documentation indexes:
> - Integration guides (default): https://avalara.ferndocs.com/docs/integration-guides/llms.txt
> - Refactor guides: https://avalara.ferndocs.com/docs/refactor-guides/llms.txt
> - Get certified: https://avalara.ferndocs.com/docs/get-certified/llms.txt
> - Agent to Agent (A2A): https://avalara.ferndocs.com/docs/agent-to-agent-a2a/llms.txt
> - AI use cases: https://avalara.ferndocs.com/docs/ai-use-cases/llms.txt
> - API versioning: https://avalara.ferndocs.com/docs/api-versioning/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://avalara.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://avalara.ferndocs.com/_mcp/server.

# Data Recovery Using Commit/Uncommit

* [Previous](https://developer.avalara.com/communications/dev-guide_rest_v2/calculating-tax-offline/retry-or-fallback/)
* [Next](https://developer.avalara.com/communications/dev-guide_rest_v2/calculating-tax-offline/reconcile-transactions/)

The [Commit/Uncommit functionality](https://developer.avalara.com/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](https://developer.avalara.com/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](https://developer.avalara.com/communications/dev-guide_rest_v2/commit-uncommit/commit-request/) once all totals have been confirmed

* [Previous](https://developer.avalara.com/communications/dev-guide_rest_v2/calculating-tax-offline/retry-or-fallback/)
* [Next](https://developer.avalara.com/communications/dev-guide_rest_v2/calculating-tax-offline/reconcile-transactions/)

> **Note**
>
> Part of the **Communications REST v2 Developer Guide** integration guide. [Open the full "Data Recovery Using Commit/Uncommit" milestone on Avalara](https://developer.avalara.com/products/communications/integration-guides/dev-guide_rest_v2/calculating-tax-offline/) to see every page in this section.