collection).collection.paid.collection.type = invoices_payment.collection.id, puedes consultar este endpoint para obtener el desglose del pago: las facturas que fueron afectadas y el monto aplicado a cada una.curl --location --request GET 'https://api.treli.co/v1/invoices_payments?limit&start_after&start_before&created_after&created_before&invoice&collection' \
--header 'Authorization: Basic <encoded-value>'{
"has_more": true,
"next_cursor": "string",
"previous_cursor": "string",
"data": [
{
"id": "invp_MQRcsK8T9salaDjFYwF6bama",
"amount": "1500000.00",
"currency": "COP",
"created_date": "2025-11-04 17:15:59",
"is_test": false,
"collection": "col_JnmVGqK8t3wZFai75NHmY9IG",
"invoice": "inv_dmhwX6XLWGnlFNSln9yRUpsT",
"invoice_number": "FV-120-359"
}
]
}