biterp

list_financial_transactions

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

List Financial Transactions · 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.

Lists internal financial transaction entries for one organization with optional filters, sorting, and cursor-based pagination.

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.
searchstringNãoOptional search term to filter by name, extended name, memo, or reference number
account_idstring (UUID)NãoFilter by financial account ID
trn_typestringNãoFilter by transaction type (e.g., CREDIT, DEBIT)
sourcestringNãoFilter by transaction source Valores: manual, ofx, integration, migration.
is_reconciledbooleanNãoFilter by reconciliation status (true = reconciled, false = not reconciled)
posted_at_fromstringNãoFilter transactions posted on or after this date (ISO 8601)
posted_at_tostringNãoFilter transactions posted on or before this date (ISO 8601)
sort_bystringNãoSort field (default: posted_at) Valores: posted_at, amount, created_at.
sort_orderstringNãoSort direction (default: desc) Valores: asc, desc.
cursorstringNãoCursor for pagination. Use next_cursor/previous_cursor from previous response.
limitintegerNãoMax results per page (default 10, max 100)

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
dataarray de objetos—
data[].idstring (UUID)—
data[].tenant_idstring (UUID)—
data[].account_idstring (UUID)—
data[].transfer_idstring (UUID) ou null—
data[].sourcestringValores: manual, ofx, integration, migration, transfer.
data[].fitidstring ou null—
data[].trn_typestring—
data[].posted_atstring (date-time)—
data[].posted_onstring (date)—
data[].user_initiated_atstring (date-time) ou null—
data[].amountstring—
data[].orig_currency_codestring ou null—
data[].orig_amountstring ou null—
data[].namestring ou null—
data[].extd_namestring ou null—
data[].memostring ou null—
data[].account_scope_maskobject ou null—
data[].refnumstring ou null—
data[].checknumstring ou null—
data[].srvrtidstring ou null—
data[].correct_fitidstring ou null—
data[].correct_actionstring ou nullValores: REPLACE, DELETE.
data[].is_reconciledboolean—
data[].reconciled_atstring (date-time) ou null—
data[].ignored_atstring (date-time) ou null—
data[].ignored_by_user_idstring (UUID) ou null—
data[].metadataobject—
data[].created_by_user_idstring (UUID) ou null—
data[].updated_by_user_idstring (UUID) ou null—
data[].deleted_by_user_idstring (UUID) ou null—
data[].created_atstring (date-time)—
data[].updated_atstring (date-time)—
data[].deleted_atstring (date-time) ou null—
has_next_pageboolean—
has_previous_pageboolean—
next_cursorstring ou null—
previous_cursorstring 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": "list_financial_transactions",
        "arguments": {
            "tenant": "minha-empresa"
        }
    }
}

Nesta página