Obtener estado de resultados comparativo
Changed onCompara el estado de resultados de dos períodos con los mismos criterios de moneda y agrupación.
Request
- Base URLhttps://api.lapyme.com.ar
- URLhttps://api.lapyme.com.ar/api/v1/accounting/income-statement/comparative
- AuthHTTP bearer
Query parameters
Fecha inicial del período. Obligatoria junto con date_to si no se envía period_preset.
Fecha final inclusiva del período. Obligatoria junto con date_from si no se envía period_preset.
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.
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.
Moneda de presentación del estado de resultados. ARS devuelve importes en pesos argentinos; USD convierte los importes contables ARS a USD usando cotización BCRA por fecha de transacción.
Fecha inicial del período de comparación. Obligatoria junto con compare_date_to si compare_enabled=true y no se envía compare_period_preset.
Fecha final inclusiva del período de comparación. Obligatoria junto con compare_date_from si compare_enabled=true y no se envía compare_period_preset.
Atajo para el período de comparación. No enviarlo junto con compare_date_from/compare_date_to.
Response
Comparativo obtenido
Changes
- breaking
for the
queryrequest parameterreporting_currency, default value was changed fromPEStoARS - breaking
removed the enum value
DOLfrom thequeryrequest parameterreporting_currency - breaking
removed the enum value
PESfrom thequeryrequest parameterreporting_currency - info
added the new optional
queryrequest parametercircuit_id - info
added the new enum value
ARSto thequeryrequest parameterreporting_currency - info
added the new enum value
USDto thequeryrequest parameterreporting_currency - 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
- breaking