Page tree
Skip to end of metadata
Go to start of metadata



This operation should be used for any attempts to get Canadian tax information. Given a province name (or abbreviation), it returns sales tax information for that area. All Canadian taxes are kept at the province level and easy to check. But this operation provides an easy report for anyone using DOTS FastTax. While simple, Canadian rates do change periodically making this operation more useful. The outputs for Canadian Taxes are different from the previous operations. The full province name and its abbreviation are returned. In addition, there are three types of taxes returned for Canada. Provincial Sales Taxes (PST) are collected for most provinces. Goods and Services Tax (GST) is also applied in many cases. For a few provinces there is an alternative Harmonized Sales Tax (HST) which is a simplified blended version of PST and GST. In all cases, either HST or PST and GST apply (the other values will be 0 in each case). Finally, there is a last flag (ApplyGSTFirst). If set to true - GST should be applied to the price of the item first and then PST should be applied to the combined total. If false - the taxes are applied individually to the normal cost of the item.


URL Endpoints


JSON: 

https://trial.serviceobjects.com/FT/web.svc/json/GetCanadianTaxInfoByProvince?Province={PROVINCE}&LicenseKey={LICENSEKEY}


XML: 

https://trial.serviceobjects.com/FT/web.svc/xml/GetCanadianTaxInfoByProvince?Province={PROVINCE}&LicenseKey={LICENSEKEY}


GetCanadianTaxInfoByProvince Inputs


Name

Type

Values

Description

Province

String

Varies

The full name or abbreviation of the province to get tax rates for

LicenseKey

String

Varies

Your license key to use the service.
Sign up for a free trial key at
https://www.serviceobjects.com/products/ecommerce/fasttax


GetCanadianTaxInfoByProvince Outputs


Name

Type

Values

Description

ProvinceName

String

Varies

The full province name.

ProvinceAbbreviation

String

Two letter prov. code

The provinces abbreviated name.

GoodsSalesTax

String

Decimal digit

The value of the Goods and Services Tax for the province.

ProvinceSalesTax

String

Decimal digit

The value of the sales tax for the province. This value applies for PST, QST or RST.

HarmonizedSalesTax

String

Decimal digit

The value of the Harmonized sales tax for the province.

ApplyGSTFirst

String

"True" or "False"

A flag that tells if GST should be applied to the price prior to calculating PST, QST or RST. In the last several years this concept has gone away and all cases are now False.

Error

String

Varies

The error object containing information about the error returned.

References


  • No labels