Avalara · Capability
Avalara AvaTax APIs — TaxRules
Avalara AvaTax APIs — TaxRules. 8 operations. Lead operation: Avalara CreateTaxRules. Self-contained Naftiko capability covering one Avalara business surface.
What You Can Do
POST
Post
— Avalara CreateTaxRules
/v1/api/v2/companies/{companyid}/taxrules
GET
Get
— Avalara ListTaxRules
/v1/api/v2/companies/{companyid}/taxrules
DELETE
Delete
— Avalara DeleteTaxRule
/v1/api/v2/companies/{companyid}/taxrules/{id}
GET
Get
— Avalara GetTaxRule
/v1/api/v2/companies/{companyid}/taxrules/{id}
PUT
Put
— Avalara UpdateTaxRule
/v1/api/v2/companies/{companyid}/taxrules/{id}
PUT
Put
— Avalara CreateCountryCoefficients
/v1/api/v2/countrycoefficients
GET
Get
— Avalara QueryTaxRules
/v1/api/v2/taxrules
GET
Get
— Avalara ListCountryCoefficients
/v1/api/v2/{country}/countrycoefficients
MCP Tools
avalara-createtaxrules
Avalara CreateTaxRules
avalara-listtaxrules
Avalara ListTaxRules
read-only
idempotent
avalara-deletetaxrule
Avalara DeleteTaxRule
idempotent
avalara-gettaxrule
Avalara GetTaxRule
read-only
idempotent
avalara-updatetaxrule
Avalara UpdateTaxRule
idempotent
avalara-createcountrycoefficients
Avalara CreateCountryCoefficients
idempotent
avalara-querytaxrules
Avalara QueryTaxRules
read-only
idempotent
avalara-listcountrycoefficients
Avalara ListCountryCoefficients
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Avalara AvaTax APIs — TaxRules
description: 'Avalara AvaTax APIs — TaxRules. 8 operations. Lead operation: Avalara CreateTaxRules. Self-contained Naftiko
capability covering one Avalara business surface.'
tags:
- Avalara
- TaxRules
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
AVALARA_API_KEY: AVALARA_API_KEY
capability:
consumes:
- type: http
namespace: avatax-apis-taxrules
baseUri: http://{{baseurl}}
description: Avalara AvaTax APIs — TaxRules business capability. Self-contained, no shared references.
resources:
- name: api-v2-companies-companyId-taxrules
path: /api/v2/companies/{companyId}/taxrules
operations:
- name: post
method: POST
description: Avalara CreateTaxRules
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Content-Type
in: header
type: string
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: companyId
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: get
method: GET
description: Avalara ListTaxRules
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: companyId
in: path
type: string
required: true
- name: api-v2-companies-companyId-taxrules-id
path: /api/v2/companies/{companyId}/taxrules/{id}
operations:
- name: delete
method: DELETE
description: Avalara DeleteTaxRule
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: companyId
in: path
type: string
required: true
- name: id
in: path
type: string
required: true
- name: get
method: GET
description: Avalara GetTaxRule
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: companyId
in: path
type: string
required: true
- name: id
in: path
type: string
required: true
- name: put
method: PUT
description: Avalara UpdateTaxRule
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Content-Type
in: header
type: string
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: companyId
in: path
type: string
required: true
- name: id
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: api-v2-countryCoefficients
path: /api/v2/countryCoefficients
operations:
- name: put
method: PUT
description: Avalara CreateCountryCoefficients
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Content-Type
in: header
type: string
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: api-v2-taxrules
path: /api/v2/taxrules
operations:
- name: get
method: GET
description: Avalara QueryTaxRules
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: api-v2-country-CountryCoefficients
path: /api/v2/{country}/CountryCoefficients
operations:
- name: get
method: GET
description: Avalara ListCountryCoefficients
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: country
in: path
type: string
required: true
authentication:
type: basic
username: '{{env.AVALARA_USER}}'
password: '{{env.AVALARA_PASS}}'
exposes:
- type: rest
namespace: avatax-apis-taxrules-rest
port: 8080
description: REST adapter for Avalara AvaTax APIs — TaxRules. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/api/v2/companies/{companyid}/taxrules
name: api-v2-companies-companyid-taxrules
description: REST surface for api-v2-companies-companyId-taxrules.
operations:
- method: POST
name: post
description: Avalara CreateTaxRules
call: avatax-apis-taxrules.post
with:
Content-Type: rest.Content-Type
X-Avalara-Client: rest.X-Avalara-Client
companyId: rest.companyId
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: GET
name: get
description: Avalara ListTaxRules
call: avatax-apis-taxrules.get
with:
X-Avalara-Client: rest.X-Avalara-Client
companyId: rest.companyId
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/companies/{companyid}/taxrules/{id}
name: api-v2-companies-companyid-taxrules-id
description: REST surface for api-v2-companies-companyId-taxrules-id.
operations:
- method: DELETE
name: delete
description: Avalara DeleteTaxRule
call: avatax-apis-taxrules.delete
with:
X-Avalara-Client: rest.X-Avalara-Client
companyId: rest.companyId
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: GET
name: get
description: Avalara GetTaxRule
call: avatax-apis-taxrules.get
with:
X-Avalara-Client: rest.X-Avalara-Client
companyId: rest.companyId
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: PUT
name: put
description: Avalara UpdateTaxRule
call: avatax-apis-taxrules.put
with:
Content-Type: rest.Content-Type
X-Avalara-Client: rest.X-Avalara-Client
companyId: rest.companyId
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/countrycoefficients
name: api-v2-countrycoefficients
description: REST surface for api-v2-countryCoefficients.
operations:
- method: PUT
name: put
description: Avalara CreateCountryCoefficients
call: avatax-apis-taxrules.put
with:
Content-Type: rest.Content-Type
X-Avalara-Client: rest.X-Avalara-Client
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/taxrules
name: api-v2-taxrules
description: REST surface for api-v2-taxrules.
operations:
- method: GET
name: get
description: Avalara QueryTaxRules
call: avatax-apis-taxrules.get
with:
X-Avalara-Client: rest.X-Avalara-Client
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/{country}/countrycoefficients
name: api-v2-country-countrycoefficients
description: REST surface for api-v2-country-CountryCoefficients.
operations:
- method: GET
name: get
description: Avalara ListCountryCoefficients
call: avatax-apis-taxrules.get
with:
X-Avalara-Client: rest.X-Avalara-Client
country: rest.country
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: avatax-apis-taxrules-mcp
port: 9090
transport: http
description: MCP adapter for Avalara AvaTax APIs — TaxRules. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: avalara-createtaxrules
description: Avalara CreateTaxRules
hints:
readOnly: false
destructive: false
idempotent: false
call: avatax-apis-taxrules.post
with:
Content-Type: tools.Content-Type
X-Avalara-Client: tools.X-Avalara-Client
companyId: tools.companyId
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: avalara-listtaxrules
description: Avalara ListTaxRules
hints:
readOnly: true
destructive: false
idempotent: true
call: avatax-apis-taxrules.get
with:
X-Avalara-Client: tools.X-Avalara-Client
companyId: tools.companyId
outputParameters:
- type: object
mapping: $.
- name: avalara-deletetaxrule
description: Avalara DeleteTaxRule
hints:
readOnly: false
destructive: true
idempotent: true
call: avatax-apis-taxrules.delete
with:
X-Avalara-Client: tools.X-Avalara-Client
companyId: tools.companyId
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: avalara-gettaxrule
description: Avalara GetTaxRule
hints:
readOnly: true
destructive: false
idempotent: true
call: avatax-apis-taxrules.get
with:
X-Avalara-Client: tools.X-Avalara-Client
companyId: tools.companyId
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: avalara-updatetaxrule
description: Avalara UpdateTaxRule
hints:
readOnly: false
destructive: false
idempotent: true
call: avatax-apis-taxrules.put
with:
Content-Type: tools.Content-Type
X-Avalara-Client: tools.X-Avalara-Client
companyId: tools.companyId
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: avalara-createcountrycoefficients
description: Avalara CreateCountryCoefficients
hints:
readOnly: false
destructive: false
idempotent: true
call: avatax-apis-taxrules.put
with:
Content-Type: tools.Content-Type
X-Avalara-Client: tools.X-Avalara-Client
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: avalara-querytaxrules
description: Avalara QueryTaxRules
hints:
readOnly: true
destructive: false
idempotent: true
call: avatax-apis-taxrules.get
with:
X-Avalara-Client: tools.X-Avalara-Client
outputParameters:
- type: object
mapping: $.
- name: avalara-listcountrycoefficients
description: Avalara ListCountryCoefficients
hints:
readOnly: true
destructive: false
idempotent: true
call: avatax-apis-taxrules.get
with:
X-Avalara-Client: tools.X-Avalara-Client
country: tools.country
outputParameters:
- type: object
mapping: $.