Send invoice

Sends an invoice from an entrypoint via email.

Path parameters

idInvoiceintegerRequired
Invoice ID

Headers

requestTokenstringRequired

Query parameters

attachfilebooleanOptionalDefaults to false

When true, attaches a PDF version of invoice to the email.

mail2stringOptional
Email address where the invoice will be sent to. If this parameter isn't included, Payabli uses the email address on file for the customer owner of the invoice.

Response

Success
isSuccessboolean or null

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

responseTextstring or null

Response text for operation: ‘Success’ or ‘Declined’.

Errors