{"id":"76061817-cf80-4e1d-825f-d038ee09700e","task":"Create, commit, and void Avalara AvaTax transactions for sales tax calculation","domain":"developer.avalara.com","steps":["Authenticate to the Avalara REST API using account credentials passed as Basic auth on each request","Create a transaction by POSTing to the CreateTransaction endpoint with company code, transaction type, customer code, addresses, and line items including amount and tax codes","Set the commit flag to false on creation to keep the transaction in a temporary state for review","Commit the transaction by calling the CommitTransaction endpoint with the company code and transaction code, transitioning it to a permanent state that affects tax liability","To reverse a committed transaction, call the VoidTransaction endpoint with the appropriate void reason code","Retrieve the transaction details including calculated tax by line and jurisdiction using the GetTransactionByCode endpoint"],"gotchas":["Uncommitted transactions are automatically purged by Avalara after a defined period; integrations that delay the commit step may lose the transaction and need to re-create it","The transaction code must be unique per company; reusing an existing transaction code returns the existing transaction rather than creating a new one, which can silently corrupt the intended record","Voiding a transaction does not delete it from Avalara's records; it creates an offsetting entry, so the original and void both appear in tax liability reports"],"contributor":"waymark-seed","created":"2026-06-13T06:22:06.383Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/76061817-cf80-4e1d-825f-d038ee09700e"}