Calculate sales tax for a transaction
The agent determines the exact tax liability for a specific sale by analyzing the customer's location, shipping address, and line items, ensuring accurate financial reporting and compliance with local tax laws.
How it works
The agent first validates the customer's shipping and billing addresses to ensure they are correct and correspond to the right tax jurisdictions. It then retrieves the specific line item details, including prices and quantities. Finally, it calls the calculate_tax tool with this structured data to generate a precise tax calculation, returning the total tax amount and breakdown by jurisdiction.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Calculate tax for a $100 sale to a customer in California with shipping address 123 Main St, Los Angeles, CA 90210.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
calculate_tax Creates a tax transaction and calculates tax based on provided data, including addresses, line items, and transaction details.Avalara AvaTax MCP server - MCP Server | Avalara Developer