Portfolio

Portfolio advances

GET calls

View a customer's down payments and the amount outstanding

get

We can consult the advances of a client and the amount pending allocation by consulting the code.

Example:

https://server:5555/api/cartera/anticiposclientes/50

Parámetros de ruta
idstringRequerido

The client identifier

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

Returns all advance payments from a customer

application/json
get
/cartera/anticiposclientes/{id}
200

Returns all advance payments from a customer

Consult a supplier's advance payments and the amount outstanding

get

We can consult the advances of a supplier and the amount pending allocation by consulting the code.

Example:

https://server:5555/api/cartera/anticiposproveedor/15

Parámetros de encabezado
idstringRequerido

The supplier identifier

AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200

Returns an Array with the selected supplier's advance payments.

application/json
get
/cartera/anticiposproveedor/{id}
200

Returns an Array with the selected supplier's advance payments.

POST calls

Create a portfolio advance

post
Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Cuerpo
Respuestas
200

The advance payment has been successfully created

Sin contenido

post
/cartera/anticipo
200

The advance payment has been successfully created

Sin contenido

Body of Create a new portfolio advance

Create a portfolio advance

https://server:5555/api/cartera/anticipo

Allocate an existing down payment of a customer to an invoice of this customer

post
Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Cuerpo
Respuestas
200

Correctly assigned

Sin contenido

post
/cartera/asignaranticipofactura
200

Correctly assigned

Sin contenido

Body of Allocate an existing down payment to invoice

Allocate a down payment to an invoice

https://server:5555/api/cartera/asignaranticipofactura

Última actualización

¿Te fue útil?