Delete Invoice
Delete a draft invoice. Only invoices in draft status can be deleted; use status update to cancel non-draft invoices instead.
Delete a draft invoice. Only invoices in draft status can be deleted; use status update to cancel non-draft invoices instead.
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
id*string
Invoice ID
Response Body
application/json
curl -X DELETE "https://example.com/invoices/550e8400-e29b-41d4-a716-446655440000"{ "success": true}Empty
Empty
Create Invoice POST
Create a new invoice for a clinic. Lab-only. Automatically generates an invoice number; issued invoices create the corresponding account transaction while drafts remain ledger-neutral.
Email Invoice POST
Send an invoice via email to the clinic's billing or primary email address. Lab-only. Also emits an in-app notification to clinic owners.