{"id":3768,"date":"2022-11-12T00:06:04","date_gmt":"2022-11-12T00:06:04","guid":{"rendered":"https:\/\/serviceobjects.wpaladdin.com\/?page_id=3768"},"modified":"2022-12-14T22:08:22","modified_gmt":"2022-12-14T22:08:22","slug":"ft-getcanadiantaxinfobyprovince","status":"publish","type":"page","link":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/","title":{"rendered":"FT &#8211; GetCanadianTaxInfoByProvince"},"content":{"rendered":"\n<ul class=\"is-style-bullets-list wp-block-list\">\n<li><a href=\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/#FT-GetCanadianTaxInfoByProvince-URLEndpoints\">URL Endpoints<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/#FT-GetCanadianTaxInfoByProvince-GetCanadianTaxInfoByProvinceInputs\">GetCanadianTaxInfoByProvince&nbsp;Inputs<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/#FT-GetCanadianTaxInfoByProvince-GetCanadianTaxInfoByProvinceOutputs\">GetCanadianTaxInfoByProvince\u00a0Outputs<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/#FT-GetCanadianTaxInfoByProvince-References\">References<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"is-style-no-bullets-list\">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 &#8211; GST should be applied to the price of the item first and then PST should be applied to the combined total. If false &#8211; the taxes are applied individually to the normal cost of the item.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"FT-GetCanadianTaxInfoByProvince-URLEndpoints\">URL Endpoints<\/h2>\n\n\n\n<ul class=\"is-style-no-bullets-indented-list wp-block-list\">\n<li><strong>JSON:<\/strong>&nbsp;\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/trial.serviceobjects.com\/FT\/web.svc\/json\/GetCanadianTaxInfoByProvince?Province={PROVINCE}&amp;LicenseKey={LICENSEKEY}\">https:\/\/trial.serviceobjects.com\/FT\/web.svc\/json\/GetCanadianTaxInfoByProvince?Province={PROVINCE}&amp;LicenseKey={LICENSEKEY}<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>XML:<\/strong>&nbsp;\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/trial.serviceobjects.com\/FT\/web.svc\/json\/GetCanadianTaxInfoByProvince?Province={PROVINCE}&amp;LicenseKey={LICENSEKEY}\" target=\"_blank\">https:\/\/trial.serviceobjects.com\/FT\/web.svc\/xml\/GetCanadianTaxInfoByProvince?Province={PROVINCE}&amp;LicenseKey={LICENSEKEY}<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"FT-GetCanadianTaxInfoByProvince-GetCanadianTaxInfoByProvinceInputs\">GetCanadianTaxInfoByProvince&nbsp;Inputs<\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-table-section\"><table><thead><tr><th>Name<\/th><th>Type<\/th><th>value<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>Province<\/td><td>String<\/td><td>Varies<\/td><td>The full name or abbreviation of the province to get tax rates for<\/td><\/tr><tr><td>LicenseKey<\/td><td>String<\/td><td>Varies<\/td><td>Your license key to use the service.<br>Sign up for a free trial key at<br><a href=\"https:\/\/www.serviceobjects.com\/fasttax\/\" rel=\"noreferrer noopener\" target=\"_blank\">https:\/\/www.serviceobjects.com\/fasttax\/<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"FT-GetCanadianTaxInfoByProvince-GetCanadianTaxInfoByProvinceOutputs\">GetCanadianTaxInfoByProvince&nbsp;Outputs<\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-table-section\"><table><thead><tr><th scope=\"col\">Name<\/th><th scope=\"col\">Type<\/th><th scope=\"col\">Values<\/th><th scope=\"col\">Description<\/th><\/tr><\/thead><tbody><tr><td>ProvinceName<\/td><td>String<\/td><td>Varies<\/td><td>The full province name.<\/td><\/tr><tr><td>ProvinceAbbreviation<\/td><td>String<\/td><td>Two letter prov. code<\/td><td>The provinces abbreviated name.<\/td><\/tr><tr><td>GoodsSalesTax<\/td><td>String<\/td><td>Decimal digit<\/td><td>The value of the Goods and Services Tax for the province.<\/td><\/tr><tr><td>ProvinceSalesTax<\/td><td>String<\/td><td>Decimal digit<\/td><td>The value of the sales tax for the province. This value applies for PST, QST or RST.<\/td><\/tr><tr><td>HarmonizedSalesTax<\/td><td>String<\/td><td>Decimal digit<\/td><td>The value of the Harmonized sales tax for the province.<\/td><\/tr><tr><td>ApplyGSTFirst<\/td><td>String<\/td><td>&#8220;True&#8221; or &#8220;False&#8221;<\/td><td>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.<\/td><\/tr><tr><td><a href=\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-errors\/\" target=\"_blank\" rel=\"noreferrer noopener\">Error<\/a><\/td><td>String<\/td><td>Varies<\/td><td>The error object containing information about the error returned.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"FT-GetCanadianTaxInfoByProvince-References\">References<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3748,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3768","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>FT - GetCanadianTaxInfoByProvince<\/title>\n<meta name=\"description\" content=\"URL Endpoints GetCanadianTaxInfoByProvince&nbsp;Inputs GetCanadianTaxInfoByProvince\u00a0Outputs References This operation should be used for any attempts to\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"FT - GetCanadianTaxInfoByProvince\" \/>\n<meta property=\"og:description\" content=\"URL Endpoints GetCanadianTaxInfoByProvince&nbsp;Inputs GetCanadianTaxInfoByProvince\u00a0Outputs References This operation should be used for any attempts to\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-14T22:08:22+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/\",\"name\":\"FT - GetCanadianTaxInfoByProvince\",\"isPartOf\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2022-11-12T00:06:04+00:00\",\"dateModified\":\"2022-12-14T22:08:22+00:00\",\"description\":\"URL Endpoints GetCanadianTaxInfoByProvince&nbsp;Inputs GetCanadianTaxInfoByProvince\u00a0Outputs References This operation should be used for any attempts to\",\"breadcrumb\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS FastTax\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"FT &#8211; Operations\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"FT &#8211; GetCanadianTaxInfoByProvince\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#website\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/test.serviceobjects.com\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#organization\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"contentUrl\":\"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"width\":2560,\"height\":1440,\"caption\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\"},\"image\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"FT - GetCanadianTaxInfoByProvince","description":"URL Endpoints GetCanadianTaxInfoByProvince&nbsp;Inputs GetCanadianTaxInfoByProvince\u00a0Outputs References This operation should be used for any attempts to","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"FT - GetCanadianTaxInfoByProvince","og_description":"URL Endpoints GetCanadianTaxInfoByProvince&nbsp;Inputs GetCanadianTaxInfoByProvince\u00a0Outputs References This operation should be used for any attempts to","og_url":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2022-12-14T22:08:22+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/","url":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/","name":"FT - GetCanadianTaxInfoByProvince","isPartOf":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#website"},"datePublished":"2022-11-12T00:06:04+00:00","dateModified":"2022-12-14T22:08:22+00:00","description":"URL Endpoints GetCanadianTaxInfoByProvince&nbsp;Inputs GetCanadianTaxInfoByProvince\u00a0Outputs References This operation should be used for any attempts to","breadcrumb":{"@id":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/ft-getcanadiantaxinfobyprovince\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS FastTax","item":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/"},{"@type":"ListItem","position":3,"name":"FT &#8211; Operations","item":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-operations\/"},{"@type":"ListItem","position":4,"name":"FT &#8211; GetCanadianTaxInfoByProvince"}]},{"@type":"WebSite","@id":"https:\/\/test.serviceobjects.com\/docs\/#website","url":"https:\/\/test.serviceobjects.com\/docs\/","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","description":"","publisher":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/test.serviceobjects.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/test.serviceobjects.com\/docs\/#organization","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","url":"https:\/\/test.serviceobjects.com\/docs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/","url":"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","contentUrl":"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","width":2560,"height":1440,"caption":"Service Objects | Contact, Phone, Email Verification | Data Quality Services"},"image":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/3768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=3768"}],"version-history":[{"count":13,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/3768\/revisions"}],"predecessor-version":[{"id":7847,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/3768\/revisions\/7847"}],"up":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/3748"}],"wp:attachment":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=3768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}