API

Listar asientos contables

Changed on

Lista asientos contables publicados con filtros por origen, cuenta y fecha. Usá source_type y source_id para pasar desde una venta o compra a su evidencia contable.

get/api/v1/accounting/journal-entries

Request

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

Query parameters

cursorstring

Valor de next_cursor recibido en la respuesta anterior

limitinteger

Cantidad máxima de resultados por respuesta

source_typestring

Tipo de origen contable, por ejemplo sale o purchase

source_idstring uuid

ID del recurso de origen

account_idstring uuid

Filtra asientos que tengan al menos una línea en esta cuenta

date_fromstring date

Fecha inicial del asiento

date_tostring date

Fecha final del asiento

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

Asientos contables listados exitosamente

request_idstring required
object'list' required
urlstring required
has_moreboolean required
next_cursorstring nullable required

Changes

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property became nullable for the status

    • 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

      added to the //// response property anyOf list for the response status

    • info

      removed from the //// response property anyOf list for the response status

    • info

      response property data/items/exchange_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/lines/items/account/code list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/lines/items/description list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/reference list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/source_type list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property next_cursor list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      added 'propertyNames' constraint to the //// response property for the status

    • info

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

    • info

      added the required property to the response with the status