I got a task about Xero integration in my work last week, aiming to copy invoices from one account to the other. To perform this task, the workflow will be:
- Invoice created/updated in Xero account A
- The webhook from Xero account A is triggered
- Our App handles the webhook and copy the newly created/updated invoice to Xero account B
This article will show you how to setup Xero and talk about some tricky parts of the task.