Xero
Finance OAuthRead and create invoices, payments, contacts and journals in Xero from any Windmill script, flow or app.
Set up in 2 steps
Connect from the Resources page
Open Resources, click Add a resource/API and pick xero from the OAuth APIs list. Click Connect, choose the organisation to authorise, then name the resource and save it.
Run your first script
Fork any script below and read before writing anything. There are hundreds here, so search by the verb you need.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Updates or creates one or more contacts in a Xero organisation
searches fixed asset types
searches fixed asset settings
searches fixed asset
deletes employee's working patterns
creates a project for the specified contact
adds a fixed asset type
adds a fixed asset
Uploads a File to the inbox
Uploads a File to a specific folder
Updates the tax records for a specific employee
Updates tax rates
Updates salary and wages record for a specific employee
Updates or creates one or more spent or received money transaction
Updates or creates one or more quotes
Updates or creates one or more purchase orders
Updates or creates one or more items
Updates or creates a single manual journal
Updates leave records for a specific employee
Updates an existing folder
Updates an existing employee
Updates an employee's salary and wages record
Updates an employee's detail
Updates an earnings template records for an employee
Updates a timesheet line for a specific timesheet
Updates a timesheet
Updates a time entry for a specific project
Updates a superfund
Updates a specific tracking category
Updates a specific timesheet line for a specific timesheet
Resource type
The shape of the credential every script on this page expects.
xero
View raw schema →| Field | Type | Required | What it is |
|---|---|---|---|
| token | string | Yes |
Questions
I have several organisations
The consent screen is where you pick one. Xero scopes a connection to the organisations you tick there, so keep a resource per organisation if scripts should not cross between them.
A call fails on a missing scope
Xero grants scopes at consent time. Reconnect the resource requesting the scope the script needs — an existing token cannot be widened.
There is no Connect button on my instance
Self-hosted instances need a Xero OAuth client configured once by an admin before the tile appears.
Is my token stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.