{"uid":"cap_SFRdYeCTg0tSCV6kSsTdq","slug":"quebec-invoice-compliance-checker-d777de2e","name":"Quebec Invoice Compliance Checker","description":"Decision-grade security/due-diligence outcome reports ($20-$100) plus deterministic paid utilities ($0.001+) for software agents and automated workflows.","url":"https://api.bakhour.ca/quebec/invoice-compliance-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"subtotal":{"type":"number","description":"Pre-tax subtotal in CAD."},"gst_amount":{"type":"number","description":"GST amount as shown on the invoice."},"qst_amount":{"type":"number","description":"QST amount as shown on the invoice."},"french_text":{"type":"string","description":"The invoice's French text, if any (optional -- its absence is itself flagged)."},"english_text":{"type":"string","description":"The invoice's primary/other-language text (optional but needed for the language check)."}}},"responseSchema":{"type":"json","example":{"tax":{"gst":{"correct":true},"qst":{"correct":true}},"clean":true,"issues":[],"language":{"structurally_complete":true,"french_version_present":true},"disclaimer":"Not legal or tax advice..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1.5","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":"$1.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lNHoUqCLcbcIAZci2KyKt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Quebec invoice for correct GST/QST tax amounts and French-language compliance, returning a structured pass/fail report.","exampleAgentPrompt":"Can you check if this Quebec invoice is compliant — the subtotal is $850 CAD, GST shown is $42.50, QST shown is $84.91, and the invoice has both French and English text?","exampleUseCases":[{"title":"Freelancer Quebec invoice audit","prompt":"I just sent a Quebec client an invoice for $1,200 CAD, with $60 GST and $119.94 QST. Can you verify the tax amounts are correct and flag any compliance issues?"},{"title":"Accounts payable tax verification","prompt":"We received a supplier invoice from Montreal: subtotal $4,500 CAD, GST $225, QST $449.55. Does that pass Quebec compliance, and is the French language requirement met? The invoice only has English text."},{"title":"Automated invoicing pipeline check","prompt":"Before we send this batch invoice to a Quebec customer — subtotal $320 CAD, GST $16, QST $31.94, French text included — can you run a compliance check and tell me if there are any issues?"}],"resultDescription":"A JSON object indicating whether GST and QST amounts are correct, an overall 'clean' boolean, a list of specific issues found, and a language section confirming whether the invoice is structurally complete and whether a French version is present. Also includes a disclaimer that this is not legal or tax advice.","failureModes":["Missing required subtotal field — validation cannot proceed","Incorrect or non-numeric tax amounts causing computation mismatch","QST/GST amounts outside expected tolerance flagged as incorrect","French text absent — flagged as a language compliance issue","Malformed JSON request body returns 4xx error","Payment of 1.5 USDC not processed (x402 payment required) — returns 402"],"whenToPreferThis":"Choose this endpoint when you need a quick, deterministic check of a Quebec invoice's GST and QST tax arithmetic against Canadian federal and Quebec provincial rates, combined with a language compliance check for French-text requirements. Ideal for automated accounts-payable pipelines, freelancer invoicing tools, or any agent workflow that processes Quebec-origin invoices at scale. Not a substitute for legal or tax counsel.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:46:35.079Z","isFirstParty":false}