Portfolio
Portfolio advances
Última actualización
¿Te fue útil?
Portfolio advances
Última actualización
¿Te fue útil?
We can consult the advances of a client and the amount pending allocation by consulting the code.
Example:
The client identifier
Bearer + JWT_token
GET /api/cartera/anticiposclientes/{id} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
Returns all advance payments from a customer
[
{
"codcli": " 4997",
"nomcli": "TALLERES ILORCITANA, S.L.",
"numcartera": 45952,
"fecha": "2008-06-25T00:00:00.000+02:00",
"importemon": 258.81,
"disponible": 0,
"docpag": " 1"
}
]
We can consult the advances of a supplier and the amount pending allocation by consulting the code.
Example:
The supplier identifier
Bearer + JWT_token
GET /api/cartera/anticiposproveedor/{id} HTTP/1.1
Host: server:<port>
id: text
Authorization: text
Accept: */*
Returns an Array with the selected supplier's advance payments.
[
{
"codcli": " 4997",
"nomcli": "TALLERES ILORCITANA, S.L.",
"numcartera": 45952,
"fecha": "2008-06-25T00:00:00.000+02:00",
"importemon": 258.81,
"disponible": 0,
"docpag": " 1"
}
]
Bearer + JWT_token
POST /api/cartera/anticipo HTTP/1.1
Host: server:<port>
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 196
{
"json": {
"esCobro": "text",
"codigo": "text",
"codban": "text",
"docpag": "text",
"tipcon": "text",
"codmon": "text",
"fechavencimiento": "text",
"fechacontable": "text",
"importe": "text",
"observaciones": "text"
}
}
The advance payment has been successfully created
Sin contenido
Bearer + JWT_token
POST /api/cartera/asignaranticipofactura HTTP/1.1
Host: server:<port>
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 94
{
"json": {
"escompra": "text",
"idfacv": "text",
"numanti": "text",
"codmon": "text",
"importe": "text"
}
}
Correctly assigned
Sin contenido