{"id":18324021,"url":"https://github.com/dirk/sales_tax","last_synced_at":"2025-08-02T06:07:14.206Z","repository":{"id":56894202,"uuid":"51262531","full_name":"dirk/sales_tax","owner":"dirk","description":"Look up sales tax rates by zip code","archived":false,"fork":false,"pushed_at":"2017-02-08T04:37:42.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-28T14:36:15.930Z","etag":null,"topics":["sales-tax","tax","tax-rate"],"latest_commit_sha":null,"homepage":"https://github.com/dirk/sales_tax","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dirk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-07T19:39:01.000Z","updated_at":"2017-02-08T04:39:34.000Z","dependencies_parsed_at":"2022-08-20T16:10:40.905Z","dependency_job_id":null,"html_url":"https://github.com/dirk/sales_tax","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dirk/sales_tax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Fsales_tax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Fsales_tax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Fsales_tax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Fsales_tax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirk","download_url":"https://codeload.github.com/dirk/sales_tax/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Fsales_tax/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268339804,"owners_count":24234600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sales-tax","tax","tax-rate"],"created_at":"2024-11-05T18:31:09.417Z","updated_at":"2025-08-02T06:07:14.177Z","avatar_url":"https://github.com/dirk.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sales_tax\n\nInterface to the public [Avalara TaxRates](http://www.taxrates.com/) database for sales taxes in the United States of America. Easily look up combined, state, and county rates by zip code.\n\n**Notice**: This is a development tool only; it is not intended for use as tax compliance software and should not be relied upon for financial decisions. As detailed in the [LICENSE](LICENSE), **use of this software is at your own risk**. The author(s) disclaim all warranties and by your use of this software you agree to waive the author(s) of any and all liabilities. You should consult with a tax professional before collecting or paying taxes.\n\n[![Build Status](https://travis-ci.org/dirk/sales_tax.svg)](https://travis-ci.org/dirk/sales_tax)\n\n## Installation\n\nInstall via Rubygems or add the dependency via Bundler:\n\n```sh\n# Rubygems directly\ngem install sales_tax\n\n# In your Gemfile\ngem 'sales_tax'\n```\n\nAfter installation you will need to download the publicly available CSV data from Avalara's [taxrates.com](http://www.taxrates.com/download-tax-tables/):\n\n```sh\n# Ensure the gem is loaded when `rake` is called (this is done automatically\n# if you're using Rails and the gem is in your Gemfile)\nbundle exec rake sales_tax:download\n```\n\n## Basic usage\n\nYou can look up the tax rates via zip code:\n\n```ruby\nSalesTax['94107']\n# =\u003e \u003cstruct SalesTax::Rate region_name=\"SAN FRANCISCO COUNTY\",\n#                           region_code=\"AIUQ\",\n#                           combined_rate=0.0875,\n#                           state_rate=0.065,\n#                           county_rate=0.01,\n#                           city_rate=0.0,\n#                           special_rate=0.0125\u003e\n```\n\n## License\n\nLicensed under the MIT license. See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirk%2Fsales_tax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirk%2Fsales_tax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirk%2Fsales_tax/lists"}