Crowcery

What the tax codes on a Costco receipt mean

On a Canadian Costco receipt most prices have no letter after them at all, some end in H, a few in G, and the footer prints two odd-looking lines like P HST 14% and G GST 5%. Here is what the letters mean and how to make the footer numbers add up, verified by recomputing the printed totals on real receipts (Atlantic Canada; the flags can differ in provinces with a separate provincial sales tax).

The flags

FlagWhat it means
(nothing) Zero-rated: no tax. Most basic groceries, which is why most of a Costco grocery receipt carries no letter.
H Fully taxable: HST (or your province's full rate) was charged. Paper goods, snacks, supplements, household items.
G Only the 5% federal GST was charged. Children's clothing, for example, in provinces with the point-of-sale rebate (NS, ON, PE).

A blank is not a printing error. Unlike Loblaws-family receipts, which stamp a letter cluster on every line, Costco only marks the items that were taxed.

An example

A mock-up of real Nova Scotia Costco receipt lines (14% HST; identifying details altered). The math reconciles to the cent:

COSTCO WHOLESALE
Anytown #519
15099 PINEAPPLE5.99
696214 LAYS CLASSIC6.99 H
1452518 KS DISH PACS15.99 H
2195001 TRIMFIT SOCK12.99 G
2033318 TPD/SOCKS3.00- G
88426 CUCUMBERS5.99
SUBTOTAL44.95
TAX3.72
**** TOTAL48.67
P HST 14%3.22
G GST 5%0.50

How the footer tax lines reconcile

The single TAX line above the total is the sum of the two footer lines: $3.22 + $0.50 = $3.72. Each footer line reconciles against one flag:

The HST line is 14% of the H items: $6.99 + $15.99 = $22.98, and 14% of that is $3.22.

The GST line is 5% of the G items after their discounts: $12.99 - $3.00 (the TPD line, which is also flagged G) = $9.99, and 5% of that is $0.50. Discounts reduce the tax: you pay tax on what you actually paid, and a TPD line carries the same flag as the item it discounts so the tax base stays consistent. (What TPD lines are is covered in the Costco receipt anatomy guide.)

The letters in front of the footer lines (P HST, G GST) are Costco's own tax-group labels and do not match the item flags one-for-one: the H items sum into the line labeled P. Go by the percentages, not the front letters.

Quebec is different

Quebec Costco receipts print the two taxes as T.P.S. 5% (the federal GST) and T.V.Q. 9.975% (Quebec's provincial tax), with French item flags, French labels (SOUS-TOTAL for subtotal) and comma decimals on the dollar amounts (28,99 instead of 28.99). The reconciliation logic is the same: group the flagged items, apply each rate.

Checking your own receipt

Sum the H items (minus any TPD lines pointing at them), apply your province's full rate, and compare with the HST/tax line; then the G items at 5%. If you are off, the usual culprit is a missed TPD line, since they carry the discount's share of the flag. The rest of the format (item numbers, the Bottom of Basket banner, the item count) is in the Costco receipt anatomy guide.

Prefer not to do receipt math by hand?
Crowcery is a free Android app that reads a photo of your grocery receipt and turns every line into clean, categorised data: prices, quantities, discounts, deposits and these tax codes included. Built for Canadian grocery chains.
Get it on Google Play

Available in Canada; English-language receipts; not offered in Quebec. Or try the read-only demo first, no signup needed.

More receipt guides

How to read a Costco receipt
Walmart Canada tax codes (D, J, A, Z, Y)
Superstore & Loblaws tax codes (H, MRJ, HMRJ)
Grocery receipt discounts and promo math