Avalara · Capability

Avalara AvaTax APIs — Registrar

Avalara AvaTax APIs — Registrar. 11 operations. Lead operation: Avalara CreateAccount. Self-contained Naftiko capability covering one Avalara business surface.

Run with Naftiko AvalaraRegistrar

What You Can Do

POST
Post — Avalara CreateAccount
/v1/api/v2/accounts
POST
Post — Avalara CreateSubscriptions
/v1/api/v2/accounts/{accountid}/subscriptions
DELETE
Delete — Avalara DeleteSubscription
/v1/api/v2/accounts/{accountid}/subscriptions/{id}
PUT
Put — Avalara UpdateSubscription
/v1/api/v2/accounts/{accountid}/subscriptions/{id}
DELETE
Delete — Avalara DeleteAccount
/v1/api/v2/accounts/{id}
PUT
Put — Avalara UpdateAccount
/v1/api/v2/accounts/{id}
POST
Post — Avalara CreateNotifications
/v1/api/v2/notifications
DELETE
Delete — Avalara DeleteNotification
/v1/api/v2/notifications/{id}
PUT
Put — Avalara UpdateNotification
/v1/api/v2/notifications/{id}
POST
Post — Avalara ResetPassword
/v1/api/v2/passwords/{userid}/reset
GET
Get — Avalara ListServiceTypes
/v1/api/v2/servicetypes/servicetypes

MCP Tools

avalara-createaccount

Avalara CreateAccount

avalara-createsubscriptions

Avalara CreateSubscriptions

avalara-deletesubscription

Avalara DeleteSubscription

idempotent
avalara-updatesubscription

Avalara UpdateSubscription

idempotent
avalara-deleteaccount

Avalara DeleteAccount

idempotent
avalara-updateaccount

Avalara UpdateAccount

idempotent
avalara-createnotifications

Avalara CreateNotifications

avalara-deletenotification

Avalara DeleteNotification

idempotent
avalara-updatenotification

Avalara UpdateNotification

idempotent
avalara-resetpassword

Avalara ResetPassword

avalara-listservicetypes

Avalara ListServiceTypes

read-only idempotent

Capability Spec

avatax-apis-registrar.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Avalara AvaTax APIs — Registrar
  description: 'Avalara AvaTax APIs — Registrar. 11 operations. Lead operation: Avalara CreateAccount. Self-contained Naftiko
    capability covering one Avalara business surface.'
  tags:
  - Avalara
  - Registrar
  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-registrar
    baseUri: http://{{baseurl}}
    description: Avalara AvaTax APIs — Registrar business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-accounts
      path: /api/v2/accounts
      operations:
      - name: post
        method: POST
        description: Avalara CreateAccount
        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-accounts-accountId-subscriptions
      path: /api/v2/accounts/{accountId}/subscriptions
      operations:
      - name: post
        method: POST
        description: Avalara CreateSubscriptions
        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: accountId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-v2-accounts-accountId-subscriptions-id
      path: /api/v2/accounts/{accountId}/subscriptions/{id}
      operations:
      - name: delete
        method: DELETE
        description: Avalara DeleteSubscription
        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: accountId
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
      - name: put
        method: PUT
        description: Avalara UpdateSubscription
        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: accountId
          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-accounts-id
      path: /api/v2/accounts/{id}
      operations:
      - name: delete
        method: DELETE
        description: Avalara DeleteAccount
        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: id
          in: path
          type: string
          required: true
      - name: put
        method: PUT
        description: Avalara UpdateAccount
        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: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-v2-notifications
      path: /api/v2/notifications
      operations:
      - name: post
        method: POST
        description: Avalara CreateNotifications
        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-notifications-id
      path: /api/v2/notifications/{id}
      operations:
      - name: delete
        method: DELETE
        description: Avalara DeleteNotification
        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: id
          in: path
          type: string
          required: true
      - name: put
        method: PUT
        description: Avalara UpdateNotification
        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: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-v2-passwords-userId-reset
      path: /api/v2/passwords/{userId}/reset
      operations:
      - name: post
        method: POST
        description: Avalara ResetPassword
        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: userId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-v2-servicetypes-servicetypes
      path: /api/v2/servicetypes/servicetypes
      operations:
      - name: get
        method: GET
        description: Avalara ListServiceTypes
        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-registrar-rest
    port: 8080
    description: REST adapter for Avalara AvaTax APIs — Registrar. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v2/accounts
      name: api-v2-accounts
      description: REST surface for api-v2-accounts.
      operations:
      - method: POST
        name: post
        description: Avalara CreateAccount
        call: avatax-apis-registrar.post
        with:
          Content-Type: rest.Content-Type
          X-Avalara-Client: rest.X-Avalara-Client
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/accounts/{accountid}/subscriptions
      name: api-v2-accounts-accountid-subscriptions
      description: REST surface for api-v2-accounts-accountId-subscriptions.
      operations:
      - method: POST
        name: post
        description: Avalara CreateSubscriptions
        call: avatax-apis-registrar.post
        with:
          Content-Type: rest.Content-Type
          X-Avalara-Client: rest.X-Avalara-Client
          accountId: rest.accountId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/accounts/{accountid}/subscriptions/{id}
      name: api-v2-accounts-accountid-subscriptions-id
      description: REST surface for api-v2-accounts-accountId-subscriptions-id.
      operations:
      - method: DELETE
        name: delete
        description: Avalara DeleteSubscription
        call: avatax-apis-registrar.delete
        with:
          X-Avalara-Client: rest.X-Avalara-Client
          accountId: rest.accountId
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: put
        description: Avalara UpdateSubscription
        call: avatax-apis-registrar.put
        with:
          Content-Type: rest.Content-Type
          X-Avalara-Client: rest.X-Avalara-Client
          accountId: rest.accountId
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/accounts/{id}
      name: api-v2-accounts-id
      description: REST surface for api-v2-accounts-id.
      operations:
      - method: DELETE
        name: delete
        description: Avalara DeleteAccount
        call: avatax-apis-registrar.delete
        with:
          X-Avalara-Client: rest.X-Avalara-Client
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: put
        description: Avalara UpdateAccount
        call: avatax-apis-registrar.put
        with:
          Content-Type: rest.Content-Type
          X-Avalara-Client: rest.X-Avalara-Client
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/notifications
      name: api-v2-notifications
      description: REST surface for api-v2-notifications.
      operations:
      - method: POST
        name: post
        description: Avalara CreateNotifications
        call: avatax-apis-registrar.post
        with:
          Content-Type: rest.Content-Type
          X-Avalara-Client: rest.X-Avalara-Client
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/notifications/{id}
      name: api-v2-notifications-id
      description: REST surface for api-v2-notifications-id.
      operations:
      - method: DELETE
        name: delete
        description: Avalara DeleteNotification
        call: avatax-apis-registrar.delete
        with:
          X-Avalara-Client: rest.X-Avalara-Client
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: put
        description: Avalara UpdateNotification
        call: avatax-apis-registrar.put
        with:
          Content-Type: rest.Content-Type
          X-Avalara-Client: rest.X-Avalara-Client
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/passwords/{userid}/reset
      name: api-v2-passwords-userid-reset
      description: REST surface for api-v2-passwords-userId-reset.
      operations:
      - method: POST
        name: post
        description: Avalara ResetPassword
        call: avatax-apis-registrar.post
        with:
          Content-Type: rest.Content-Type
          X-Avalara-Client: rest.X-Avalara-Client
          userId: rest.userId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/servicetypes/servicetypes
      name: api-v2-servicetypes-servicetypes
      description: REST surface for api-v2-servicetypes-servicetypes.
      operations:
      - method: GET
        name: get
        description: Avalara ListServiceTypes
        call: avatax-apis-registrar.get
        with:
          X-Avalara-Client: rest.X-Avalara-Client
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: avatax-apis-registrar-mcp
    port: 9090
    transport: http
    description: MCP adapter for Avalara AvaTax APIs — Registrar. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: avalara-createaccount
      description: Avalara CreateAccount
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: avatax-apis-registrar.post
      with:
        Content-Type: tools.Content-Type
        X-Avalara-Client: tools.X-Avalara-Client
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-createsubscriptions
      description: Avalara CreateSubscriptions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: avatax-apis-registrar.post
      with:
        Content-Type: tools.Content-Type
        X-Avalara-Client: tools.X-Avalara-Client
        accountId: tools.accountId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-deletesubscription
      description: Avalara DeleteSubscription
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: avatax-apis-registrar.delete
      with:
        X-Avalara-Client: tools.X-Avalara-Client
        accountId: tools.accountId
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-updatesubscription
      description: Avalara UpdateSubscription
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: avatax-apis-registrar.put
      with:
        Content-Type: tools.Content-Type
        X-Avalara-Client: tools.X-Avalara-Client
        accountId: tools.accountId
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-deleteaccount
      description: Avalara DeleteAccount
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: avatax-apis-registrar.delete
      with:
        X-Avalara-Client: tools.X-Avalara-Client
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-updateaccount
      description: Avalara UpdateAccount
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: avatax-apis-registrar.put
      with:
        Content-Type: tools.Content-Type
        X-Avalara-Client: tools.X-Avalara-Client
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-createnotifications
      description: Avalara CreateNotifications
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: avatax-apis-registrar.post
      with:
        Content-Type: tools.Content-Type
        X-Avalara-Client: tools.X-Avalara-Client
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-deletenotification
      description: Avalara DeleteNotification
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: avatax-apis-registrar.delete
      with:
        X-Avalara-Client: tools.X-Avalara-Client
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-updatenotification
      description: Avalara UpdateNotification
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: avatax-apis-registrar.put
      with:
        Content-Type: tools.Content-Type
        X-Avalara-Client: tools.X-Avalara-Client
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-resetpassword
      description: Avalara ResetPassword
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: avatax-apis-registrar.post
      with:
        Content-Type: tools.Content-Type
        X-Avalara-Client: tools.X-Avalara-Client
        userId: tools.userId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: avalara-listservicetypes
      description: Avalara ListServiceTypes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: avatax-apis-registrar.get
      with:
        X-Avalara-Client: tools.X-Avalara-Client
      outputParameters:
      - type: object
        mapping: $.