# Reporting location code

Source: https://developer.avalara.com/avatax-for-vat/fba3771249348654/

# Reporting location code

Understand the reporting location code and its role in tax authority reporting.

This topic is specific to the VAT marketplace solution.

**Element type:** Conditional

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

If your application supports multiple 'origin' addresses, then 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.

**Example**

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