Connect fyrn to Xero to automate accounting workflows — create invoices, manage contacts, record payments, and track bank transactions through the Xero API.
Property
Value
Type
http
Authentication
oauth2
Category
Finance & Accounting
Field
Type
Required
Description
tenant_id
string
Yes
Xero tenant ID (organisation UUID)
client_id
string
Yes
Xero OAuth2 client ID
client_secret
string
Yes
Xero OAuth2 client secret
refresh_token
string
Yes
OAuth2 refresh token
Create a new invoice in Xero. Supports both Accounts Receivable (ACCREC) and Accounts Payable (ACCPAY) invoices.
Endpoint
PUT /Invoices
Method
PUT
Retrieve a single invoice by its ID from Xero.
Endpoint
GET /Invoices/{InvoiceID}
Method
GET
List invoices from Xero with optional filtering and pagination.
Endpoint
GET /Invoices
Method
GET
Create a new contact (customer or supplier) in Xero.
Endpoint
POST /Contacts
Method
POST
Retrieve a single contact by ID from Xero.
Endpoint
GET /Contacts/{ContactID}
Method
GET
List contacts from Xero with optional filtering and pagination.
Endpoint
GET /Contacts
Method
GET
Record a payment against an invoice in Xero.
Endpoint
PUT /Payments
Method
PUT
List bank transactions (spend or receive money) from Xero.
Endpoint
GET /BankTransactions
Method
GET
List all accounts from the chart of accounts in Xero.
Endpoint
GET /Accounts
Method
GET
Create a credit note in Xero to record a refund or credit against a contact.
Endpoint
PUT /CreditNotes
Method
PUT
name : shopify-refund-to-xero
description : When a Shopify order is refunded, create a credit note in Xero and update the contact
event : shopify.refund.created
where : 'EmailAddress == "{{ trigger.body.order.customer.email }}"'
action : create-credit-note
ContactID : "{{ steps.find-contact.result.Contacts[0].ContactID }}"
Date : "{{ trigger.body.created_at | date: '%Y-%m-%d' }}"
- Description : "Refund for order {{ trigger.body.order.name }}"
UnitAmount : "{{ trigger.body.transactions[0].amount }}"
ContactID : "{{ steps.find-contact.result.Contacts[0].ContactID }}"
Name : "{{ steps.find-contact.result.Contacts[0].Name }}"