{ "opencollection": "1.0.0", "info": { "name": "Precisely APIs Type API", "version": "18.1.0" }, "request": { "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://api.precisely.com/oauth/token", "credentials": { "clientId": "{{clientId}}" } } }, "items": [ { "info": { "name": "Type", "type": "folder" }, "items": [ { "info": { "name": "Get Taxrate By Location", "type": "http" }, "http": { "method": "GET", "url": "https://api.precisely.com/localtax/v1/taxrate/:taxRateTypeId/bylocation", "params": [ { "name": "taxRateTypeId", "value": "", "type": "path", "description": "The tax rate id" }, { "name": "latitude", "value": "", "type": "query", "description": "Latitude of the location" }, { "name": "longitude", "value": "", "type": "query", "description": "Longitude of the location" } ], "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://api.precisely.com/oauth/token", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "Retrieves tax rates applicable to a specific location. This service accepts longitude, latitude and supported tax rate type as inputs to retrieve applicable tax rates." }, { "info": { "name": "Post Taxrate By Location", "type": "http" }, "http": { "method": "POST", "url": "https://api.precisely.com/localtax/v1/taxrate/:taxRateTypeId/bylocation", "params": [ { "name": "taxRateTypeId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://api.precisely.com/oauth/token", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "This is a Batch offering for 'Taxrate By Location' service. It accepts a single location coordinate or a list of location coordinates and retrieve applicable tax rates." }, { "info": { "name": "Get Taxrate By Address", "type": "http" }, "http": { "method": "GET", "url": "https://api.precisely.com/localtax/v1/taxrate/:taxRateTypeId/byaddress", "params": [ { "name": "taxRateTypeId", "value": "", "type": "path", "description": "The tax rate id" }, { "name": "address", "value": "", "type": "query", "description": "The address to be searched." } ], "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://api.precisely.com/oauth/token", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "Retrieves tax rates applicable to a specific address. This service accepts address and supported tax rate type as inputs to retrieve applicable tax rates." }, { "info": { "name": "Post Taxrate By Address", "type": "http" }, "http": { "method": "POST", "url": "https://api.precisely.com/localtax/v1/taxrate/:taxRateTypeId/byaddress", "params": [ { "name": "taxRateTypeId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://api.precisely.com/oauth/token", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "This is a Batch offering for 'Taxrate By Address' service. It accepts a single address or a list of addresses and retrieve applicable tax rates." }, { "info": { "name": "Get Tax By Location", "type": "http" }, "http": { "method": "GET", "url": "https://api.precisely.com/localtax/v1/tax/:taxRateTypeId/bylocation", "params": [ { "name": "taxRateTypeId", "value": "", "type": "path", "description": "The tax rate id" }, { "name": "latitude", "value": "", "type": "query", "description": "Latitude of the location" }, { "name": "longitude", "value": "", "type": "query", "description": "Longitude of the location" }, { "name": "purchaseAmount", "value": "", "type": "query", "description": "The amount on which tax to be calculated" } ], "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://api.precisely.com/oauth/token", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "This service calculates and returns tax applicable at a specific location. Longitude, latitude, purchase amount and supported tax rate type are inputs to the service." }, { "info": { "name": "Post Tax By Location", "type": "http" }, "http": { "method": "POST", "url": "https://api.precisely.com/localtax/v1/tax/:taxRateTypeId/bylocation", "params": [ { "name": "taxRateTypeId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://api.precisely.com/oauth/token", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "This is a Batch offering for 'Tax By Location' service. It accepts a single location coordinate, purchase amount or a list of location coordinates, purchase amounts and retrieve applicable tax." }, { "info": { "name": "Get Tax By Address", "type": "http" }, "http": { "method": "GET", "url": "https://api.precisely.com/localtax/v1/tax/:taxRateTypeId/byaddress", "params": [ { "name": "taxRateTypeId", "value": "", "type": "path", "description": "The tax rate id" }, { "name": "address", "value": "", "type": "query", "description": "The address to be searched." }, { "name": "purchaseAmount", "value": "", "type": "query", "description": "The amount on which tax to be calculated" } ], "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://api.precisely.com/oauth/token", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "This service calculates and returns taxes applicable at a specific address. Address, purchase amount and supported tax rate type are inputs to the service." }, { "info": { "name": "Post Tax By Address", "type": "http" }, "http": { "method": "POST", "url": "https://api.precisely.com/localtax/v1/tax/:taxRateTypeId/byaddress", "params": [ { "name": "taxRateTypeId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://api.precisely.com/oauth/token", "credentials": { "clientId": "{{clientId}}" } } }, "docs": "This is a Batch offering for 'Tax By Address' service. It accepts a single address, purchase amount or a list of addresses, purchase amounts and retrieve applicable taxes." } ] } ], "bundled": true }