API aberta · Financeiro
DRE
get
/api/open/v1/finance/dreEm resumo
GET /api/open/v1/finance/dre- Chave
readouread_write. - Obrigatórios:
month. - Sucesso:
200.
AuthorizationstringheaderobrigatórioChave de API no formato Bearer ttw_live_<prefixo>_<segredo>, criada em Integrações → Chaves de API. Este endpoint precisa de chave read ou read_write.
monthstringobrigatórioMês (AAAA-MM).
basisenum<string>padrão: "accrual"Valores aceitos:
accrualcash
Resposta 200
application/jsonmonthstringobrigatórioMês (AAAA-MM).
basisenum<string>obrigatórioValores aceitos:
accrualcashlinesobject[]obrigatórioMostrar 5 atributosEsconder atributos
keystringobrigatórioChave.
labelstringobrigatórioRótulo exibido.
centsintegerobrigatórioValor em centavos (100 = R$ 1,00).
-9007199254740991 a 9007199254740991
levelintegerobrigatório-9007199254740991 a 9007199254740991
informativebooleanobrigatóriopadrão: false
grossRevenueCentsintegerobrigatórioBruto revenue em centavos (100 = R$ 1,00).
-9007199254740991 a 9007199254740991
netRevenueCentsintegerobrigatórioLíquido revenue em centavos (100 = R$ 1,00).
-9007199254740991 a 9007199254740991
resultCentsintegerobrigatórioResult em centavos (100 = R$ 1,00).
-9007199254740991 a 9007199254740991
marginBpintegerpode ser nuloobrigatórioMargin em pontos-base (100 = 1%).
-9007199254740991 a 9007199254740991
curl --request GET \
--url 'https://qa-tratow.ips.app.br/api/open/v1/finance/dre?month=2026-11' \
--header 'Authorization: Bearer <chave>'{
"month": "2026-11",
"basis": "accrual",
"lines": [
{
"key": "texto",
"label": "texto",
"cents": 1,
"level": 1,
"informative": false
}
],
"grossRevenueCents": 8000,
"netRevenueCents": 8000,
"resultCents": 8000,
"marginBp": 1000
}Os valores são ilustrativos.
