# Test your setup

Source: https://developer.avalara.com/avatax-dm-combined-erp/common-setup/configure-your-account/test-your-setup/

# Test your setup

Test your setup by running the [CreateTransaction API](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Transactions/CreateTransaction/). Below is a sample request.

**Advice:** In your request, be sure that you include a`shipTo` address that is within a jurisdiction that you enabled when creating your company. AvaTax will not calculate tax if the address is not within an enabled jurisdiction.

More information is available in the [Update where you collect and pay tax](https://knowledge.avalara.com/bundle/dqa1657870670369_dqa1657870670369/page/Update_where_you_collect_and_pay_tax.html) Knowledge Center article.

```
curl    -X POST    -H 'Accept: application/json'    -H 'Authorization: Basic ${btoa(`:`)}'    -H 'Content-Type: application/json'    --data '{      "lines": [        {          "number": "1",          "quantity": 1,          "amount": 100,          "taxCode": "PS081282",          "itemCode": "Y0001",          "description": "Yarn",          "addresses": {            "shipFrom": {              "line1": "2000 Main Street",              "city": "Irvine",              "region": "CA",              "country": "US",              "postalCode": "92614"            },            "shipTo": {              "line1": "2000 Main Street",              "city": "Irvine",              "region": "CA",              "country": "US",              "postalCode": "92614"            }          }        }      ],      "type": "SalesInvoice",      "date": "2020-10-28T00:00:00+00:00",      "customerCode": "ABC",      "purchaseOrderNo": "123456789",      "commit": true,      "taxOverride": {        "type": "TaxAmount",        "taxAmount": 6.25,        "taxDate": "2020-07-28T00:00:00+00:00",        "reason": "Precalculated Tax"      },      "currencyCode": "USD",      "description": "Yarn"    }'    'https://sandbox-rest.avatax.com/api/v2/transactions/create'
```

[Previous](/avatax-dm-combined-erp/common-setup/configure-your-account/configure-avatax-certification-requirements)

[Next](/avatax-dm-combined-erp/common-setup/configure-your-account/configuring-avatax-faq)