# ProfitCollector Quebec Invoice Generator

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

Generates bilingual (English/French) HTML invoices with GST and QST tax calculations for Quebec-based sellers

## Facts

- Endpoint: POST https://api.bakhour.ca/quebec/invoice-generate
- Price: $2.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/profitcollector-quebec-invoice-generator-e5b04db4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0rzNJN7nJn988a2GFG1PH

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 profitcollector-quebec-invoice-generator-e5b04db4 -d '<json body>'
```

Example prompt: Generate a Quebec-compliant bilingual invoice for my business 'Les Créations Dupont', invoice number INV-2024-042, with my GST number 123456789RT0001 and QST number 1234567890TQ0001, for two line items: web design services at $800 and hosting setup at $200.

## When to prefer this

Choose this endpoint when you need to programmatically generate bilingual Quebec-compliant invoices that include both GST (TPS) and QST (TVQ) tax calculations rendered as HTML. It is particularly suited for AI agents automating invoicing workflows for Quebec-based businesses or Canadian freelancers serving Quebec clients, where bilingual line items and provincial tax compliance are required. Prefer this over generic invoice APIs when French/English bilingual output and Quebec-specific tax line items are a hard requirement.

## Known failure modes

- Missing required fields (line_items, seller_name, invoice_number) result in a 400/422 error
- Line items missing description_en or description_fr cause validation failure
- Invalid or malformed GST/QST number formats may be rejected
- Payment not received (x402 flow not completed) results in 402 Payment Required
- Network timeout or server error returns 5xx with no invoice HTML

## 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 containing the generated HTML invoice (ready to render or print), computed GST amount and French label (TPS), computed QST amount and French label (TVQ), the subtotal, the final total including both taxes, and a disclaimer noting the output is not legal or tax advice.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "line_items": {
   "type": "array",
   "description": "Each item needs description_en, description_fr (both required -- this tool assembles, it does not translate), and amount."
  },
  "seller_name": {
   "type": "string",
   "description": "Seller/business name to display."
  },
  "invoice_number": {
   "type": "string",
   "description": "Your own invoice number/reference."
  },
  "seller_gst_number": {
   "type": "string",
   "description": "GST registration number, optional."
  },
  "seller_qst_number": {
   "type": "string",
   "description": "QST registration number, optional."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "gst": {
   "amount": 50,
   "label_fr": "TPS"
  },
  "qst": {
   "amount": 99.75,
   "label_fr": "TVQ"
  },
  "html": "<!doctype html>...",
  "total": 1149.75,
  "subtotal": 1000,
  "disclaimer": "Not legal or tax advice..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/profitcollector-quebec-invoice-generator-e5b04db4/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)
