API

Obtener sumas y saldos

Changed on

Calcula sumas y saldos para el período y los filtros contables solicitados.

get/api/v1/accounting/trial-balance

Request

  • Base URL
    https://api.lapyme.com.ar
  • URL
    https://api.lapyme.com.ar/api/v1/accounting/trial-balance
  • Auth
    HTTP bearer

Query parameters

date_fromstring date

Fecha inicial del período. Obligatoria junto con date_to si no se envía period_preset.

date_tostring date

Fecha final inclusiva del período. Obligatoria junto con date_from si no se envía period_preset.

period_preset'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days' | 'this_month' | 'previous_month' | 'this_year'

Atajo de período resuelto por la API a date_from/date_to en horario de Argentina. No enviarlo junto con date_from/date_to.

cost_center_1_idsstring[]
cost_center_2_idsstring[]
cost_center_3_idsstring[]
circuit_idstring

Circuito contable del reporte: general, el id de un circuito de la organización (ver accounting_circuits en GET /api/v1/organization), o all. Omitido es all, todos los circuitos. Un id que no es de la organización devuelve 400 circuit_not_found.

Response

Sumas y saldos obtenido

request_idstring required
dataobject required

Changes

    • info

      added the new optional query request parameter circuit_id

    • info

      added the non-success response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      added the required property to the response with the status