Liste des règlements
GET /firms/FIRM_ID/invoices/INVOICE_ID/settlements.json
Liste les différents règlements enregistrés pour la facture n° INVOICE_ID.
Requête
curl -i -S -u IdentifiantApi:CleApi -H 'User-Agent: MonApp (patrick@camping.test)' \
"https://www.facturation.pro/firms/FIRM_ID/invoices/INVOICE_ID/settlements.json"
Réponse
[
{
"id": 14064,
"invoice_id": 1,
"total": "1000.0",
"payment_mode": 2,
"paid_on": "2015-09-07",
"payment_ref": null
}, {
"id": 14065,
"invoice_id": 1,
"total": "2000.0",
"payment_mode": 4,
"paid_on": "2015-09-03"
"payement_ref": "ma référence"
}
]