Appearance
Xero
Cloud accounting API for invoices, contacts, bank transactions, and financial reports.
| Detail | Value |
|---|---|
| Category | Finance |
| Base URL | https://api.xero.com/api.xro/2.0 |
| Authentication | OAuth2 |
| Endpoints | 6 |
| Connector key | xero |
Using Xero in a workflow
- Go to Connections and click New Connection.
- Pick Xero from the marketplace.
- Enter your credentials (see Authentication above for what's expected).
- In a workflow, drop an API Call node and select this connection.
- Pick the operation you need from the Operation dropdown — the full list is below.
Available endpoints
| Endpoint | Summary |
|---|---|
GET /Invoices | List all invoices |
POST /Invoices | Create an invoice |
GET /Contacts | List all contacts |
POST /Contacts | Create a contact |
GET /BankTransactions | List bank transactions |
GET /Accounts | List chart of accounts |
Each endpoint is documented in full below. Use the outline on the right to jump to one.
GET /Invoices
List all invoices
| Detail | Value |
|---|---|
| Operation ID | finance.listInvoices |
| Method | GET |
| Path | /Invoices |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
page | query | integer | No |
where | query | string | No |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Xero connection from the Connection dropdown.
- In the Operation dropdown, select
finance.listInvoices. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Xero API reference.
POST /Invoices
Create an invoice
| Detail | Value |
|---|---|
| Operation ID | finance.createInvoice |
| Method | POST |
| Path | /Invoices |
Parameters
No parameters.
Request Body
| Field | Type |
|---|---|
Type | string |
Contact | object |
LineItems | array |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Xero connection from the Connection dropdown.
- In the Operation dropdown, select
finance.createInvoice. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Xero API reference.
GET /Contacts
List all contacts
| Detail | Value |
|---|---|
| Operation ID | finance.listContacts |
| Method | GET |
| Path | /Contacts |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
page | query | integer | No |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Xero connection from the Connection dropdown.
- In the Operation dropdown, select
finance.listContacts. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Xero API reference.
POST /Contacts
Create a contact
| Detail | Value |
|---|---|
| Operation ID | finance.createContact |
| Method | POST |
| Path | /Contacts |
Parameters
No parameters.
Request Body
| Field | Type |
|---|---|
Name | string |
EmailAddress | string |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Xero connection from the Connection dropdown.
- In the Operation dropdown, select
finance.createContact. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Xero API reference.
GET /BankTransactions
List bank transactions
| Detail | Value |
|---|---|
| Operation ID | finance.listBankTransactions |
| Method | GET |
| Path | /BankTransactions |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
page | query | integer | No |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Xero connection from the Connection dropdown.
- In the Operation dropdown, select
finance.listBankTransactions. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Xero API reference.
GET /Accounts
List chart of accounts
| Detail | Value |
|---|---|
| Operation ID | finance.listAccounts |
| Method | GET |
| Path | /Accounts |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Xero connection from the Connection dropdown.
- In the Operation dropdown, select
finance.listAccounts. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Xero API reference.