{
  "opencollection": "1.0.0",
  "info": {
    "name": "Precisely APIs Taxrate API",
    "version": "18.1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "implicit",
      "authorizationUrl": "https://api.precisely.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Taxrate",
        "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."
        }
      ]
    }
  ],
  "bundled": true
}