{"uid":"cap_KrOXEsypNKSH-wMWb0-Nr","slug":"saylor-innovations-sales-tax-calculator-a3b35e68","name":"Saylor Innovations Sales Tax Calculator","description":"Sales tax calculator from subtotal and rate - tax and total","url":"https://saylorinnovations.com/api/tax/sales?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["subtotal","rate"],"properties":{"rate":{"type":"string","description":"required non-negative tax rate percentage (query)"},"subtotal":{"type":"string","description":"required non-negative subtotal (query)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["subtotal","rate_percent","tax_amount","total","scope_note"],"properties":{"total":{"type":"number","description":"Total number of matching items"},"formula":{"type":"string","description":"Formula used for the calculation"},"subtotal":{"type":"number","description":"Subtotal before adjustments"},"scope_note":{"type":"string","description":"What this data covers and what it leaves out"},"tax_amount":{"type":"number","description":"Tax amount"},"rate_percent":{"type":"number","description":"Rate, as a percentage"}},"description":"Output fields observed in live endpoint responses; optionality and values can vary by record.","additionalProperties":true},"description":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PvldlVweu7MwllTSNKaaQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates sales tax amount and total from a given subtotal and tax rate percentage","exampleAgentPrompt":"What's the sales tax and total on a $124.99 subtotal at a 8.875% tax rate?","exampleUseCases":[{"title":"E-commerce checkout tax preview","prompt":"My cart subtotal is $349.95 and the local sales tax rate is 9.5% — what will the tax amount be and what's my total at checkout?"},{"title":"Restaurant bill splitting with tax","prompt":"The food bill before tax came out to $87.40 and the tax rate here is 6.25%. What's the tax amount and the full total I need to pay?"},{"title":"Business invoice total calculation","prompt":"I'm writing an invoice for a client — the subtotal is $2,500 and I need to add 7% sales tax. What's the tax amount and the final total to put on the invoice?"}],"resultDescription":"Returns a JSON object with the original subtotal, the tax rate as a percentage, the computed tax amount, the final total (subtotal + tax), the formula used for the calculation, and a scope note describing what the result covers and its limitations.","failureModes":["Missing subtotal or rate query parameter returns an error","Negative subtotal or rate values may be rejected or produce unexpected results","Non-numeric values for subtotal or rate will likely cause a validation error","Very large or very small floating-point values may produce rounding edge cases"],"whenToPreferThis":"Choose this endpoint when you need a quick, reliable, server-side sales tax computation from a known subtotal and rate percentage — especially in agentic workflows where you need the computed tax amount and total returned as structured JSON without building the arithmetic yourself. Best for single-transaction calculations; does not perform jurisdiction-based tax rate lookups (you must supply the rate).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:36:09.676Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-sales-tax-calculator-a3b35e68"}