# Return order/return invoices workflow

Source: https://developer.avalara.com/ecommerce-integration-guide/transactions/certification-requirements/return-order-invoice-workflow/

**Element type:** Required for Refunds

**Endpoints/models used:** N/A

Ensure that when you process a refund or credit memo, that you accurately record (commit) the credit memo to the AvaTax account. For refunds, this behavior should match the workflow that you use to calculate and record sales transactions. So, whether your configuration is set up to calculate only or to calculate and commit, ensure that your refund workflow mirrors that workflow.