Pular para o conteúdo

Consultar os recebimentos

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

Relatório de Recebimentos (regime de caixa).

mode

Cash (padrão) = movimento do período | cohort = safra por data de emissão.

string

Cash (padrão) = movimento do período | cohort = safra por data de emissão.

granularity

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

string

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

period

Só com granularity=month: last_6m | last_12m (padrão) | ytd | last_year | year:YYYY.

string

Só com granularity=month: last_6m | last_12m (padrão) | ytd | last_year | year:YYYY.

month

Obrigatório com granularity=week|day. Formato YYYY-MM. Default: mês corrente.

string

Obrigatório com granularity=week|day. Formato YYYY-MM. Default: mês corrente.