MSBA-323 · Lesson 2 of 12 · 24 min

Sales tax calculation

▶ Video coming soon A video version of this lesson is on the way.

With the codes and groups designed, the second session moved from setup to arithmetic. Clemency Quintrell, the accounts payable supervisor, joined because vendor invoices with the wrong tax were one of her team's most common problems in the old system, and Ikenna Osei-Varga came from credit and collections because customers often short-paid invoices over tax disputes. Annelise opened with a question: when Finance calculates tax on a line, what exactly does it multiply?

Calculation parameters on a tax code

Each sales tax code has a set of calculation parameters that control how its value is applied. The most important is the origin, which says what the rate is applied to. The common origins are a percentage of the net amount, a percentage of the gross amount, an amount per unit and a percentage of another sales tax. Most codes at Cobalt Ridge used a percentage of the net amount, which is how GST, HST, PST and IVA are normally charged.

The marginal base decides what the net amount is measured on: the net amount per line, the net amount per unit, the net amount of the whole invoice or, for some codes, the invoice balance. A tax with limits or intervals, such as a tax that applies only to the first part of an amount, gives different results depending on this choice, so it has to match the law that the code represents.

The calculation method chooses between applying the rate to the whole amount and applying different rates to different intervals of the amount. Whole amount is the normal choice. Intervals are for taxes that work like brackets, where one rate applies up to a threshold and another above it.

Codes can also carry limits. A minimum or maximum on the tax value caps the tax charged, and a minimum or maximum on the base decides when the tax applies at all. Finally, rounding settings, which can be set on the authority and on the code, decide how fractions of a cent are handled. Rounding rules matter more than people expect, because a difference of one cent per line becomes a reconciliation problem over thousands of invoices.

The calculation parameters used for Canadian GST and HST at Cobalt Ridge.
ParameterWhat it controlsCobalt Ridge setting for GST and HST
OriginWhat the rate is applied toPercentage of net amount
Marginal baseWhether the base is per line, per unit or per invoiceNet amount per line
Calculation methodWhole amount or intervalsWhole amount
LimitsMinimum or maximum tax and baseNone
RoundingHow fractions are roundedNormal rounding to 0.01 on the authority
A flow showing a sales order line. The line net amount goes into a box labelled origin and marginal base, then into a box labelled rate from the dated value, then into rounding, producing the tax amount. Side notes show the codes chosen by the intersection of groups feeding the rate box.
How a code turns a line amount into a tax amount.

Worked problem

Tax on a multi-line invoice

A CRCA invoice to an Ontario municipality has three lines: a pump at 18,450.00, a motor at 3,212.37 and freight at 640.00. HST-ON is 13 percent of the net amount per line. What is the HST on each line and in total?

Show solution
  1. Pump: 18,450.00 times 0.13 is 2,398.50.
  2. Motor: 3,212.37 times 0.13 is 417.6081, which rounds to 417.61.
  3. Freight: 640.00 times 0.13 is 83.20.
  4. Total HST is 2,398.50 plus 417.61 plus 83.20, which is 2,899.31.

Answer: HST is 2,398.50, 417.61 and 83.20, totalling 2,899.31. Calculating on the invoice total of 22,302.37 would give 2,899.3081, which rounds to the same 2,899.31 here, but the two methods can differ by a cent on other invoices.

Prices that include tax

Some businesses quote prices with tax included. Finance supports this with a prices include sales tax setting on the customer and on the sales order, which tells the system to back the tax out of the entered amount instead of adding it on top. Cobalt Ridge sold to businesses and governments, which expect tax-exclusive prices, so the setting stayed off. Annelise mentioned it anyway because it is a common exam topic and because CRMX might quote some retail spare parts prices with IVA included.

Worked problem

Backing tax out of an inclusive price

CRMX quotes a spare part at 1,160 pesos including 16 percent IVA. What are the net price and the IVA?

Show solution
  1. The inclusive price is the net price times 1.16.
  2. The net price is 1,160 divided by 1.16, which is 1,000.
  3. The IVA is 1,160 minus 1,000, which is 160.

Answer: The net price is 1,000 pesos and the IVA is 160 pesos.

Exemptions

Exemptions come in several forms, and Finance handles them in different ways. A whole customer can be exempt, which is recorded by giving the customer a sales tax group with no codes or a group that uses exempt codes, together with an exemption number for reporting. A product can be exempt or zero-rated, which is recorded through an item sales tax group. And a single transaction can be exempt, for example when a US customer provides an exemption certificate for one order, which is recorded on the order line.

Ikenna raised the case of CRUS municipal customers. Many US governments don't pay sales tax on purchases for their own use, but the vendor still needs the exemption certificate on file. Annelise explained that the exempt setting on a code in a sales tax group lets the code be calculated and reported with a zero tax amount, which keeps the exempt sale visible on tax reports. Leaving the code out of the group altogether would calculate nothing and report nothing, which is the wrong answer when the authority expects exempt sales to be reported.

Ways of recording an exemption and their effect on reporting.
SituationHow it is recordedShows on tax reports?
Exempt customerCustomer sales tax group with exempt codes plus exemption numberYes, as exempt sales
Exempt or zero-rated itemItem sales tax group with exempt or zero-rate codesYes, with zero tax
Exemption for one orderOverride on the order line, supported by a certificateYes
Code missing from a groupNothing calculatedNo

Use tax

Use tax is the US buyer's side of sales tax. When a CRUS supplier in another state doesn't charge sales tax on goods that will be used in Ohio or Colorado, CRUS owes use tax on them directly. In Finance a code is marked as use tax in the sales tax group on the purchase. When the vendor invoice posts, the system calculates the tax, debits the use tax expense account and credits the use tax payable account, without adding anything to the amount owed to the vendor. The liability is then settled with the rest of the period's tax.

A vendor invoice of 10,000 with no tax charged. An arrow to accounts payable shows 10,000 owed to the vendor. A second arrow from the use tax code shows a debit to use tax expense and a credit to use tax payable for the illustrative tax amount. The payable is later settled to the state authority.
Use tax adds a liability to the state without changing what is owed to the vendor.

Worked problem

Recording use tax

CRUS buys a 12,000 test rig from an out-of-state supplier that charges no sales tax. The rig will be used at the Denver warehouse, and the course uses an illustrative combined rate of 8 percent. What does Finance post?

Show solution
  1. The vendor balance is 12,000, because the supplier charged no tax.
  2. Use tax is 12,000 times 0.08, which is 960.
  3. Finance debits use tax expense, or the asset cost if the setup capitalizes it, by 960 and credits use tax payable by 960.

Answer: The vendor is owed 12,000, and a separate 960 liability to the state is recorded and later settled.

Tax on tax

A few taxes are calculated on top of another tax. Finance supports this with the origin percentage of sales tax, which points one code at another. Quebec sales tax used to be charged on the GST-inclusive price, but since 2013 it has been calculated on the selling price only, so Cobalt Ridge didn't need tax on tax for Canada. Annelise kept a note in the design that the option exists, because some jurisdictions still use it and because it appears in older exam questions.

Adjusting tax before posting

Sometimes the tax that Finance calculates differs by a cent or two from the vendor's invoice, usually because the vendor rounds per invoice while Cobalt Ridge rounds per line. Finance lets a user with the right permission adjust the calculated tax on a document before it posts, through the sales tax transactions view of the document. The adjustment is recorded, so it can be reviewed later. Clemency's team set a rule that tax could be adjusted by no more than one cent per line to match a vendor invoice, and that any larger difference went back to the vendor for a corrected invoice.

Worked problem

Should the tax be adjusted?

A vendor invoice shows HST of 412.86 on lines that Finance calculates at 412.85. Another invoice shows 1,950.00 of HST where Finance calculates 1,690.00. What should the AP clerk do in each case?

Show solution
  1. The first difference is one cent, which is within the one-cent-per-line rule.
  2. The clerk adjusts the tax to 412.86 so the invoice matches.
  3. The second difference is 260.00, which is far too large to be rounding.
  4. The clerk checks whether the vendor applied 15 percent instead of 13 percent, then returns the invoice for correction.

Answer: Adjust the first; return the second, because 1,950.00 is 15 percent of 13,000 and 1,690.00 is 13 percent.

Conditional sales tax

In some countries tax is due when the customer pays, not when the invoice is issued. Finance supports this with conditional sales tax, which records the tax at invoicing but moves it to the payable account only when the invoice is settled. It is turned on in the general ledger parameters and works with settlement of customer and vendor invoices. Annelise noted that Mexican IVA is generally based on cash flows, so CRMX would need the Mexican localization features and a decision from its tax adviser on how they apply; she wrote this down as an open item rather than guessing.

Where the calculated tax is stored

Before posting, the calculated tax lives on the document and can be viewed and adjusted. After posting, Finance writes posted sales tax records that link each tax amount to its code, voucher, date and the transaction that produced it. Those records are what settlement and tax reporting read, so the settlement in lesson 4 can only be as good as the posted sales tax behind it. Annelise showed how to open the posted sales tax from a voucher and how to filter by code and date, which is the first step in investigating any tax report that doesn't look right.

Freight, charges and rounding

Two smaller topics came up when Clemency's team tried the scenarios in the sandbox. The first was freight. CRCA charges customers for delivery on many orders, and in most provinces freight that is part of a taxable sale is taxable too. In Finance, delivery and other charges are added through charges codes, and each charges code can carry its own item sales tax group. Annelise set the FREIGHT charges code to use the same item sales tax group as the goods, so the delivery line followed the same tax rules as the pumps it delivered. A separate charges code for a restocking fee used a different group after the tax adviser confirmed the treatment.

The second topic was rounding. Each sales tax code can have its own rounding rule, and the parameters decide whether tax is rounded per line or per invoice, by code or in total. Small differences between the two methods are normal, often a cent or two on a long invoice. Thandeka wanted the method to match what customers' accounts payable systems expected, because a one-cent difference on an invoice often causes a short payment that someone has to chase. The team chose rounding per invoice by code for CRCA and CRUS and asked the Mexican controller to confirm the CRMX method against electronic invoicing rules, which set their own rounding expectations.

Freight, charges and rounding decisions.
TopicSettingCobalt Ridge choice
Freight on taxable salesItem sales tax group on the charges codeSame group as the goods
Restocking feesSeparate charges code and groupTreatment confirmed by the adviser
RoundingRounding rule on each code and the calculation parameterPer invoice by code for CRCA and CRUS
CRMX roundingChecked against electronic invoicing rulesOpen item for the Mexican controller

Common mistakes

  • MistakeLeaving a code out of a group to make a customer exempt.

    InsteadUse an exempt code so the exempt sale is still reported.

  • MistakeAdjusting tax on any invoice to make it match the vendor.

    InsteadAdjust only for rounding within a set limit; return larger differences to the vendor.

  • MistakeAdding use tax to the amount owed to the vendor.

    InsteadPost use tax to use tax payable; the vendor balance is unchanged.

  • MistakeUsing tax on tax for Quebec sales tax.

    InsteadQST has been calculated on the selling price only since 2013.

Summary and key terms

  • Origin, marginal base, calculation method, limits and rounding control how a code calculates.
  • Prices that include tax are handled by a setting that backs tax out of the entered amount.
  • Exempt codes report exempt sales with zero tax; missing codes report nothing.
  • Use tax records a liability to the state without changing the vendor balance.
  • Calculated tax can be adjusted before posting, within the company's rules, and posted sales tax feeds settlement.
Origin
What a tax rate is applied to, such as a percentage of the net amount.
Marginal base
Whether the base is measured per line, per unit or per invoice.
Exempt code
A code calculated at zero so that exempt sales are reported.
Use tax
Tax a buyer owes directly when the seller didn't charge it.
Conditional sales tax
Tax that becomes payable when an invoice is paid.
Posted sales tax
The record of tax amounts by code and voucher after posting.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Why might per-line and per-invoice calculation give different totals?

    Show answer

    Rounding happens at a different level, so fractions of a cent can add up differently.

  2. What happens to the vendor balance when use tax is calculated?

    Show answer

    Nothing; use tax is posted to use tax payable and expense, not to the vendor.

  3. Why keep exempt codes in a group rather than removing them?

    Show answer

    So exempt sales still appear on tax reports, as authorities often require.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz