Git Product home page Git Product logo

avatax-calc-rest-javascript's Introduction

AvaTax-REST-JavaScript

Other Samples

This is a barebones JavaScript sample demonstrating the AvaTax REST API methods: tax/get POST, tax/get GET, tax/cancel POST, and address/validate GET. Calculation output is minimally parsed and output to the browser.

For more information on the use of these methods and the AvaTax product, please visit our developer site or homepage

Dependencies:

  • PHP 5.0 or later

Requirements:

  • Authentication requires an valid Account Number and License Key, which should be entered in AvaTax.php
  • If you do not have an AvaTax account, a free trial account can be acquired through our developer site

Contents:

Sample Files
CancelTaxTest.htmlDemonstrates the CancelTax method used to void a document.
EstimateTaxTest.htmlDemonstrates the EstimateTax method used for product- and line- indifferent tax estimates.
GetTaxTest.htmlDemonstrates the GetTax method used for product- and line- specific calculation.
PingTest.htmlUses a hardcoded EstimateTax call to test connectivity and credential information.
ValidateAddressTest.htmlDemonstrates the ValidateAddress method to normalize an address.
Other Files
AvaTax.jsContains the core classes and builds method-specific URIs, etc to call the service with AvaTax.php.
AvaTax.phpProvides a server-side php proxy to make the service calls, contains the AvaTax account credentials used for all calls.
.gitattributes-
.gitignore-
LICENSE.md-
README.md-

avatax-calc-rest-javascript's People

Contributors

loveandcoding avatar seanrustavalara avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.