Email

Send Receipt Email

Send a receipt email with PDF attachment.

Args: request: Receipt email request db_session: Database session current_user: Authenticated user

Returns: Email log record

post/email/send-receipt

Request body

to_emailstring email required
receipt_amountstring required
receipt_date_fullstring required
receipt_date_shortstring required
receipt_numberstring required
invoice_numberstring required
payment_methodstring required
invoice_period_start_datestring required
invoice_period_end_datestring required
customer_idstring uuid required

Response

Successful Response

email_idstring uuid required
customer_idstring uuid required
inquiry_idstring uuid nullable
lead_idstring uuid nullable
template_namestring required
to_recipientsstring[] required
cc_recipientsstring[] nullable
bcc_recipientsstring[] nullable
subjectstring required
template_argsobject nullable
sent_atstring date-time nullable
created_atstring date-time required

Changes

No recorded changes to this endpoint across all 2 revisions of this API.