API

Lista las compras de la organización. Soporta filtros por fecha, importe y búsqueda de proveedor.

get/api/v1/purchases

Request

  • Base URL
    https://api.lapyme.com.ar
  • URL
    https://api.lapyme.com.ar/api/v1/purchases
  • Auth
    HTTP bearer

Query parameters

cursorstring

Valor de next_cursor recibido en la respuesta anterior

limitinteger

Cantidad máxima de resultados por respuesta

querystring

Texto de búsqueda por proveedor, CUIT o número de factura del proveedor

date_fromstring date

Fecha inicial para el filtro

date_tostring date

Fecha final para el filtro

date_attribute'invoiceDate' | 'dueDate'

Campo de fecha a usar para el filtro

amount_attribute'balance' | 'total'

Campo monetario a usar para min/max

min_balanceinteger

Importe mínimo para el filtro

max_balanceinteger

Importe máximo para el filtro

Response

Compras obtenidas exitosamente

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

List-envelope discriminator.

urlstring required

Requested list path.

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

    • warning

      deleted the query request parameter search

    • 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/account_date list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

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

    • info

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

    • info

      response property data/items/supplier_invoice_number 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 the required property // to the response with the status