# Reporting location code

Source: https://developer.avalara.com/avatax-dm-combined-erp/sales-tax-badge/transactions/cert-reporting-location-code/

# Reporting location code

**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 you 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.

```
{    "lines": [      {        "number":"1",        "quantity":1,        "amount":100,        "taxCode":"P0000000",        "itemCode":"Test SKU",        "description":"Test Item Description",        "discounted": false      },      {        "number":"2",        "quantity":1,        "amount":10,        "taxCode":"FR020100",        "itemCode":"Freight SKU",        "description":"Common Carrier",        "discounted": false      }    ],    "addresses": {      "shipFrom":{        "line1":"1600 Pennsylvania Ave",        "city":"Washington",        "region":"DC",        "country":"US",        "postalCode":"20006"      },      "pointOfOrderOrigin":{        "line1":"100 Ravine Ln NE",        "city":"Bainbridge Island",        "region":"WA",        "country":"US",        "postalCode":"98110"      },      "shipTo":{        "line1":"915 F St Nw",        "city":"Washington, DC",        "region":"Washington, DC",        "country":"US",        "postalCode":"20004"      }    },     "code":"Test",    "type":"SalesInvoice",    "companyCode":"DEFAULT",    "date":"2020-11-04",    "customerCode":"Test Customer ID",    "reportingLocationCode":"ABCD",    "commit":false,    "currencyCode":"USD",    "isSellerImporterOfRecord":true}
```

[Previous](/avatax-dm-combined-erp/sales-tax-badge/transactions/cert-exemption-override)

[Next](/avatax-dm-combined-erp/sales-tax-badge/transactions/cert-exemption-number)