Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an endpoint for special cases #7

Open
jpmurray opened this issue May 29, 2017 · 6 comments
Open

Create an endpoint for special cases #7

jpmurray opened this issue May 29, 2017 · 6 comments

Comments

@jpmurray
Copy link
Owner

Quick example:

  • return type of goods/services that are exempted for a rate;
  • return type of goods/services that have special extra rates (ex.: Manitoba has a 5% tax on hotel room fees)
@moga111
Copy link

moga111 commented Jul 8, 2019

Hello @jpmurray

Thanks for the API. can you please add support for

  • Retail Sales Tax
  • Quebec Sales Tax

Cheers

@jpmurray
Copy link
Owner Author

jpmurray commented Jul 11, 2019

@moga111 You can get provincial rates with the province endpoint by calling it like so : https://api.salestaxapi.ca/v2/province/qc.

I'm not sure I get what you mean by retail sales tax though? Anything missing from the endpoints in the documentation?

@moga111
Copy link

moga111 commented Jul 11, 2019

@jpmurray The api provides great info regarding the pst, hst, and gst, but for QC case for example, they have qst, MB they have rst.

Here is a link:
https://en.wikipedia.org/wiki/Sales_taxes_in_Canada#Provincial_sales_taxes

Thanks!

@jpmurray
Copy link
Owner Author

jpmurray commented Jul 11, 2019

@moga111 yes, but it's only a matter of terminology. If you call /v2/province/qc, you get:

{
  "start": "2013-01-01 00:00:00",
  "type": "gst,pst",
  "pst": 0.09975,
  "hst": 0,
  "gst": 0.05,
  "applicable": 0.14975,
  "source": "Wikipedia (https://en.wikipedia.org/wiki/Sales_taxes_in_Canada), accessed May 31 2019.",
  "updated_at": "2019-06-01 14:39:07",
  "incoming_changes": false
}

In this cast, pst is the effective provincial tax for quebec, which is called qst. I chose to call the provincial taxes pst everywhere in the API results so I don't get lost in different terminology. Same would go for Manitoba, if you take the RST, it is a provincial tax (PST), they just name it differently.

@moga111
Copy link

moga111 commented Aug 14, 2019

@jpmurray Thanks for the reply and sorry for not following up early.
Yes that clarifies it, and thanks again for the API

@jpmurray
Copy link
Owner Author

@moga111 Sure thing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants