Estadísticas
Total de facturas agrupadas por meses (premium)
Retorna el total de ventas/facturas agrupadas por mes en un rango de fechas dado.
Permiso requerido: ST_GET_SALES
Requiere plan premium. Las cuentas gratuitas recibirán error 401.
Autenticación requerida: Bearer Token obtenido del servicio /login
get/stats/totalInvoicesByMonths
Request
- Base URLhttps://api.pirpos.com
- URLhttps://api.pirpos.com/stats/totalInvoicesByMonths
- AuthHTTP bearer
Query parameters
dateInitISOstring date-time required
Example:2026-01-01T00:00:00.000Z
Fecha de inicio del rango en formato ISO 8601
dateEndISOstring date-time required
Example:2026-03-31T23:59:59.999Z
Fecha de fin del rango en formato ISO 8601
Response
Facturas agrupadas por mes
Example response
[
{
"month": 1,
"total": 4500000
}
]Changes
No recorded changes to this operation across all 1 revision of this API.