Email Invoice
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.
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.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Invoice ID
Header Parameters
Stable key reused only when retrying the exact same command body
8 <= length <= 200Response Body
application/json
curl -X POST "https://example.com/invoices/550e8400-e29b-41d4-a716-446655440000/email" \ -H "idempotency-key: stringst"{ "success": true}Delete Invoice DELETE
Delete a draft invoice. Only invoices in draft status can be deleted; use status update to cancel non-draft invoices instead.
Generate Invoices From Orders POST
Batch-generate invoices from completed orders, grouped by clinic. Lab-only. Uses lab finance settings for default tax rate and due date calculation.