# Quebec Invoice Compliance Checker

> Quebec Invoice Compliance Checker is a paid API for AI agents from api.bakhour.ca, paid per call via x402, $1.5/call, status unknown (last checked 2026-09-14).

Validates a Quebec invoice for correct GST/QST tax amounts and French-language compliance, returning a structured pass/fail report.

## Facts

- Endpoint: POST https://api.bakhour.ca/quebec/invoice-compliance-check
- Price: $1.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quebec-invoice-compliance-checker-d777de2e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SFRdYeCTg0tSCV6kSsTdq

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability quebec-invoice-compliance-checker-d777de2e -d '<json body>'
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Decision-grade security/due-diligence outcome reports ($20-$100) plus deterministic paid utilities ($0.001+) for software agents and automated workflows.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quebec-invoice-compliance-checker-d777de2e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.bakhour.ca](https://www.zero.xyz/host/api.bakhour.ca/llms.txt)
