---
title: "Recupera los saldos agrupados por mes o dia"
method: GET
path: "/journals/entries-graph"
tags: ["Lineas de comprobantes contables"]
---

# Recupera los saldos agrupados por mes o dia

`GET /journals/entries-graph`

## Query parameters

- `groupBy` 'day' | 'month'
- `resourceType` 'invoice' | 'bill' | 'creditNote' | 'debitNote' | 'incomeDebitNote' | 'account' | 'v_invoice' | 'v_bill' | 'v_creditNote' | 'v_debitNote'
- `idResource` string
- `status` 'open' | 'closed' | 'void' | 'draft'
- `fromDate` string
- `toDate` string

## Response `200`

Consulta exitosa

- union[] — Listado de saldos agrupados por mes o dia. Cuando no hay datos, el arreglo estará vacío
  - union
    - object — Cuando groupBy es day
      - `date` string, date
      - `in` string, nullable
      - `out` string, nullable
      - `year` integer
    - object — Cuando groupBy es month
      - `name` string
      - `in` string, nullable
      - `out` string, nullable
      - `year` integer

---

[API](https://skmtc.net/alegra/apis/ingresos.md) · [All operations](https://skmtc.net/alegra/apis/ingresos/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alegra/ingresos/revisions/cd52d3f68f1b/schema)
