Send invoice via email

POST /api/v1/invoices/{invoice_id}/send

Send an invoice to the customer via email. Optionally attach the PDF and CC the sender.

Operation ID: send_invoice_email_api_v1_invoices__invoice_id__send_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

invoice_id string · uuid required

Responses

201 Successful Response

success boolean required

Whether the email was sent successfully.

invoice_id string required

UUID of the invoice sent.

invoice_number string required

Invoice number (e.g., INV-001).

customer_email string required

Email address the invoice was sent to.

cc_email string

Email address that was CC'd (if cc_sender was true).

message_id string

SES message ID for tracking.

pdf_attached boolean

Whether the PDF was attached to the email.

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

409 Conflict - Resource already exists

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object