Unified.to · Capability
Unified.to API — journal
Unified.to API — journal. 6 operations. Lead operation: List all journals. Self-contained Naftiko capability covering one Unified To business surface.
What You Can Do
GET
Listaccountingjournals
— List all journals
/v1/accounting/{connection-id}/journal
POST
Createaccountingjournal
— Create a journal
/v1/accounting/{connection-id}/journal
DELETE
Removeaccountingjournal
— Remove a journal
/v1/accounting/{connection-id}/journal/{id}
GET
Getaccountingjournal
— Retrieve a journal
/v1/accounting/{connection-id}/journal/{id}
PATCH
Patchaccountingjournal
— Update a journal
/v1/accounting/{connection-id}/journal/{id}
PUT
Updateaccountingjournal
— Update a journal
/v1/accounting/{connection-id}/journal/{id}
MCP Tools
list-all-journals
List all journals
read-only
idempotent
create-journal
Create a journal
remove-journal
Remove a journal
idempotent
retrieve-journal
Retrieve a journal
read-only
idempotent
update-journal
Update a journal
idempotent
update-journal-2
Update a journal
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Unified.to API — journal
description: 'Unified.to API — journal. 6 operations. Lead operation: List all journals. Self-contained Naftiko capability
covering one Unified To business surface.'
tags:
- Unified To
- journal
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
UNIFIED_TO_API_KEY: UNIFIED_TO_API_KEY
capability:
consumes:
- type: http
namespace: accounting-journal
baseUri: https://api.unified.to
description: Unified.to API — journal business capability. Self-contained, no shared references.
resources:
- name: accounting-connection_id-journal
path: /accounting/{connection_id}/journal
operations:
- name: listaccountingjournals
method: GET
description: List all journals
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: limit
in: query
type: number
- name: offset
in: query
type: number
- name: updated_gte
in: query
type: string
description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
format)
- name: sort
in: query
type: string
- name: order
in: query
type: string
- name: query
in: query
type: string
description: Query string to search. eg. email address or name
- name: org_id
in: query
type: string
description: The org ID to filter by (reference to AccountingOrganization)
- name: account_id
in: query
type: string
description: The account ID to filter by (reference to AccountingAccount)
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: createaccountingjournal
method: POST
description: Create a journal
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: accounting-connection_id-journal-id
path: /accounting/{connection_id}/journal/{id}
operations:
- name: removeaccountingjournal
method: DELETE
description: Remove a journal
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: id
in: path
type: string
description: ID of the Journal
required: true
- name: getaccountingjournal
method: GET
description: Retrieve a journal
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: id
in: path
type: string
description: ID of the Journal
required: true
- name: patchaccountingjournal
method: PATCH
description: Update a journal
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: id
in: path
type: string
description: ID of the Journal
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: updateaccountingjournal
method: PUT
description: Update a journal
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: id
in: path
type: string
description: ID of the Journal
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
authentication:
type: apikey
key: authorization
value: '{{env.UNIFIED_TO_API_KEY}}'
placement: header
exposes:
- type: rest
namespace: accounting-journal-rest
port: 8080
description: REST adapter for Unified.to API — journal. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/accounting/{connection-id}/journal
name: accounting-connection-id-journal
description: REST surface for accounting-connection_id-journal.
operations:
- method: GET
name: listaccountingjournals
description: List all journals
call: accounting-journal.listaccountingjournals
with:
limit: rest.limit
offset: rest.offset
updated_gte: rest.updated_gte
sort: rest.sort
order: rest.order
query: rest.query
org_id: rest.org_id
account_id: rest.account_id
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
outputParameters:
- type: object
mapping: $.
- method: POST
name: createaccountingjournal
description: Create a journal
call: accounting-journal.createaccountingjournal
with:
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/accounting/{connection-id}/journal/{id}
name: accounting-connection-id-journal-id
description: REST surface for accounting-connection_id-journal-id.
operations:
- method: DELETE
name: removeaccountingjournal
description: Remove a journal
call: accounting-journal.removeaccountingjournal
with:
connection_id: rest.connection_id
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: GET
name: getaccountingjournal
description: Retrieve a journal
call: accounting-journal.getaccountingjournal
with:
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: PATCH
name: patchaccountingjournal
description: Update a journal
call: accounting-journal.patchaccountingjournal
with:
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: PUT
name: updateaccountingjournal
description: Update a journal
call: accounting-journal.updateaccountingjournal
with:
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: accounting-journal-mcp
port: 9090
transport: http
description: MCP adapter for Unified.to API — journal. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: list-all-journals
description: List all journals
hints:
readOnly: true
destructive: false
idempotent: true
call: accounting-journal.listaccountingjournals
with:
limit: tools.limit
offset: tools.offset
updated_gte: tools.updated_gte
sort: tools.sort
order: tools.order
query: tools.query
org_id: tools.org_id
account_id: tools.account_id
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
outputParameters:
- type: object
mapping: $.
- name: create-journal
description: Create a journal
hints:
readOnly: false
destructive: false
idempotent: false
call: accounting-journal.createaccountingjournal
with:
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: remove-journal
description: Remove a journal
hints:
readOnly: false
destructive: true
idempotent: true
call: accounting-journal.removeaccountingjournal
with:
connection_id: tools.connection_id
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: retrieve-journal
description: Retrieve a journal
hints:
readOnly: true
destructive: false
idempotent: true
call: accounting-journal.getaccountingjournal
with:
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: update-journal
description: Update a journal
hints:
readOnly: false
destructive: false
idempotent: true
call: accounting-journal.patchaccountingjournal
with:
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: update-journal-2
description: Update a journal
hints:
readOnly: false
destructive: false
idempotent: true
call: accounting-journal.updateaccountingjournal
with:
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.