> For the complete documentation index, see [llms.txt](https://docs.barte.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.barte.com/api-reference/intermediador-de-pagamentos/financeiro/consultar-recebiveis-futuros.md).

# Consultar Recebíveis Futuros

## Consultar Recebíveis Futuros

> Retorna recebíveis futuros consolidados por data de execução, com cálculos de desconto aplicados.

```json
{"openapi":"3.0.0","info":{"title":"Barte Payment Service API - Recebíveis Futuros","version":"2.0.0"},"servers":[{"url":"https://api.barte.com","description":"Servidor de Produção"},{"url":"https://sandbox-api.barte.com","description":"Servidor de Sandbox"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-Token-Api","description":"Token de autenticação da company."}},"schemas":{"FutureReceivablesResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FutureReceivablesData"}}},"FutureReceivablesData":{"type":"object","properties":{"summary":{"$ref":"#/components/schemas/Summary"},"receivables":{"type":"array","items":{"$ref":"#/components/schemas/Receivable"},"description":"Lista de recebíveis por data."}}},"Summary":{"type":"object","properties":{"totalDays":{"type":"integer","description":"Número de dias com recebíveis."},"totalNet":{"type":"number","format":"double","description":"Valor líquido total do período."},"averageDailyAmount":{"type":"number","format":"double","description":"Média diária de recebíveis."}}},"Receivable":{"type":"object","properties":{"date":{"type":"string","format":"date","description":"Data de execução."},"daysUntilExecution":{"type":"integer","description":"Dias até a data de execução."},"amounts":{"$ref":"#/components/schemas/Amounts"}}},"Amounts":{"type":"object","properties":{"netCredit":{"type":"number","format":"double","description":"Total de créditos."},"netDebit":{"type":"number","format":"double","description":"Total de débitos."},"totalNet":{"type":"number","format":"double","description":"Valor líquido do dia."},"finalAmount":{"type":"number","format":"double","description":"Valor final após desconto."}}},"Error":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","properties":{"code":{"type":"string","enum":["MISSING_FIELD","INVALID_DATE_FORMAT","DATE_RANGE_TOO_LARGE","Token inválido"]},"message":{"type":"string"},"details":{"type":"string"}}}}},"paths":{"/v2/report/receivables/future":{"get":{"summary":"Consultar Recebíveis Futuros","description":"Retorna recebíveis futuros consolidados por data de execução, com cálculos de desconto aplicados.","tags":["Recebíveis Futuros"],"parameters":[{"name":"X-Token-Api","in":"header","required":true,"schema":{"type":"string"},"description":"Token de autenticação para acesso à API (deve ser o token principal da company)."},{"name":"idSeller","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9][0-9]{0,5}$"},"description":"ID do vendedor (apenas números de 1 a 999999)."},{"name":"executionDateInitial","in":"query","required":true,"schema":{"type":"string","format":"date"},"description":"Data inicial no formato YYYY-MM-DD."},{"name":"executionDateFinal","in":"query","required":true,"schema":{"type":"string","format":"date"},"description":"Data final no formato YYYY-MM-DD. Deve ser até 1095 dias maior que data inicial."}],"responses":{"200":{"description":"Recebíveis futuros retornados com sucesso.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FutureReceivablesResponse"}}}},"400":{"description":"Erro de validação ou parâmetros inválidos.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Token inválido ou acesso negado.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Muitas requisições (limite de 100 por minuto).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Erro interno do servidor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.barte.com/api-reference/intermediador-de-pagamentos/financeiro/consultar-recebiveis-futuros.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
