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 httpAuthentication oauth2Category Finance & Accounting
Field Type Required Description tenant_idstring Yes Xero tenant ID (organisation UUID) client_idstring Yes Xero OAuth2 client ID client_secretstring Yes Xero OAuth2 client secret refresh_tokenstring Yes OAuth2 refresh token
Create a new invoice in Xero. Supports both Accounts Receivable (ACCREC) and Accounts Payable (ACCPAY) invoices.
Endpoint PUT /InvoicesMethod 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 /InvoicesMethod GET
Create a new contact (customer or supplier) in Xero.
Endpoint POST /ContactsMethod 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 /ContactsMethod GET
Record a payment against an invoice in Xero.
Endpoint PUT /PaymentsMethod PUT
List bank transactions (spend or receive money) from Xero.
Endpoint GET /BankTransactionsMethod GET
List all accounts from the chart of accounts in Xero.
Endpoint GET /AccountsMethod GET
Create a credit note in Xero to record a refund or credit against a contact.
Endpoint PUT /CreditNotesMethod 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 }}"