Avalara · Capability
Avalara AvaTax APIs — MultiDocument
Avalara AvaTax APIs — MultiDocument. 10 operations. Lead operation: Avalara CreateMultiDocumentTransaction. Self-contained Naftiko capability covering one Avalara business surface.
What You Can Do
POST
Post
— Avalara CreateMultiDocumentTransaction
/v1/api/v2/transactions/multidocument
GET
Get
— Avalara ListMultiDocumentTransactions
/v1/api/v2/transactions/multidocument
POST
Post
— Avalara CommitMultiDocumentTransaction
/v1/api/v2/transactions/multidocument/commit
POST
Post
— Avalara VerifyMultiDocumentTransaction
/v1/api/v2/transactions/multidocument/verify
GET
Get
— Avalara GetMultiDocumentTransactionByCodeAndType
/v1/api/v2/transactions/multidocument/{code}/type/{type}
POST
Post
— Avalara AdjustMultiDocumentTransaction
/v1/api/v2/transactions/multidocument/{code}/type/{type}/adjust
GET
Get
— Avalara AuditMultiDocumentTransaction
/v1/api/v2/transactions/multidocument/{code}/type/{type}/audit
POST
Post
— Avalara RefundMultiDocumentTransaction
/v1/api/v2/transactions/multidocument/{code}/type/{type}/refund
POST
Post
— Avalara VoidMultiDocumentTransaction
/v1/api/v2/transactions/multidocument/{code}/type/{type}/void
GET
Get
— Avalara GetMultiDocumentTransactionById
/v1/api/v2/transactions/multidocument/{id}
MCP Tools
avalara-createmultidocumenttransaction
Avalara CreateMultiDocumentTransaction
avalara-listmultidocumenttransactions
Avalara ListMultiDocumentTransactions
read-only
idempotent
avalara-commitmultidocumenttransaction
Avalara CommitMultiDocumentTransaction
avalara-verifymultidocumenttransaction
Avalara VerifyMultiDocumentTransaction
avalara-getmultidocumenttransactionbycodeandtype
Avalara GetMultiDocumentTransactionByCodeAndType
read-only
idempotent
avalara-adjustmultidocumenttransaction
Avalara AdjustMultiDocumentTransaction
avalara-auditmultidocumenttransaction
Avalara AuditMultiDocumentTransaction
read-only
idempotent
avalara-refundmultidocumenttransaction
Avalara RefundMultiDocumentTransaction
avalara-voidmultidocumenttransaction
Avalara VoidMultiDocumentTransaction
avalara-getmultidocumenttransactionbyid
Avalara GetMultiDocumentTransactionById
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Avalara AvaTax APIs — MultiDocument
description: 'Avalara AvaTax APIs — MultiDocument. 10 operations. Lead operation: Avalara CreateMultiDocumentTransaction.
Self-contained Naftiko capability covering one Avalara business surface.'
tags:
- Avalara
- MultiDocument
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-multidocument
baseUri: http://{{baseurl}}
description: Avalara AvaTax APIs — MultiDocument business capability. Self-contained, no shared references.
resources:
- name: api-v2-transactions-multidocument
path: /api/v2/transactions/multidocument
operations:
- name: post
method: POST
description: Avalara CreateMultiDocumentTransaction
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: get
method: GET
description: Avalara ListMultiDocumentTransactions
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-transactions-multidocument-commit
path: /api/v2/transactions/multidocument/commit
operations:
- name: post
method: POST
description: Avalara CommitMultiDocumentTransaction
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-transactions-multidocument-verify
path: /api/v2/transactions/multidocument/verify
operations:
- name: post
method: POST
description: Avalara VerifyMultiDocumentTransaction
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-transactions-multidocument-code-type-type
path: /api/v2/transactions/multidocument/{code}/type/{type}
operations:
- name: get
method: GET
description: Avalara GetMultiDocumentTransactionByCodeAndType
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: code
in: path
type: string
required: true
- name: type
in: path
type: string
required: true
- name: api-v2-transactions-multidocument-code-type-type-adjust
path: /api/v2/transactions/multidocument/{code}/type/{type}/adjust
operations:
- name: post
method: POST
description: Avalara AdjustMultiDocumentTransaction
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: code
in: path
type: string
required: true
- name: type
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: api-v2-transactions-multidocument-code-type-type-audit
path: /api/v2/transactions/multidocument/{code}/type/{type}/audit
operations:
- name: get
method: GET
description: Avalara AuditMultiDocumentTransaction
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: code
in: path
type: string
required: true
- name: type
in: path
type: string
required: true
- name: api-v2-transactions-multidocument-code-type-type-refund
path: /api/v2/transactions/multidocument/{code}/type/{type}/refund
operations:
- name: post
method: POST
description: Avalara RefundMultiDocumentTransaction
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: code
in: path
type: string
required: true
- name: type
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: api-v2-transactions-multidocument-code-type-type-void
path: /api/v2/transactions/multidocument/{code}/type/{type}/void
operations:
- name: post
method: POST
description: Avalara VoidMultiDocumentTransaction
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: code
in: path
type: string
required: true
- name: type
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: api-v2-transactions-multidocument-id
path: /api/v2/transactions/multidocument/{id}
operations:
- name: get
method: GET
description: Avalara GetMultiDocumentTransactionById
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
authentication:
type: basic
username: '{{env.AVALARA_USER}}'
password: '{{env.AVALARA_PASS}}'
exposes:
- type: rest
namespace: avatax-apis-multidocument-rest
port: 8080
description: REST adapter for Avalara AvaTax APIs — MultiDocument. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/api/v2/transactions/multidocument
name: api-v2-transactions-multidocument
description: REST surface for api-v2-transactions-multidocument.
operations:
- method: POST
name: post
description: Avalara CreateMultiDocumentTransaction
call: avatax-apis-multidocument.post
with:
Content-Type: rest.Content-Type
X-Avalara-Client: rest.X-Avalara-Client
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: GET
name: get
description: Avalara ListMultiDocumentTransactions
call: avatax-apis-multidocument.get
with:
X-Avalara-Client: rest.X-Avalara-Client
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/transactions/multidocument/commit
name: api-v2-transactions-multidocument-commit
description: REST surface for api-v2-transactions-multidocument-commit.
operations:
- method: POST
name: post
description: Avalara CommitMultiDocumentTransaction
call: avatax-apis-multidocument.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/transactions/multidocument/verify
name: api-v2-transactions-multidocument-verify
description: REST surface for api-v2-transactions-multidocument-verify.
operations:
- method: POST
name: post
description: Avalara VerifyMultiDocumentTransaction
call: avatax-apis-multidocument.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/transactions/multidocument/{code}/type/{type}
name: api-v2-transactions-multidocument-code-type-type
description: REST surface for api-v2-transactions-multidocument-code-type-type.
operations:
- method: GET
name: get
description: Avalara GetMultiDocumentTransactionByCodeAndType
call: avatax-apis-multidocument.get
with:
X-Avalara-Client: rest.X-Avalara-Client
code: rest.code
type: rest.type
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/transactions/multidocument/{code}/type/{type}/adjust
name: api-v2-transactions-multidocument-code-type-type-adjust
description: REST surface for api-v2-transactions-multidocument-code-type-type-adjust.
operations:
- method: POST
name: post
description: Avalara AdjustMultiDocumentTransaction
call: avatax-apis-multidocument.post
with:
Content-Type: rest.Content-Type
X-Avalara-Client: rest.X-Avalara-Client
code: rest.code
type: rest.type
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/transactions/multidocument/{code}/type/{type}/audit
name: api-v2-transactions-multidocument-code-type-type-audit
description: REST surface for api-v2-transactions-multidocument-code-type-type-audit.
operations:
- method: GET
name: get
description: Avalara AuditMultiDocumentTransaction
call: avatax-apis-multidocument.get
with:
X-Avalara-Client: rest.X-Avalara-Client
code: rest.code
type: rest.type
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/transactions/multidocument/{code}/type/{type}/refund
name: api-v2-transactions-multidocument-code-type-type-refund
description: REST surface for api-v2-transactions-multidocument-code-type-type-refund.
operations:
- method: POST
name: post
description: Avalara RefundMultiDocumentTransaction
call: avatax-apis-multidocument.post
with:
Content-Type: rest.Content-Type
X-Avalara-Client: rest.X-Avalara-Client
code: rest.code
type: rest.type
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/transactions/multidocument/{code}/type/{type}/void
name: api-v2-transactions-multidocument-code-type-type-void
description: REST surface for api-v2-transactions-multidocument-code-type-type-void.
operations:
- method: POST
name: post
description: Avalara VoidMultiDocumentTransaction
call: avatax-apis-multidocument.post
with:
Content-Type: rest.Content-Type
X-Avalara-Client: rest.X-Avalara-Client
code: rest.code
type: rest.type
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/transactions/multidocument/{id}
name: api-v2-transactions-multidocument-id
description: REST surface for api-v2-transactions-multidocument-id.
operations:
- method: GET
name: get
description: Avalara GetMultiDocumentTransactionById
call: avatax-apis-multidocument.get
with:
X-Avalara-Client: rest.X-Avalara-Client
id: rest.id
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: avatax-apis-multidocument-mcp
port: 9090
transport: http
description: MCP adapter for Avalara AvaTax APIs — MultiDocument. One tool per consumed operation, routed inline through
this capability's consumes block.
tools:
- name: avalara-createmultidocumenttransaction
description: Avalara CreateMultiDocumentTransaction
hints:
readOnly: false
destructive: false
idempotent: false
call: avatax-apis-multidocument.post
with:
Content-Type: tools.Content-Type
X-Avalara-Client: tools.X-Avalara-Client
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: avalara-listmultidocumenttransactions
description: Avalara ListMultiDocumentTransactions
hints:
readOnly: true
destructive: false
idempotent: true
call: avatax-apis-multidocument.get
with:
X-Avalara-Client: tools.X-Avalara-Client
outputParameters:
- type: object
mapping: $.
- name: avalara-commitmultidocumenttransaction
description: Avalara CommitMultiDocumentTransaction
hints:
readOnly: false
destructive: false
idempotent: false
call: avatax-apis-multidocument.post
with:
Content-Type: tools.Content-Type
X-Avalara-Client: tools.X-Avalara-Client
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: avalara-verifymultidocumenttransaction
description: Avalara VerifyMultiDocumentTransaction
hints:
readOnly: false
destructive: false
idempotent: false
call: avatax-apis-multidocument.post
with:
Content-Type: tools.Content-Type
X-Avalara-Client: tools.X-Avalara-Client
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: avalara-getmultidocumenttransactionbycodeandtype
description: Avalara GetMultiDocumentTransactionByCodeAndType
hints:
readOnly: true
destructive: false
idempotent: true
call: avatax-apis-multidocument.get
with:
X-Avalara-Client: tools.X-Avalara-Client
code: tools.code
type: tools.type
outputParameters:
- type: object
mapping: $.
- name: avalara-adjustmultidocumenttransaction
description: Avalara AdjustMultiDocumentTransaction
hints:
readOnly: false
destructive: false
idempotent: false
call: avatax-apis-multidocument.post
with:
Content-Type: tools.Content-Type
X-Avalara-Client: tools.X-Avalara-Client
code: tools.code
type: tools.type
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: avalara-auditmultidocumenttransaction
description: Avalara AuditMultiDocumentTransaction
hints:
readOnly: true
destructive: false
idempotent: true
call: avatax-apis-multidocument.get
with:
X-Avalara-Client: tools.X-Avalara-Client
code: tools.code
type: tools.type
outputParameters:
- type: object
mapping: $.
- name: avalara-refundmultidocumenttransaction
description: Avalara RefundMultiDocumentTransaction
hints:
readOnly: false
destructive: false
idempotent: false
call: avatax-apis-multidocument.post
with:
Content-Type: tools.Content-Type
X-Avalara-Client: tools.X-Avalara-Client
code: tools.code
type: tools.type
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: avalara-voidmultidocumenttransaction
description: Avalara VoidMultiDocumentTransaction
hints:
readOnly: false
destructive: false
idempotent: false
call: avatax-apis-multidocument.post
with:
Content-Type: tools.Content-Type
X-Avalara-Client: tools.X-Avalara-Client
code: tools.code
type: tools.type
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: avalara-getmultidocumenttransactionbyid
description: Avalara GetMultiDocumentTransactionById
hints:
readOnly: true
destructive: false
idempotent: true
call: avatax-apis-multidocument.get
with:
X-Avalara-Client: tools.X-Avalara-Client
id: tools.id
outputParameters:
- type: object
mapping: $.