Who Owes the Tax When an AI Agent Transacts?
Operator, marketplace facilitator, and merchant of record get used interchangeably to describe who is responsible for sales tax. They are not synonyms, only one of them is defined in a tax statute, and the one most often relied on in contracts is the one that decides the least. This is the four-step test, in the order it has to be run.
Merchant of record is not a tax status
Start here, because this is the assumption that sends platforms down the wrong branch. Merchant of record is a genuinely useful commercial arrangement. It is not an answer to a sales tax question, and it never appears in the decision tree below.
The decision tree
Work it in this order, per state, per transaction type. The order matters: the first question that returns yes ends the inquiry. Running the facilitator test on a transaction that step 1 already answered is the most common expensive mistake here.
Same architecture, opposite answers
47 jurisdictions have marketplace facilitator statutes and they do not share a definition. Missouri and Washington sit at opposite ends of the range. Read them side by side with one agent platform in mind.
- Lists or advertises the marketplace seller's property or services for sale, in any forum, AND
- Directly or indirectly collects payment from the purchaser and transmits all or part of it to the seller
- Contracts with sellers to facilitate the sale of the seller's products for consideration, AND
- Transmits or otherwise communicates the offer or acceptance between buyer and seller, AND
- Engages in ANY ONE of: payment processing, fulfillment or storage, listing products, setting prices, branding sales as its own, taking orders, or providing customer service
What is settled, and what is not
Settled: that both prongs of a narrow statute like Missouri's must be met. That contractual labels do not override statutory status. That merchant of record is not a tax designation.
Unsettled: where an agent platform that orchestrates without transacting actually lands. Our position is that facilitator obligations apply where a state's definition is unambiguously met, and that a pure tax-calculation integration sits outside facilitator classification. That is an interpretation, not a holding. No state has issued guidance on API-only platforms and no court has ruled on facilitator classification for agent orchestration.
If a state concludes your platform qualifies, you can face liability for uncollected tax alongside your merchants — both parties owing the same underlying tax. Anyone taking the narrow reading should take it knowingly.
Tell the engine which position you occupy
Once you have your answer from the tree, it is one field. marketplace_role accepts seller, facilitator, or direct. When you are a seller on a facilitating platform in a facilitator jurisdiction, the transaction is excluded from your nexus revenue and the response says the marketplace is the collector of record.
// A seller selling THROUGH a facilitating platform, into a facilitator state.
// The facilitator is the collector of record, so this sale must be excluded
// from your own economic-nexus revenue.
const response = await fetch("https://agenttax.io/api/v1/calculate", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": "atx_live_..."
},
body: JSON.stringify({
role: "seller",
marketplace_role: "seller", // seller | facilitator | direct
amount: 2400,
buyer_state: "WA",
buyer_zip: "98101",
transaction_type: "compute",
work_type: "compute",
counterparty_id: "buyer-agent-77"
})
});{
"success": true,
"role": "seller",
"marketplace_role": "seller",
"collected_by_marketplace": true,
"advisories": [
{
"type": "marketplace_facilitator",
"state": "WA",
"flagged": true,
"advisory": "Marketplace facilitator law in Washington shifts collection obligation to the facilitator. This transaction is not counted toward your economic nexus threshold.",
"confidence": "high"
}
]
}What to do this week
- Write down which of the four positions you occupy, per state. If you cannot name it, your contracts are carrying weight they cannot hold.
- Stop treating your merchant-of-record clause as a tax answer. Reread it as what it is: an indemnity.
- Run the actual statutory elements in your five largest states rather than a vendor summary chart. The charts flatten exactly the variation that decides your case.
- If you are a marketplace seller on someone else's platform in a facilitator state, confirm those sales are excluded from your own economic nexus revenue. Double-counting them is the most common quiet error we see.
Frequently asked questions
Who owes the sales tax when an AI agent buys something?
Does being merchant of record make us responsible for sales tax?
Can we avoid marketplace facilitator status by declining merchant-of-record status?
How many states have marketplace facilitator laws?
Why do Missouri and Washington reach opposite conclusions about the same platform?
Is an agent platform that orchestrates but never touches payment a facilitator?
If I sell through a facilitating platform, do those sales count toward my economic nexus?
How do I tell AgentTax which position I occupy?
Related reading
Send your position with the transaction
Free tier covers 100 calls/month. Facilitator rules across 47 jurisdictions, nexus-revenue exclusion for marketplace sales, and a full audit trail on every response.