Angular Avatax API
Unofficial Angular service to communicate with Avalara Avatax API
Installation
Bower
bower install --save angular-avatax
npm
npm install --save angular-avatax
yarn
yarn add angular-avatax
Usage
Include avalara into your angular module
angular
Configure Avatax by using AvataxProvider
. You can choose to supply username/password or accountId/licenseKey as well as environment (sandbox/ production). If no environment is provided, it will default to production
.
E.g. Sandbox environment using usernam/password
angular; /* @ngInject */ { AvataxProvider;}
E.g. Production environment using accountId/licenseKey
angular; /* @ngInject */ { AvataxProvider;}
Use Avatax
from a controller or service.
angular; /* @ngInject */ { Avataxtransactions ;}