ziptax.cfc

ZipTax API Integration

Use ZipTax for retrieving tax rates by county, state, country, etc.

Getting Started

  1. Clone repo. git clone [email protected]:mborn319/ziptax.git
  2. Copy config file and set up api key. cp config-sample.cfm config.cfm
  3. Start server. box start

Docs

Load Integration & Set API Key

ZipTax = New cfc.ziptax( application.apiKey );

Get Tax Rates

Right now there's only a single method to retrieve tax rates: getTaxRatesByLocation().

ZipTax.getTaxRatesByLocation( ... );

Get By Zip

ZipTax.getTaxRatesByLocation( myZipCode );

Get By Address

Please note that zip is still required.

ZipTax.getTaxRatesByLocation(
    street = "Pennsylvania Ave",
    city = "Washington",
    country = "US",
    zip = "20500"
);

TODO

  • Mockbox and testbox for tests
  • DocBox for documenting the ziptax cfc
  • CFLint cuz it's useful

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Download
0.1.0 May 05 2018 04:20 PM May 05 2018 04:20 PM Michael Born (mborn319)

 

  •   Michael Born
  • Published
  • 0.1.0 is the latest of 1 release(s)
    Published
  • Published on May 05 2018 04:20 PM
No collaborators yet.
 
  • May 05 2018 04:20 PM
  • May 05 2018 04:20 PM
  • 214
  • 186
  • 1