Dataset
Avalara AvaTax sales tax transaction datasets for AI training
An Avalara dataset is an export of a seller's AvaTax account: committed transactions with their lines and the jurisdiction-level detail of each line's tax, plus the company's nexus declarations, locations, items mapped to tax codes, custom tax rules, exemption certificates and filed return summaries. SourceX sources it to a buyer's spec from established businesses that run Avalara AvaTax to calculate sales and use tax. Each dataset is de-identified, with customer names, tax IDs and street addresses removed, and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- A seller's committed AvaTax transactions with line and jurisdiction detail, plus nexus, items, tax rules, certificates and filings
- Typical systems
- Avalara AvaTax, with Avalara Returns and Exemption Certificate Management (formerly CertCapture) where the seller subscribes to them
- Typical history
- Varies by when the seller's commerce or ERP system began sending invoices to AvaTax; specify the tax years you need
- Modality
- Structured transaction, line and jurisdiction detail records, with certificate images as PDF only where licensed
- Delivery formats
- API JSON or transaction report CSV normalized to JSONL or Parquet, keeping one row per line per jurisdiction
- Preparation
- Customer codes pseudonymized; names, tax IDs and street addresses removed; ship-to kept at an agreed level; certificate images excluded or redacted
- Licensing
- Scoped per selling company and tax year; permitted use agreed per license; Avalara's terms on its tax content checked by owner and buyer
- Availability
- Sourced to your spec; modules, connectors and history differ by seller, and supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| company_ref | string | Pseudonymous key for the AvaTax Company, including any child company that reports separately. |
| transaction_ref | string | Pseudonymous key for the Transaction code, the document number the seller's connector sent, stable across versions. |
| document | object | The Transaction type, such as SalesInvoice, ReturnInvoice or PurchaseInvoice, with its date, taxDate and modifiedDate. |
| status_history | object | Transaction status (Saved, Committed, Cancelled or Adjusted), version, locked flag and the adjustmentReason recorded when a version was replaced. |
| addresses | object | The Transaction's ship-from and ship-to addresses, generalized to an agreed level, with the boundaryLevel each resolved to. |
| customer | object | Pseudonymous key for the Transaction's customerCode, the entity use code and whether an exemption number was passed. |
| lines | array | TransactionLine rows: line number, item key, taxCode, quantity, lineAmount, taxIncluded flag and line tax. |
| line_details | array | TransactionLineDetail rows, one per taxing jurisdiction: jurisdictionType, taxType, rate, taxableAmount, exemptAmount, nonTaxableAmount, tax and taxCalculated. |
| tax_override | object | The taxOverrideType, amount and reason from the Transaction or TransactionLine, when the seller imposed a tax amount or date. |
| item_mapping | array | Item records behind the lines: item key, description and the TaxCode each maps to, with custom codes flagged. |
| nexus_declarations | array | Nexus rows for the Company: region, jurisdiction type, nexus type, effective date and end date. |
| custom_tax_rules | array | TaxRule records the seller created: rule type, tax code, jurisdiction, value and effective dates. |
| certificate | object | The Certificate behind an exempt line: exposure zone, exemption reason, signed and expiration dates and valid flag, without the image or any Customer detail. |
| filing_summary | object | The Filing summary from Avalara Returns for the transaction's period and region: frequency, status and return totals. |
Field names from the table above; values are masked placeholders.
Example record
{
"company_ref": "co_5d1e",
"transaction_ref": "txn_8a41f0",
"document": {
"type": "SalesInvoice",
"date": "2024-03-14",
"tax_date": "2024-03-14",
"modified_date": "2024-03-21T16:20:05Z"
},
"status_history": {
"status": "Committed",
"version": 2,
"locked": true,
"adjustment_reason": "PriceAdjusted"
},
"addresses": {
"ship_from": {
"region": "WA",
"postal_prefix": "984"
},
"ship_to": {
"region": "WA",
"postal_prefix": "992",
"boundary_level": "Address"
}
},
"customer": {
"customer_ref": "cust_0c93",
"entity_use_code": null,
"exemption_number_passed": false
},
"lines": [
{
"line_number": "1",
"item_key": "itm_2207",
"tax_code": "P0000000",
"quantity": 4,
"line_amount": 1840.0,
"tax_included": false,
"tax": 187.68
}
],
"line_details": [
{
"line_number": "1",
"jurisdiction_type": "State",
"juris_key": "WA",
"tax_type": "Sales",
"rate": 0.065,
"taxable_amount": 1840.0,
"exempt_amount": 0,
"non_taxable_amount": 0,
"tax": 119.6,
"tax_calculated": 119.6
},
{
"line_number": "1",
"jurisdiction_type": "City",
"juris_key": "jur_c41",
"tax_type": "Sales",
"rate": 0.023,
"taxable_amount": 1840.0,
"exempt_amount": 0,
"non_taxable_amount": 0,
"tax": 42.32,
"tax_calculated": 42.32
},
{
"line_number": "1",
"jurisdiction_type": "Special",
"juris_key": "jur_s09",
"tax_type": "Sales",
"rate": 0.014,
"taxable_amount": 1840.0,
"exempt_amount": 0,
"non_taxable_amount": 0,
"tax": 25.76,
"tax_calculated": 25.76
}
],
"tax_override": {
"type": "None"
},
"item_mapping": [
{
"item_key": "itm_2207",
"description": "Handheld barcode scanner",
"tax_code": "P0000000",
"custom_code": false
}
],
"nexus_declarations": [
{
"region": "WA",
"jurisdiction_type": "State",
"nexus_type": "SalesOrSellersUseTax",
"effective_date": "2019-01-01",
"end_date": null
}
],
"custom_tax_rules": [],
"certificate": null,
"filing_summary": {
"period": "2024-03",
"region": "WA",
"filing_frequency": "Monthly",
"status": "Filed"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train sales tax determination
Lines with an item, a tax code, two addresses and each jurisdiction's tax are worked examples of taxability and sourcing.
Evaluate tax agents on real invoices
Held-out committed transactions let you grade an agent's jurisdiction breakdown against what was recorded.
Classify products to tax codes
Item descriptions paired with the tax codes the seller's tax team chose are labeled classification examples.
Model exemption handling
Exempt lines joined to certificate metadata show which exposure zone, reason and expiration date supported each exemption.
Reconcile transactions to returns
Committed tax by state and period set against filing summaries is practice material for compliance review.
Use-case guides: Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Detail rows present
Every line arrives with jurisdiction rows that foot to the line and document totals.
Disciplined commits
Few stranded Saved documents and no sandbox or test transactions in production history.
Mapped catalog
Few lines on the general default tax code means the seller classified its products.
Version trail
Adjusted and voided versions are kept with their reasons.
Address precision
Ship-to addresses resolved at street level, not postal code level, give local tax rows you can trust.
Filing tie-out
Committed totals agree with the return summaries for the same state and period.
Value drivers
Avalara dataset
Each AvaTax line is a tax determination with one row per jurisdiction
AvaTax stores a sale in three levels. The Transaction is the document, the TransactionLine is one item or charge on it, and under every line sit TransactionLineDetail rows, one for each jurisdiction that applies to it: the state, then the county, city and any special district. Each detail row carries the jurisdiction type, the tax type (sales, use or consumer use), the rate, and the line amount split into taxable, exempt and non-taxable parts, with the tax that resulted. The inputs sit on the same record: the item code and its tax code, the ship-from and ship-to addresses, the customer code, any entity use code and the document date. A line is a worked determination, question and answer together.
AvaTax reports an exempt amount apart from a non-taxable amount. As a rule the first comes from the customer, through a certificate, an entity use code or an exemption number on the request, and the second from the product, through its tax code or a taxability rule. Check on a sample where the seller's custom rules landed. When the seller overrode the result, the row keeps both figures: tax is what was recorded and taxCalculated is what the engine would have charged. Lines sent with no tax code fall back to the general tangible goods code, P0000000, so the share of lines on that code shows how carefully the seller mapped its catalog.
Adjusting a committed transaction writes a new version with an adjustment reason and leaves the earlier one with status Adjusted, a void marks it Cancelled, and a transaction reported on a filed return is locked. Nexus rows and custom tax rules have effective dates, but an Item record carries one tax code, its current mapping, so the tax code stored on each historical line is the dependable record of how a product was classified.
AvaTax keeps invoices, not checkout estimates, and the rates are Avalara's content
What persists depends on the document type the seller's connector sent. Order types such as SalesOrder are estimates: AvaTax calculates them, returns the answer and stores nothing. Invoice types such as SalesInvoice and ReturnInvoice are recorded, as Saved and then Committed, and only committed transactions flow to liability reports and returns. A storefront typically asks for an estimate whenever a cart changes and sends one invoice per order, so the far more numerous checkout calculations were never kept. Ask when each connector commits, because Saved documents pile up when an integration fails halfway.
Extraction has its own gaps. The API's transaction list returns document headers unless lines, details and addresses are explicitly included, so a careless pull has totals and no determinations. Report exports from the console do not share the API's nesting, so ask which report or call produced each file and whether it has one row per line per jurisdiction. Sellers also import marketplace and historical sales with the tax already fixed, and such rows carry a tax override in place of a calculation.
The rates, the tax code definitions and the jurisdiction boundaries behind every answer are content Avalara maintains and supplies under its own agreement. A seller's transactions necessarily show the rate and jurisdiction applied to its own lines, so the data owner and buyer should check that agreement, with counsel, for which of those fields may be delivered. The dataset is one seller's transactions and certificates, not the tax engine. To test a sample, take one month. Foot detail tax to line tax and to the document total, confirm that taxable, exempt and non-taxable amounts add up to each line amount, and count Saved documents and lines where tax differs from taxCalculated.
What to check before licensing
- Have the data owner and your counsel read Avalara's terms on exported data, API use and its tax content before agreeing which fields are delivered.
- Ask which document types and statuses are included, whether the extract came from the production account or the sandbox, and whether Saved and Cancelled documents are flagged.
- Confirm every line arrives with its TransactionLineDetail rows, and foot detail tax to line and document totals on a sample.
- Check that Certificate and Customer records have names, tax IDs, exemption numbers and addresses removed or scrubbed, and that certificate images are excluded unless redacted.
- Ask how ship-to addresses were generalized, since one postal code can span several local jurisdictions.
- Ask which connector or ERP sent the transactions, when it commits, and how many rows were imported with a tax override in place of a calculation.
- Compare committed tax by state and period with the filed return summaries, ask how those summaries were pulled from Avalara Returns, and get the Nexus list with effective dates so states with no tax are explained.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Does an Avalara dataset include checkout tax estimates?
No. AvaTax calculates order-type documents, such as the estimate a storefront requests when a cart changes, and does not store them. What persists are the invoice-type documents the seller's system sent to be recorded. Expect one stored transaction per order, invoice or shipment, depending on how the connector was configured, and no abandoned carts.
Can the dataset be used to rebuild Avalara's tax rates or taxability rules?
No. The records show the tax applied to one seller's own lines in the places where it sold, not a rate table or a taxability matrix. Rates, tax code definitions and jurisdiction boundaries are content Avalara maintains and supplies under its own agreement. The data owner and buyer should check that agreement, with counsel, for which transaction fields can be delivered.
How is each line's tax broken down?
By jurisdiction. Under every transaction line AvaTax keeps one detail row for each taxing jurisdiction, typically a state row plus county, city and special district rows where they apply, each with its rate, amounts and tax. Ask for these rows explicitly, because a transaction list pulled without them contains document totals only.
Are exemption certificates included?
Usually as metadata only, and that is the scope to ask for. A certificate record holds the exposure zone, the exemption reason, signed and expiration dates and a valid flag. The scanned certificate shows a customer's legal name, address, tax registration number and often a signature, so the image should be left out or heavily redacted. Confirm on a sample that customer records and exemption numbers were scrubbed.
How do refunds and corrections appear?
As their own records. A refund is normally a ReturnInvoice with negative amounts. A correction to a committed transaction creates a new version with an adjustment reason, and the earlier one is left with status Adjusted. A voided transaction is marked Cancelled. Ask whether superseded versions are in the delivery.
Is SourceX affiliated with Avalara?
Avalara AvaTax is named to identify the system the records come from. That does not imply a partnership with or endorsement by Avalara. The records belong to the business that runs Avalara AvaTax, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Business tax workpapers and returns
One entity's tax file per period: trial balance, adjustment schedules, workpapers, filed forms, notices and responses
- E-commerce order histories
Order-level records that follow every line to its end: canceled, kept, exchanged, returned or refunded
- ERP transaction histories across modules
One company's ERP documents across modules, with flow links, change logs, master data and the data dictionary
- Stripe payment and billing records
One merchant account's payment intents and charge attempts with outcomes, refunds, disputes, balance transactions with fees, payouts and, where used, subscriptions and invoices
- NetSuite ERP transaction records
One NetSuite account's transactions with lines, accounting lines, links, master records, system notes and custom field definitions
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.