# Run a variance report for advanced features

Source: https://developer.avalara.com/products/crossborder/integration-guides/avatax-for-cdit/jfq0621186905854/

Guide: AvaTax Cross-Border (Customs Duty and Import Tax)

# Run a variance report for advanced features

Learn how to generate a variance report to compare sales invoices or purchase orders with customs documents.

Run a variance report to compare committed sales invoices or purchase orders with related customs documents. The report displays the difference between calculated and charged amounts of customs duty and tax.

Note

Your business practices determine how your company will handle the difference between the tax you calculated and the amount customs charged you.

Perform the following steps to run a variance report:

1.  Navigate to the Reports page in AvaTax.
2.  On the Transaction reports tab, select:
    -   Report Category: **Cross-border reports**
    -   Report Name: **Basic Transaction Variance Views**
3.  Specify the date range of transactions that you want included in the report.
4.  If you have multiple companies, select the company whose transactions you want to compare.
5.  Optionally specify document code ranges.
6.  Specify the country and region that you want included in the variance report.
7.  Specify whether to run this report for transactions where you’re the importer of record.
8.  Specify whether you want the output to be a full report or a partial report.
9.  Select whether you want the CSV output to be zipped.
10.  Finally, select Generate and download the report.

Note

You can also use the API to run a variance report. To do this:

1.  Call the [InitiateExportDocumentLineReport](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Reports/InitiateExportDocumentLineReport/) API for a specified date range to initiate a new report.
2.  The response includes the report ID. Using this ID, run either [DownloadReport](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Reports/DownloadReport/) or [GetReport](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Reports/GetReport/) to view the report.
3.  Extract the customs duties out of the transactions in this report to retrieve the variance.