Pular para o conteúdo

Consultar o fluxo de caixa

GET
/api/seller/external/v1/finance/report/cash-flow
curl --request GET \
--get "https://api.spelt.com.br/api/seller/external/v1/finance/report/cash-flow?granularity=architecto&period=architecto&month=architecto" \
--header "Authorization: Bearer splt_live_SUA_CHAVE" \
--header "Content-Type: application/json" \
--header "Accept: application/json"

Fluxo de caixa do Financeiro: realizado (baixas) + previsto (em aberto pela expectativa), com saldo encadeado.

granularity

Month (padrão) | week | day. week/day cobrem só o mês de month.

string

Month (padrão) | week | day. week/day cobrem só o mês de month.

period

Só com granularity=month: current_month | last_month | last_3m | last_6m | last_12m | next_3m | next_6m | ytd | current_year (padrão) | last_year | year:YYYY.

string

Só com granularity=month: current_month | last_month | last_3m | last_6m | last_12m | next_3m | next_6m | ytd | current_year (padrão) | last_year | year:YYYY.

month

YYYY-MM, com granularity=week|day. Padrão: mês corrente.

string

YYYY-MM, com granularity=week|day. Padrão: mês corrente.