# Delete transactions

Source: https://developer.avalara.com/products/mylodge/integration-guides/mylodgetax/foj6792328086636/

Guide: MyLodgeTax

# Delete transactions

**Element type**: Conditional

**Endpoint/model**: [deleteRevenueTransactions](https://developer.avalara.com/api-reference/myLodgeAPI/v1/methods/Revenue/deleteRevenueTransaction/)

If your source application supports voiding/deleting transactions, then your integration must also allow users to voided/delete certain existing transactions. You can do this using the [deleteRevenueTransactions](https://developer.avalara.com/api-reference/myLodgeAPI/v1/methods/Revenue/deleteRevenueTransaction/) endpoint. Include the `locationId` and `transactionId` for the transaction that you want to delete in the request URL.

You can't delete revenue data that was reported in the prior reporting month or earlier. For example, you can't delete a transaction with a March transaction date after April 2.

```
curl -X 'DELETE' \
  'https://mylodgetaxapi-sbx.avalara.net/v1/locations/00001/revenuetransactions/123456789' \
  -H 'accept: application/json'
```