# View MyLodgeTax returns

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

Guide: MyLodgeTax

# View MyLodgeTax returns

**Element type**: Required

**Endpoint/model**: [getRevenueTransactionTaxReturns](https://developer.avalara.com/api-reference/myLodgeAPI/v1/methods/Tax%20Returns/getRevenueTransactionTaxReturns/)

Your integration must include a way for users to retrieve tax return statuses. This is done using the [getRevenueTransactionTaxReturns](https://developer.avalara.com/api-reference/myLodgeAPI/v1/methods/Tax%20Returns/getRevenueTransactionTaxReturns/) endpoint for a specific `locationId` and `transactionId`. This endpoint returns a list of tax returns that the given transaction will be or has been remitted on. For transactions with a `reported` status, an empty list of tax returns will be returned. Only transactions that have been confirmed (`transactionStatus:"confirmed"`), either by the taxpayer or by the system, will return a list containing one or more tax returns in the response.

When a tax return is generated by the MyLodgeTax system that contains this transaction, then `filingStatus` will contain a value of `remitted`.

Associated tax returns that are due in a future month (due to quarterly, semiannual, or annual filing) will indicate the future filing due date in the `dueDate` field, and in this case, the `filingStatus` will contain a value of `pending` until the return is generated by the MyLodgeTax system.

## Example request

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

## Example response

```
{
  "id": "string",
  "transactionStatus": "reported",
  "taxReturns": [
    {
      "remitToJurisdictionName": "Redding",
      "formName": "Transient Occupancy Tax",
      "licenseNumber": "82-1234-56789",
      "dueDate": "2023-04-20",
      "filingStatus": "pending"
    }
  ]
}
```