Avalara · Capability

Avalara AvaTax APIs — Settings

Avalara AvaTax APIs — Settings. 6 operations. Lead operation: Avalara CreateSettings. Self-contained Naftiko capability covering one Avalara business surface.

Run with Naftiko AvalaraSettings

What You Can Do

POST
Post — Avalara CreateSettings
/v1/api/v2/companies/{companyid}/settings
GET
Get — Avalara ListSettingsByCompany
/v1/api/v2/companies/{companyid}/settings
DELETE
Delete — Avalara DeleteSetting
/v1/api/v2/companies/{companyid}/settings/{id}
GET
Get — Avalara GetSetting
/v1/api/v2/companies/{companyid}/settings/{id}
PUT
Put — Avalara UpdateSetting
/v1/api/v2/companies/{companyid}/settings/{id}
GET
Get — Avalara QuerySettings
/v1/api/v2/settings

MCP Tools

avalara-createsettings

Avalara CreateSettings

avalara-listsettingsbycompany

Avalara ListSettingsByCompany

read-only idempotent
avalara-deletesetting

Avalara DeleteSetting

idempotent
avalara-getsetting

Avalara GetSetting

read-only idempotent
avalara-updatesetting

Avalara UpdateSetting

idempotent
avalara-querysettings

Avalara QuerySettings

read-only idempotent

Capability Spec

avatax-apis-settings.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Avalara AvaTax APIs — Settings
  description: 'Avalara AvaTax APIs — Settings. 6 operations. Lead operation: Avalara CreateSettings. Self-contained Naftiko
    capability covering one Avalara business surface.'
  tags:
  - Avalara
  - Settings
  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-settings
    baseUri: http://{{baseurl}}
    description: Avalara AvaTax APIs — Settings business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-companies-companyId-settings
      path: /api/v2/companies/{companyId}/settings
      operations:
      - name: post
        method: POST
        description: Avalara CreateSettings
        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 ListSettingsByCompany
        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-settings-id
      path: /api/v2/companies/{companyId}/settings/{id}
      operations:
      - name: delete
        method: DELETE
        description: Avalara DeleteSetting
        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 GetSetting
        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 UpdateSetting
        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-settings
      path: /api/v2/settings
      operations:
      - name: get
        method: GET
        description: Avalara QuerySettings
        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
    authentication:
      type: basic
      username: '{{env.AVALARA_USER}}'
      password: '{{env.AVALARA_PASS}}'
  exposes:
  - type: rest
    namespace: avatax-apis-settings-rest
    port: 8080
    description: REST adapter for Avalara AvaTax APIs — Settings. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v2/companies/{companyid}/settings
      name: api-v2-companies-companyid-settings
      description: REST surface for api-v2-companies-companyId-settings.
      operations:
      - method: POST
        name: post
        description: Avalara CreateSettings
        call: avatax-apis-settings.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 ListSettingsByCompany
        call: avatax-apis-settings.get
        with:
          X-Avalara-Client: rest.X-Avalara-Client
          companyId: rest.companyId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/companies/{companyid}/settings/{id}
      name: api-v2-companies-companyid-settings-id
      description: REST surface for api-v2-companies-companyId-settings-id.
      operations:
      - method: DELETE
        name: delete
        description: Avalara DeleteSetting
        call: avatax-apis-settings.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 GetSetting
        call: avatax-apis-settings.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 UpdateSetting
        call: avatax-apis-settings.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/settings
      name: api-v2-settings
      description: REST surface for api-v2-settings.
      operations:
      - method: GET
        name: get
        description: Avalara QuerySettings
        call: avatax-apis-settings.get
        with:
          X-Avalara-Client: rest.X-Avalara-Client
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: avatax-apis-settings-mcp
    port: 9090
    transport: http
    description: MCP adapter for Avalara AvaTax APIs — Settings. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: avalara-createsettings
      description: Avalara CreateSettings
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: avatax-apis-settings.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-listsettingsbycompany
      description: Avalara ListSettingsByCompany
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: avatax-apis-settings.get
      with:
        X-Avalara-Client: tools.X-Avalara-Client
        companyId: tools.companyId
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-deletesetting
      description: Avalara DeleteSetting
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: avatax-apis-settings.delete
      with:
        X-Avalara-Client: tools.X-Avalara-Client
        companyId: tools.companyId
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-getsetting
      description: Avalara GetSetting
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: avatax-apis-settings.get
      with:
        X-Avalara-Client: tools.X-Avalara-Client
        companyId: tools.companyId
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-updatesetting
      description: Avalara UpdateSetting
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: avatax-apis-settings.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-querysettings
      description: Avalara QuerySettings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: avatax-apis-settings.get
      with:
        X-Avalara-Client: tools.X-Avalara-Client
      outputParameters:
      - type: object
        mapping: $.