Deallocate Credit Note
Reverse a credit-note allocation. Lab-only. Restores the credit note's remaining balance and the invoice's amount due (may revert the invoice from paid).
Reverse a credit-note allocation. Lab-only. Restores the credit note's remaining balance and the invoice's amount due (may revert the invoice from paid).
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Credit note ID
Allocation ID to reverse
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/credit-notes/550e8400-e29b-41d4-a716-446655440000/allocations/550e8400-e29b-41d4-a716-446655440001"{ "success": true, "invoiceStatus": "string", "newRemaining": "string", "newAmountDue": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}Create Credit Note POST
Create an invoice-backed or manual account credit note. Invoice-backed clinic, partnership, currency, doctor identity, tax rate, and pricing mode are derived from the source invoice; manual doctor display data is resolved from a verified clinic member.
Email Credit Note POST
Send a credit note via email to the clinic's billing or primary email address. Lab-only. Honours the lab's sales-credit email template setting.