Xero

Finance OAuth

Read and create invoices, payments, contacts and journals in Xero from any Windmill script, flow or app.

Set up in 2 steps

1

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.

2

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.

Submit a script →

Updates or creates one or more contacts in a Xero organisation

Script xero Verified

searches fixed asset types

Script xero Verified

searches fixed asset settings

Script xero Verified

searches fixed asset

Script xero Verified

deletes employee's working patterns

Script xero Verified

creates a project for the specified contact

Script xero Verified

adds a fixed asset type

Script xero Verified

adds a fixed asset

Script xero Verified

Uploads a File to the inbox

Script xero Verified

Uploads a File to a specific folder

Script xero Verified

Updates the tax records for a specific employee

Script xero Verified

Updates tax rates

Script xero Verified

Updates salary and wages record for a specific employee

Script xero Verified

Updates or creates one or more spent or received money transaction

Script xero Verified

Updates or creates one or more quotes

Script xero Verified

Updates or creates one or more purchase orders

Script xero Verified

Updates or creates one or more items

Script xero Verified

Updates or creates a single manual journal

Script xero Verified

Updates leave records for a specific employee

Script xero Verified

Updates an existing folder

Script xero Verified

Updates an existing employee

Script xero Verified

Updates an employee's salary and wages record

Script xero Verified

Updates an employee's detail

Script xero Verified

Updates an earnings template records for an employee

Script xero Verified

Updates a timesheet line for a specific timesheet

Script xero Verified

Updates a timesheet

Script xero Verified

Updates a time entry for a specific project

Script xero Verified

Updates a superfund

Script xero Verified

Updates a specific tracking category

Script xero Verified

Updates a specific timesheet line for a specific timesheet

Script xero Verified

Resource type

The shape of the credential every script on this page expects.

FieldTypeRequiredWhat it is
tokenstringYes

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.