22 November 2026 · 7 min read · Modvanta team

Setting Up GST, HST and PST in Odoo for Canadian Companies

A practical look at Odoo GST HST Canada setup: tax groups, fiscal positions, provincial PST, and how to get the GST34 numbers out of your books.

Business article illustration

Picture a distributor that went live on Odoo with one warehouse in Ontario, a few hundred retail customers spread across the country, and suppliers on both sides of the border. Invoicing works. Shipping works. Then the bookkeeper sits down to prepare the first return and finds that a batch of Alberta invoices carried HST, the BC orders have no provincial tax on them at all, and the GST paid to the customs broker is sitting in the same account as everything else.

That's the common story, and it isn't an Odoo bug. Canadian sales tax has a federal piece, a harmonized piece that replaces it in some provinces, and provincial taxes that follow their own logic. Odoo can apply all of it correctly, but only if someone tells it who is who. Nobody does that work by accident during go-live week.

Here's how we set it up, and what we check when a database has already been running for a while.

Why a fresh Odoo database gets Canadian tax wrong

Two settings do most of the damage.

The first is Default Taxes in Accounting > Configuration > Settings. Odoo falls back to these when a product has no tax of its own, so a half-configured product catalogue quietly inherits whatever sits there. The second is the product record itself: the Customer Taxes and Vendor Taxes fields on the Purchase tab. Whatever is on the product is the starting point for every line, and a fiscal position only changes it afterwards.

So if products carry an Ontario tax and no fiscal position fires on an Alberta customer, Ontario tax is what the invoice gets. Posted, numbered, and now part of your filing.

Worth checking early: make sure the Canadian fiscal localization package is actually selected in Accounting settings. You can only choose it before the first entry is posted, so a database that was set up as generic and later turned Canadian will be missing the starter taxes and chart of accounts entirely. We see that more often than you'd expect.

Set up the taxes before you set up invoices

Go to Accounting > Configuration > Taxes and treat the list as something you own rather than something that came with the box.

  1. Name taxes so a human can read them on a tax report. Include the province in the label, not just the type.
  2. Check Tax Type on each one. Sales and Purchase taxes are separate records even when the percentage is identical, and mixing them up breaks the report in a way that's painful to unwind.
  3. Open the Advanced Options tab and confirm the Tax Group. That field controls how amounts are grouped in the invoice subtotal block and on reports, and it's the fastest way to make a return readable.
  4. On the Definition tab, look at the distribution lines. Each one points at an account and, more importantly, at one or more Tax Grids.
  5. Archive the taxes you'll never use. A short list is a list people pick from correctly.

Those tax grids are the part that matters most and the part almost nobody looks at. The tax report isn't computed from percentages; it's computed from the grids attached to the journal items. If a tax posts correct amounts but carries the wrong grid, your books balance and your return is wrong. When a client's numbers look off, the grids are the first place we go.

Fiscal positions do the province switching

A fiscal position is a mapping: when this condition is true, swap tax A for tax B. That's the mechanism for provinces.

Open Accounting > Configuration > Fiscal Positions and build one per province you sell into. Tick Detect Automatically, set the country to Canada, and list the relevant provinces in Federal States. Then fill the Tax Mapping rows: your default product tax on the left, the tax that should actually apply on the right. Account mapping on the second tab lets you send revenue or expense to a different account for the same group of partners, which is handy for out-of-country sales.

Two details that cause real trouble.

Odoo picks the automatic fiscal position from the delivery address, not the billing address. A customer with head office in one province and a warehouse in another will tax according to where the goods go, which is usually what you want, and is usually not what the person checking the invoice expects.

And a fiscal position never applies retroactively. Change the mapping today and yesterday's posted invoices keep their old taxes. Fixing those means a credit note and a reissue, so it pays to get the mapping right before the volume builds up. If a partner needs to override the automatic rule, set the position directly on their contact record under the Sales & Purchase tab.

PST, QST and RST are not just another GST line

Provincial taxes in the non-harmonized provinces sit beside the federal tax rather than replacing it. On the invoice you want two tax lines, each with its own grid, each posting to its own account.

The setting to watch is Affect Base of Subsequent Taxes on the Advanced Options tab. Leave it off for this combination. Both taxes generally apply to the selling price, not to each other, and switching that flag on compounds them in a way nobody will notice until a customer complains.

The other difference is recoverability. Federal tax paid on purchases is usually claimed back; several provincial taxes are not, which means the purchase-side tax should land in an expense or asset account rather than a recoverable tax account. Quebec runs its own tax with its own filing to the provincial authority. Registration rules for sellers shipping into a province they aren't based in change from time to time, and they're the kind of thing that gets rewritten quietly. Decide the treatment with your accountant, then let us build the records to match. Getting the accounting policy from the software is backwards.

Getting from posted entries to a GST34

Set Tax Return Periodicity in Accounting settings so the report defaults to the period you actually file. Then Accounting > Reporting > Tax Report gives you the figures per grid, with a Closing Entry button that posts the journal entry moving your tax balances to the payable or receivable account and marks the period as handled.

What the standard report doesn't give you is the return laid out the way the form expects it. That's why we built our Canada GST HST return module: it prepares the GST34 return from your posted invoices and bills, with a GST34 worksheet and filing periods set up for Canada, so the person filing is reading line numbers instead of translating grid names. The same approach, country rules built from the official source and left editable by date, runs through all of our localization work.

Common things we end up fixing on existing databases:

  • Products with no tax at all, quietly picking up the default
  • A fiscal position with Detect Automatically off, so it never fires
  • Purchase taxes reusing sales tax grids
  • Broker and import charges entered without tax, so recoverable amounts never reach the return
  • Multi-company setups where one company's taxes were copied without checking the accounts

Questions we get asked

Do we really need a separate tax for every province?

Yes, and a separate fiscal position for each one. It feels like a lot of records for something you could do with a dropdown, but it's the only way the automatic detection and the reporting grids both work without someone checking each invoice by hand.

Can Odoo file the return for us?

No. Odoo prepares the numbers; a person submits them. Treat the output as a worksheet you review, especially for the first two or three periods after any change to your tax setup.

What about customers who are zero-rated or exempt?

Give them a fiscal position that maps your normal taxes to a zero-rated tax record rather than to nothing. A zero-rated tax still carries a grid, so the sale shows on your return as it should. Removing the tax outright makes the sale disappear from the report, and that's the version auditors ask about.

If you want a look at what else we build on top of standard Odoo, the apps list is a reasonable place to start.

Talk to us

If your Canadian tax setup was done in a hurry and nobody has checked it since, we can go through the taxes, fiscal positions and grids with your bookkeeper and tell you what's actually wrong. We work remotely with teams across Canada, in your time zone when it matters. Request a quote or just contact us and describe the mess.