Historial de cobros
curl --request GET \
--url https://api.filexpress.app/api/external/receivables/{saleId}/payments \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.filexpress.app/api/external/receivables/{saleId}/payments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.filexpress.app/api/external/receivables/{saleId}/payments"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.filexpress.app/api/external/receivables/{saleId}/payments",
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;
}{
"status": true,
"data": [
{
"id": "3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01",
"amount": 500,
"pay_date": "2026-09-15 10:00:00",
"reference": "TRF-88231",
"status": "applied",
"payment_method_name": "Transferencia",
"bank_name": "Banco Agrícola"
}
]
}{
"status": false,
"message": "Invalid API Key."
}{
"status": false,
"message": "This integration does not have the 'hr.employees' permission.",
"required_scope": "hr.employees"
}{
"status": false,
"message": "Invoice not found"
}{
"status": false,
"message": "Rate limit exceeded. Please try again later.",
"rate_limit": 100
}Historial de cobros
Cobros de una factura, incluidos los revertidos (status: reversed).
Permiso requerido: receivables
GET
/
receivables
/
{saleId}
/
payments
Historial de cobros
curl --request GET \
--url https://api.filexpress.app/api/external/receivables/{saleId}/payments \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.filexpress.app/api/external/receivables/{saleId}/payments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.filexpress.app/api/external/receivables/{saleId}/payments"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.filexpress.app/api/external/receivables/{saleId}/payments",
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;
}{
"status": true,
"data": [
{
"id": "3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01",
"amount": 500,
"pay_date": "2026-09-15 10:00:00",
"reference": "TRF-88231",
"status": "applied",
"payment_method_name": "Transferencia",
"bank_name": "Banco Agrícola"
}
]
}{
"status": false,
"message": "Invalid API Key."
}{
"status": false,
"message": "This integration does not have the 'hr.employees' permission.",
"required_scope": "hr.employees"
}{
"status": false,
"message": "Invoice not found"
}{
"status": false,
"message": "Rate limit exceeded. Please try again later.",
"rate_limit": 100
}