Détails d'un achat
GET /firms/FIRM_ID/purchases/ID.json
Obtenir le détail de l’achat n° ID
Requête
curl -i -S -u IdentifiantApi:CleApi -H 'User-Agent: MonApp (patrick@camping.test)' \
"https://www.facturation.pro/firms/FIRM_ID/purchases/ID.json"
Réponse
{
"api_custom": null,
"api_id": null,
"category_id": 4852,
"id": 125459,
"supplier_id": 1,
"invoiced_on": "2013-07-28",
"notes": "",
"paid_on": "2013-07-28",
"payment_mode": 20,
"payment_ref": null,
"prepaid": false,
"ref": null,
"term_on": null,
"title": "H\u00e9bergement Cloud juin 2013",
"total_with_vat": "231.4",
"vat_amount": "37.92"
}