Centum v2 icon

Centum v2

Consumes Centum API

Actions76

Clientes → GetSaldoCuentaCorriente

AI-generated

Summary

Retrieves the current account balance and detailed transaction history for a specified customer.

Inputs

  • customerId (required) — The customer ID used by the selected operation.
  • priceDateModifiedTo — Filter transactions by a maximum due date (sent as fechaVencimientoHasta in the URL).
  • idsDivisionesEmpresasGrupoEconomico — A comma-separated list of Division IDs to filter the group's economic entities. If omitted, defaults to the logged-in user's division.
  • realComposition — When true, sends composicionReal in the URL to request a real-time composition of the balance.
  • simplifiedOutput — When true, returns only the most useful top-level fields.
  • debugSettings — Advanced options for enabling debug logging or filtering debug output by endpoint.

Output shape

A list of items, each containing detailed transaction records and the current balance.

Includes pagination if the customer has many transactions. The simplifiedOutput flag reduces the returned fields.

Examples

Example 1: Retrieve the full balance and transaction history for a customer with ID '12345' up to December 31, 2023.

customerId: '12345', priceDateModifiedTo: '2023-12-31T23:59:59', realComposition: true

Example 2: Get a simplified view of the current account balance for customer '67890' using the logged-in user's division.

customerId: '67890', simplifiedOutput: true

Links

Discussion