Send the invoice by email again
Queues one email of the invoice, with its PDF and its XML attached; it never goes without the PDF, and never with a link instead: while the PDF is not stored the email waits (reason: waiting_for_pdf when it failed; POST /v1/invoices/{id}/files/pdf/regenerate releases it). It carries the issuer's email as reply-to, when there is one. It goes to the addresses in to, or to the customer's when to is omitted. It never repeats the automatic email. The answer is the email as queued; follow it with GET /v1/invoices/{id}/emails or the events invoice.email_sent, invoice.email_not_sent, invoice.email_failed. An invoice that is not accepted, is voided or is being voided is not sent to a customer: the email is recorded as not_sent, with the reason, and the answer says so at once. In a test organization only members receive email.
https://api.invox.page/v1/invoices/{id}/emailsAuthorization
Path parameters
Header parameters
Request body JSON required
Returns
200
A retry: the email created by the first request, in its current state.
201
The email was queued (or recorded as not_sent, with its reason).