Canada
Invoice PDF API for Canada
Generate Canadian sales invoices as PDFs with the tax lines your customers need to claim input tax credits. Handle the federal GST plus province-specific HST, PST, or QST, show your GST/HST number, and format totals in CAD, all from one API call.
Render a GST/HST invoice from data
Your template owns the layout and the tax breakdown; you send the order data. The PDF shows your GST/HST registration number and the correct tax for the province of supply.
// A Canadian sales invoice template plus data -> a PDF.
const res = await fetch("https://api.pdfpipe.xyz/v1/pdf", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PDFPIPE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
template_id: "tmpl_ca_invoice",
data: {
gst_hst_number: "123456789 RT0001",
province: "ON",
items: [{ desc: "Consulting", amount: "1000.00", hst: "130.00" }],
total_cad: "1130.00",
},
}),
});Built for Canadian tax rules
GST, HST, PST, QST
Federal GST at 5 percent, HST in participating provinces, and separate PST or QST where they apply. Your template renders whatever lines you compute.
Registration number
Show your GST/HST number (Business Number with an RT account), which buyers need to claim input tax credits.
CAD and bilingual
Canadian dollar formatting, and English plus French layouts where Quebec rules require them.
Common uses in Canada
- B2B and B2C sales invoices with the right provincial tax.
- Receipts and statements for SaaS and e-commerce.
- Quotes and estimates that convert to invoices.
- Bulk invoicing through the batch endpoint.
Frequently asked
Can it generate GST/HST compliant invoices?
Yes. You build a template with your GST/HST number and the tax lines, send the data, and the API returns the invoice PDF. You compute the tax; the API renders it faithfully.
Does it handle different provincial taxes?
Yes. HST provinces, PST provinces like British Columbia, and QST in Quebec are all just values your template renders. The API does not calculate tax; it renders the invoice you define.
Can invoices be bilingual for Quebec?
Yes. Provide English and French content in your template or data, and the PDF renders both as required.
Does it format amounts in CAD?
Yes. Format values in your code or template and render Canadian dollar amounts cleanly.
Which PDF API do you need?
These pages cover related search intents. Pick the one that matches what you are building.
500 free documents a month, flat pricing after that, and a live playground you can try without signing up.