Facturation
Create a credit note (avoir) for an invoice.
Create a credit note (avoir) for an invoice.
R235 (Sprint+6 #7 Item 3) — flexible body :
- Pas de body OU `{}` → avoir TOTAL (annulation complète)
- `{amount_ht: N}` ou `{amount: N}` (TTC) → avoir partiel montant
- `{lines: [{description, quantity, unit_price_ht, tva_rate}, ...]}` →
avoir partiel ligne-à-ligne (UI permet de cocher des lignes)
Toujours optionnel : `{reason: "string"}` motif (recommandé).
Permissions requises : finance:write
post/api/v1/invoices/{invoice_id}/credit-note
Request
- Base URL: https://erp.eyeot.fr/api/v1
- URL: https://erp.eyeot.fr/api/v1/api/v1/invoices/{invoice_id}/credit-note
- Auth: one of:
- HTTP bearer
- HTTP bearer
Response
Succès — payload {data, meta} (cf. API-GUIDE §3.1)
Changes
No recorded changes to this operation across all 1 revision of this API.