curl --request GET \
--url https://api.pruff.com/api/clients/reporting/collection \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pruff.com/api/clients/reporting/collection"
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/collection', 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/collection",
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/collection"
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/collection")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pruff.com/api/clients/reporting/collection")
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": [
{
"amount": 1115014,
"type": "Pago recibido",
"typeId": 1234,
"requestId": 111,
"requestOperationDate": "2026-02-01",
"requestType": "Factoring",
"docType": "Factura electrónica",
"payInDate": "2026-10-30T00:00:00.000Z",
"conciliationDate": "2026-10-30T14:22:10.000Z",
"date": "2026-10-30",
"paidBy": "Deudor",
"fundName": "Fondo Ejemplo SpA",
"fundIdentifier": "96111111-0",
"conciliationDocumentAmount": 1115014,
"conciliationArrearAmount": 0,
"paymentDate": "2026-11-06",
"documentId": "00123456-dd49-43ae-8429-f5ef123456a3",
"documentAmount": 12716935,
"currency": "CLP",
"documentAdvanceAmount": 12335426,
"folio": "4022",
"businessName": "Cliente Ejemplo SpA",
"businessIdentifier": "11111111-1",
"stakeholderName": "Deudor Ejemplo Ltda.",
"stakeholderIdentifier": "76111111-6",
"clientName": "",
"clientIdentifier": "",
"executiveName": "Ana Pérez",
"collectorName": "Roberto Díaz"
}
]
}Obtener recaudaciones
Devuelve las recaudaciones (abonos) aplicadas a documentos: monto, tipo, quién pagó, cuánto se aplicó al documento y cuánto a la mora, junto con los datos del documento, la solicitud, el cliente y el deudor. Un documento con varias recaudaciones en el período aparece en varias filas.
Período. Por defecto devuelve el último mes. Si envías solo startDate, el período termina hoy; si envías solo endDate, empieza un mes antes de hoy. Si envías ambos, el rango no puede superar 1 año. El período se aplica sobre payInDate (día UTC).
Filtros. folio, businessIdentifier y stakeholderIdentifier buscan coincidencia exacta y se pueden combinar.
Orden. Las filas vienen ordenadas por conciliationDate, de la más reciente a la más antigua. Este servicio no está paginado: acota el período para limitar el tamaño de la respuesta.
Disponibilidad. Si esperabas recaudaciones y data viene vacío, reintenta más tarde.
curl --request GET \
--url https://api.pruff.com/api/clients/reporting/collection \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pruff.com/api/clients/reporting/collection"
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/collection', 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/collection",
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/collection"
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/collection")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pruff.com/api/clients/reporting/collection")
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": [
{
"amount": 1115014,
"type": "Pago recibido",
"typeId": 1234,
"requestId": 111,
"requestOperationDate": "2026-02-01",
"requestType": "Factoring",
"docType": "Factura electrónica",
"payInDate": "2026-10-30T00:00:00.000Z",
"conciliationDate": "2026-10-30T14:22:10.000Z",
"date": "2026-10-30",
"paidBy": "Deudor",
"fundName": "Fondo Ejemplo SpA",
"fundIdentifier": "96111111-0",
"conciliationDocumentAmount": 1115014,
"conciliationArrearAmount": 0,
"paymentDate": "2026-11-06",
"documentId": "00123456-dd49-43ae-8429-f5ef123456a3",
"documentAmount": 12716935,
"currency": "CLP",
"documentAdvanceAmount": 12335426,
"folio": "4022",
"businessName": "Cliente Ejemplo SpA",
"businessIdentifier": "11111111-1",
"stakeholderName": "Deudor Ejemplo Ltda.",
"stakeholderIdentifier": "76111111-6",
"clientName": "",
"clientIdentifier": "",
"executiveName": "Ana Pérez",
"collectorName": "Roberto Díaz"
}
]
}