Closed deesonrohan closed 2 years ago
I am trying to email the invoice with no joy, not seeing any sign of it in the App history on developer.xero
this is how I'm using it.
const createdInvoicesResponse = await xero.accountingApi.createInvoices('', createXeroInvoices); const emailInvoice = await xero.accountingApi.emailInvoice('',<string>createdInvoicesResponse?.body?.invoices?.[0]?.invoiceID, {});
Ignore this it was my mistake
I am trying to email the invoice with no joy, not seeing any sign of it in the App history on developer.xero
this is how I'm using it.
const createdInvoicesResponse = await xero.accountingApi.createInvoices('', createXeroInvoices); const emailInvoice = await xero.accountingApi.emailInvoice('',<string>createdInvoicesResponse?.body?.invoices?.[0]?.invoiceID, {});