biterp

get_financial_transaction

Referência da tool get_financial_transaction do MCP Server do bitERP (Lançamentos financeiros).

Get Financial Transaction · Lançamentos financeiros

Somente leituraDestrutivaIdempotenteMundo aberto
SimNãoSimNão

Descrição

A descrição abaixo é a que o servidor publica, em inglês, e é o texto que o agente lê para decidir quando usar a tool.

Returns one internal financial transaction entry by ID.

Parâmetros

ParâmetroTipoObrigatórioDescrição
tenantstringSimDefines which tenant will have data read or changed. Use list_tenants first and prefer the returned tenant slug. Writes are permanent, so when the user has more than one tenant you must confirm the tenant before any write and never assume or reuse a previous choice without confirmation. UUID is accepted only when already known safely.
idstring (UUID)SimThe UUID of the financial transaction to retrieve

Resposta

O structuredContent da resposta traz os campos abaixo (até dois níveis; o schema completo está no outputSchema publicado no tools/list).

CampoTipoDescrição
idstring (UUID)—
tenant_idstring (UUID)—
account_idstring (UUID)—
transfer_idstring (UUID) ou null—
sourcestringValores: manual, ofx, integration, migration, transfer.
fitidstring ou null—
trn_typestring—
posted_atstring (date-time)—
posted_onstring (date)—
user_initiated_atstring (date-time) ou null—
amountstring—
orig_currency_codestring ou null—
orig_amountstring ou null—
namestring ou null—
extd_namestring ou null—
memostring ou null—
account_scope_maskobject ou null—
account_scope_mask.counterpartyboolean—
account_scope_mask.categoryboolean—
account_scope_mask.balanceboolean—
refnumstring ou null—
checknumstring ou null—
srvrtidstring ou null—
correct_fitidstring ou null—
correct_actionstring ou nullValores: REPLACE, DELETE.
is_reconciledboolean—
reconciled_atstring (date-time) ou null—
ignored_atstring (date-time) ou null—
ignored_by_user_idstring (UUID) ou null—
metadataobject—
created_by_user_idstring (UUID) ou null—
updated_by_user_idstring (UUID) ou null—
deleted_by_user_idstring (UUID) ou null—
created_atstring (date-time)—
updated_atstring (date-time)—
deleted_atstring (date-time) ou null—

Exemplo de chamada

Requisição tools/call com os parâmetros obrigatórios. Os valores são ilustrativos: troque minha-empresa pelo tenant devolvido por list_tenants e cada <...> por um valor real.

{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "get_financial_transaction",
        "arguments": {
            "tenant": "minha-empresa",
            "id": "<uuid>"
        }
    }
}

Nesta página