curl --request GET \
--url https://api.pruff.com/api/clients/reporting/transactionBook \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pruff.com/api/clients/reporting/transactionBook"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.pruff.com/api/clients/reporting/transactionBook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pruff.com/api/clients/reporting/transactionBook",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pruff.com/api/clients/reporting/transactionBook"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pruff.com/api/clients/reporting/transactionBook")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pruff.com/api/clients/reporting/transactionBook")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"requestType": "Factoring",
"businessIdentifier": "11111111-1",
"businessName": "Cliente Ejemplo SpA",
"executiveName": "Ana Pérez",
"executiveEmail": "ana.perez@example.com",
"requestId": 160,
"requestDate": "2026-06-19",
"documentType": "Factura electrónica",
"amount": 1959252,
"advancedPercentage": 100,
"advancedAmount": 1959252,
"rate": 2.35,
"priceDifference": 70598,
"commissionAmount": 30000,
"commissionIVA": 5700,
"expensesCost": 30000,
"expensesIVA": 0,
"taxes": 0,
"notary": 0,
"documentsAppliedAmount": 784686,
"remainingAmount": 1038268,
"amountToDeliver": 1038267,
"arrearRate": 4.1,
"fundSellRate": 1.45,
"fundCostTotal": 43561,
"operationDaysAvg": 25
}
],
"pagination": {
"total": 1,
"page": 1,
"pageSize": 10,
"totalPages": 1
}
}Obtener libro de curse
Devuelve el libro de curse: una fila por cada solicitud cursada de factoring, crédito o confirming, con sus montos, costos y condiciones. Eliges el producto con type; cada consulta devuelve un solo producto.
Qué solicitudes incluye. En factoring, las solicitudes activas, completadas o en mora. En crédito y confirming, las activas o completadas.
Filtro de fechas. startDate y endDate acotan por fecha de operación (ambos días incluidos) y puedes enviar solo uno: con startDate sola se devuelven las solicitudes desde ese día, y con endDate sola, hasta ese día. Si no envías ninguna, en factoring no se filtra por fecha y en crédito y confirming se devuelven las solicitudes de los últimos 30 días. No hay un límite de días entre startDate y endDate, pero endDate no puede ser anterior a startDate. Se recomienda consultar rangos acotados, por ejemplo un mes.
Orden y paginación. Los resultados se paginan (máximo 100 por página) y, en los tres productos, vienen ordenados por fecha de operación, de la más reciente a la más antigua. Si dos solicitudes tienen la misma fecha de operación, su orden es fijo. El orden es estable: al recorrer todas las páginas ninguna solicitud se repite ni se pierde.
Alcance. Si tu API key pertenece a un usuario sin acceso a toda la cartera, solo ves las solicitudes asignadas a ese usuario y a su equipo.
curl --request GET \
--url https://api.pruff.com/api/clients/reporting/transactionBook \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pruff.com/api/clients/reporting/transactionBook"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.pruff.com/api/clients/reporting/transactionBook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pruff.com/api/clients/reporting/transactionBook",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pruff.com/api/clients/reporting/transactionBook"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pruff.com/api/clients/reporting/transactionBook")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pruff.com/api/clients/reporting/transactionBook")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"requestType": "Factoring",
"businessIdentifier": "11111111-1",
"businessName": "Cliente Ejemplo SpA",
"executiveName": "Ana Pérez",
"executiveEmail": "ana.perez@example.com",
"requestId": 160,
"requestDate": "2026-06-19",
"documentType": "Factura electrónica",
"amount": 1959252,
"advancedPercentage": 100,
"advancedAmount": 1959252,
"rate": 2.35,
"priceDifference": 70598,
"commissionAmount": 30000,
"commissionIVA": 5700,
"expensesCost": 30000,
"expensesIVA": 0,
"taxes": 0,
"notary": 0,
"documentsAppliedAmount": 784686,
"remainingAmount": 1038268,
"amountToDeliver": 1038267,
"arrearRate": 4.1,
"fundSellRate": 1.45,
"fundCostTotal": 43561,
"operationDaysAvg": 25
}
],
"pagination": {
"total": 1,
"page": 1,
"pageSize": 10,
"totalPages": 1
}
}