Centum v2 icon

Centum v2

Consumes Centum API

Actions76

Ventas → GetEstadisticas

AI-generated

Summary

Retrieves sales statistics for a selected date range, with optional ranking filters and sorting. Use it to get sales totals or rankings for customers, articles, or sellers.

Inputs

  • FechaDocumentoDesde — Start date for the statistics period.
  • FechaDocumentoHasta — End date for the statistics period.
  • Ranking Type — Choose None, Customers, Articles, or Sellers to control the ranking category; defaults to None.
  • OrdenEstadisticaVentaRankingAscendente — Sort the ranking in ascending order; defaults to false.
  • TipoOrdenEstadisticaVentaRanking — Ranking sort metric: final total amount, net total amount, or quantity at unit level 0, 1, or 2. Defaults to quantity unit level 0.
  • EstadisticaVentaRanking — Number of ranking entries to request; defaults to 1.
  • ListaPrecio.IdListaPrecio — Price list ID, if applicable.
  • Rubro.IdRubro — Group ID, if applicable.
  • Simplified Output — When enabled, returns only selected top-level fields.
  • Debug Options — Optional debug logging controls for request metadata, endpoint filtering, and request body inclusion.

Output shape

A list of items containing the sales statistics response.

The supplied source pack shows the operation handler name but omits its implementation body, so exact endpoint, filters applied, and response fields cannot be confirmed. Simplified Output may reduce each result to selected top-level fields.

Links

Discussion