Open-Source Xero Connector
The Xero connector enables easy and secure data synchronization between your application and your customers’ Xero accounts through unified data models.
OAuth
The Xero connector uses OAuth for secure authentication. When creating a connection, the required OAuth scopes are automatically configured based on your specific operations needs (e.g. genericContact::create
, genericUser::list
).
✓ Automatic token refresh handling
✓ Proactive insufficient permissions detection
View our step-by-step integration guide
Whitelabel
Supported
You can choose to provide your own set of clientId
and clientSecret
for this
connector from the Morph Cloud dashboard; allowing a fully whitelabled experience
for your end-customers.
Try a live demo of Xero connection ✨
Live Demo
Select a connector below to experience our seamless authentication flow and see
how easy it is to connect third-party services.
Contact
The Xero connector seamlessly integrates with our unified genericContact
model, enabling you to manage Contacts with rich data including firstName
, lastName
, phoneNumber
, email
and other key details
API Reference
GET | /resources/genericContact | List and Search Xero Contacts |
GET | /resources/genericContact/:id | Retrieve a Xero Contact |
POST | /resources/genericContact | Create a Xero Contact |
PATCH | /resources/genericContact/:id | Update a Xero Contact |
DEL | /resources/genericContact/:id | Delete a Xero Contact |
Custom Fields
Supported
The Xero connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map Xero Contact custom fields to the unified contact model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
Company
The Xero connector seamlessly integrates with our unified genericCompany
model, enabling you to manage Companies with rich data including name
and other key details
API Reference
GET | /resources/genericCompany | List and Search Xero Companies |
GET | /resources/genericCompany/:id | Retrieve a Xero Company |
POST | /resources/genericCompany | Create a Xero Company |
PATCH | /resources/genericCompany/:id | Update a Xero Company |
DEL | /resources/genericCompany/:id | Delete a Xero Company |
Custom Fields
Supported
The Xero connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map Xero Company custom fields to the unified company model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
User
The Xero connector seamlessly integrates with our unified genericUser
model, enabling you to manage Users with rich data including firstName
, lastName
, email
and other key details
API Reference
GET | /resources/genericUser | List and Search Xero Users |
GET | /resources/genericUser/:id | Retrieve a Xero User |
POST | /resources/genericUser | Create a Xero User |
PATCH | /resources/genericUser/:id | Update a Xero User |
DEL | /resources/genericUser/:id | Delete a Xero User |
Custom Fields
Supported
The Xero connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map Xero User custom fields to the unified user model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
Workspace
The Xero connector seamlessly integrates with our unified genericWorkspace
model, enabling you to manage Workspaces with rich data including name
and other key details
API Reference
GET | /resources/genericWorkspace | List and Search Xero Workspaces |
GET | /resources/genericWorkspace/:id | Retrieve a Xero Workspace |
POST | /resources/genericWorkspace | Create a Xero Workspace |
PATCH | /resources/genericWorkspace/:id | Update a Xero Workspace |
DEL | /resources/genericWorkspace/:id | Delete a Xero Workspace |
Custom Fields
Supported
The Xero connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map Xero Workspace custom fields to the unified workspace model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
Invoice
The Xero connector seamlessly integrates with our unified accountingInvoice
model, enabling you to manage Invoices with rich data including number
, customer
, company
, issueDate
, dueDate
and other key details
API Reference
GET | /resources/accountingInvoice | List and Search Xero Invoices |
GET | /resources/accountingInvoice/:id | Retrieve a Xero Invoice |
POST | /resources/accountingInvoice | Create a Xero Invoice |
PATCH | /resources/accountingInvoice/:id | Update a Xero Invoice |
DEL | /resources/accountingInvoice/:id | Delete a Xero Invoice |
Invoice Item
The Xero connector seamlessly integrates with our unified accountingInvoiceItem
model, enabling you to manage Invoice Items with rich data including description
, quantity
, unitPrice
, amount
, taxRate
and other key details
API Reference
GET | /resources/accountingInvoiceItem | List and Search Xero Invoice Items |
GET | /resources/accountingInvoiceItem/:id | Retrieve a Xero Invoice Item |
POST | /resources/accountingInvoiceItem | Create a Xero Invoice Item |
PATCH | /resources/accountingInvoiceItem/:id | Update a Xero Invoice Item |
DEL | /resources/accountingInvoiceItem/:id | Delete a Xero Invoice Item |
Supported
Can’t find the unified model you need? The Xero connector supports your own custom model.
Events Subscription
The Xero connector supports real-time event subscriptions, allowing you to receive instant notifications when records are created, updated, or deleted. Below are the supported models and their corresponding triggers.
Models | Created | Updated | Deleted | API Reference |
---|---|---|---|---|
genericContact | ||||
genericCompany | ||||
genericUser | ||||
genericWorkspace | ||||
accountingInvoice | ||||
accountingInvoiceItem |
Supported
The Xero connector supports our Proxy Request
feature, allowing you to directly
call any endpoints from Xero’s public API without needing to handle authentication.
Your customer’s token will be automatically set and refreshed as needed, enabling
quick implementation of custom connector behaviors. View API Reference.