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 first, then British Columbia and Alberta, where the flags read GP and G.

What does H (or G) mean on a Costco receipt?

H means HST was charged on that line, G means GST was; no letter means the item was not taxed.

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.

Looking at the receipt on costco.ca instead of the paper? On the two Ontario receipts we have seen from the website's receipt view (September 2026), every line carried a letter: Y on the taxed items (the TAX line was 13% HST of the Y items after their rebates on both) and N on the untaxed ones, where an Ontario paper receipt would print H and nothing. The view also wrote rebates as <coupon> / <parent item number> or <coupon> /WORD without the TPD word. Same math, different letters; what the view prints in a GST-only or GST+PST province we have not seen.

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 always match the item flags: in the HST provinces the H items sum into the line labeled P (in Alberta the G items do sum into a line labeled G GST 5%, see below). Go by the percentages, not the front letters.

What do GP and G mean on a Costco receipt in BC or Alberta?

On the BC and Alberta receipts we have, Costco flags a taxed item with the taxes it carries: GP for GST plus PST in BC, G for GST only in Alberta. The rest of the receipt works as in the east: no letter means no tax, a TPD discount carries the flag of the item it discounts, and the TAX line above the total is what you check against.

FlagWhereWhat it means
(nothing)everywhereZero-rated: no tax.
GPBC (PST province)GST 5% and PST 7% both charged. The two are computed and rounded separately, then added into the one TAX line.
GAlberta (no PST)GST 5%. On an Alberta receipt every taxed item is G, eco fees and discounts included.

A British Columbia example. A Richmond warehouse receipt (identifying details altered): one appliance, its discount, and an eco fee, all GP:

COSTCO WHOLESALE
Richmond #54
1477969 FOODCYCLER439.99 GP
1734864 TPD/ 147796975.00- GP
ECO FEE ESA0.50 GP
SUBTOTAL365.49
TAX43.85
**** TOTAL409.34

The GP base is $439.99 - $75.00 + $0.50 = $365.49. Twelve percent of that would be $43.86, but the receipt says $43.85, and that is not a misprint: GST is 5% of $365.49 = $18.27 and PST is 7% = $25.58, each rounded on its own, and $18.27 + $25.58 = $43.85. If your own check is off by exactly one cent, this is usually why. This receipt printed no per-tax breakdown rows below the total, so the single TAX line is all there is to reconcile against.

An Alberta example. An Okotoks warehouse receipt, in full, because it shows the two things that trip people up: eco fees are taxed like the item, and a TPD discount only lowers the tax base when it carries the flag:

COSTCO WHOLESALE
Okotoks #1069
2758521 STEAM SWEEP199.99 G
ECO FEE ADS0.40 G
1908663 1/4 PULLOVER24.99 G
8887043 HIS43A4NF296.99 G
1974478 TPD/888704370.00- G
ECO FEE ADS2.75 G
1908473 SPYDER PANT24.99 G
635860 4 YR TV PROT34.99 G
804449 ORGANIC SPIN4.99
2872013 HLSTN BIKINI4.97 G
30669 BANANAS1.99
34009 COAST CHEDDR12.99
1982861 TPD/340093.00-
6633509 SKCKERS SHOE49.99 G
1965973 TPD/SHOES10.00- G
SUBTOTAL577.03
TAX28.00
**** TOTAL605.03
G GST 5%28.00

Add the G lines, discounts included: $199.99 + $0.40 + $24.99 + $296.99 - $70.00 + $2.75 + $24.99 + $34.99 + $4.97 + $49.99 - $10.00 = $560.06, and 5% of that is the printed $28.00. The four unflagged lines ($4.99, $1.99, $12.99 and the $3.00 cheddar discount) are the untaxed $16.97 that completes the $577.03 subtotal. Note the two TPD lines: the one on the shoes is flagged G and reduces the taxed base; the one on the cheddar has no flag, because the cheddar was never taxed.

How much this rests on. One British Columbia receipt and one Alberta receipt, each reconciling to the cent. We have not seen a Saskatchewan or Manitoba Costco receipt at all, so we cannot say which flag those print or how their PST (6% and 7%) shows up; Quebec has its own format (below).

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

Which groceries are taxed in Canada, and why
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
Receipt tax code letters, every chain (GP, MRJ, J, C and more)