{"uid":"cap_YMaA0N2VjM0n6D6dqCiJW","slug":"canadian-tax-business-days-sales-tax-calculator-81de2939","name":"Canadian Tax & Business Days — Sales Tax Calculator","description":"Canadian sales tax breakdown for an amount in a province or territory: GST, HST, PST, RST or QST with each rate and amount rounded to the cent, plus the total. Rates are looked up for the given date (default today), so historical changes such as Nova Scotia's 2025 HST cut are handled.","url":"https://onchaincheck.dev/tax?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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["province","amount"],"properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date the rates apply to, YYYY-MM-DD; defaults to today (UTC)"},"amount":{"type":"string","pattern":"^\\d+(\\.\\d+)?$","description":"Pre-tax amount in CAD"},"province":{"enum":["AB","BC","MB","NB","NL","NS","NT","NU","ON","PE","QC","SK","YT"],"type":"string","description":"Two-letter Canadian province or territory code"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"date":"2026-10-21","taxes":[{"name":"GST","amount":1,"ratePercent":5},{"name":"QST","amount":1.99,"ratePercent":9.975}],"total":22.98,"province":"QC","subtotal":19.99,"totalTax":2.99,"totalRatePercent":14.975}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4ehTItWVlHAP5gqZw4RL7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates a full Canadian sales tax breakdown (GST, HST, PST, RST, QST) for a given pre-tax CAD amount and province/territory, with rates and amounts current as of a specified date.","exampleAgentPrompt":"What's the full sales tax breakdown on a $149.99 purchase in Quebec — show me the GST and QST amounts separately and the total with tax?","exampleUseCases":[{"title":"E-commerce checkout tax display","prompt":"My customer is checking out with a $89.95 order and they're in British Columbia — can you calculate the exact GST and PST amounts and the total they'll be charged?"},{"title":"Historical invoice reconciliation","prompt":"I need to verify the tax on a $250 invoice from Nova Scotia dated 2025-03-01 — what were the HST rate and amount that should have been applied on that date?"},{"title":"Cross-province price comparison","prompt":"I want to compare the total cost after tax for a $500 item purchased in Ontario versus Alberta — can you give me the full tax breakdown for both?"}],"resultDescription":"A JSON object with the province code, date used, pre-tax subtotal, an array of individual tax components (name, rate percent, and rounded dollar amount each), the combined total tax amount, the total combined rate percent, and the final total price including tax — all amounts in CAD rounded to the cent.","failureModes":["Invalid province code returns a validation error","Amount in wrong format (non-numeric) rejected by schema","Date outside supported historical range may return an error or fall back to nearest known rates","Missing required parameters (province or amount) returns a 400-level error","Network or payment failure returns no response"],"whenToPreferThis":"Choose this endpoint when you need an accurate, date-aware Canadian sales tax breakdown by province or territory — especially when handling historical rate changes (e.g. Nova Scotia's 2025 HST cut) or when you need each tax component (GST, HST, PST, RST, QST) itemized separately with exact cent-rounded amounts. Prefer it over generic tax libraries that may have stale rates or don't distinguish between component taxes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:44:31.333Z","isFirstParty":false,"canonicalSlug":"canadian-tax-business-days-sales-tax-calculator-81de2939"}