# Reporting location code

Source: https://developer.avalara.com/avatax-for-ap/eto9540365955597/

# Reporting location code

**Element type:** Required

**Endpoints/models used:** [CreateTransactionModel](https://developer.avalara.com/api-reference/avatax/rest/v2/models/CreateTransactionModel/)

Your integration must provide an option for users to specify a `reportingLocationCode` in transactions that maps to a configured location name/ID. This value sets the sale location code (outlet ID) for reporting this document to the tax authority. Avalara Managed Returns uses this to group documents together by reporting locations for tax authorities that require location-based reporting.

**View example**:

```
{
    "code":"Test",
    "type":"SalesInvoice",
    "companyCode":"DEFAULT",
    "date":"2024-07-14",
    "customerCode":"Test Customer ID",
    "reportingLocationCode":"ABCD",
    "commit":false,
    "currencyCode":"USD",
    "isSellerImporterOfRecord":true,
    ...
}
```