Email an approved (saved) invoice. See schema for options, such as customizing the subject or attaching a PDF of the invoice.
WARNING: This functionality is only available to businesses where isClassicInvoicing: false
. Internally, Wave is undertaking a data migration to move all invoicing data to a newer system which this API uses. All new users will automatically use the new system and existing users are slowly being moved over.
Replace <INVOICE_ID>
with a real id.
- Operation
-
mutation ($input: InvoiceSendInput!) { invoiceSend(input: $input) { didSucceed inputErrors { message code path } } }
- Operation Variables
-
{ "input": { "invoiceId": "<INVOICE_ID>", "to": ["email@example.com"], "message": "Customized message", "attachPDF": <true|false> } }