Xero Accounting - Magnetism (Preview)

Connect with Xero Accounting to work with Invoices, Payments, and Contacts.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Magnetism
Email help@magnetismsolutions.com
Connector Metadata
Publisher Magnetism
Website https://www.magnetismsolutions.com
Privacy policy https://www.magnetismsolutions.com/privacy-policy
Categories Productivity;Finance

Xero Accounting - Magnetism

Our Power Automate Xero Connector helps you connect any business system with Xero. Create invoices, manage payments, handle credit notes, update contact information and more – all through Power Automate's intuitive interface. Connect Xero to any system that Power Automate supports, without writing a single line of code. More info...

Publisher: Magnetism

Prerequisites

Supported Operations

Create a Xero record

Used to create a Xero record, e.g. Invoice, Credit Note, Contact.

Delete a Xero record

Used to delete a Xero record by its ID, e.g. Invoice, Payment, Credit Note.

Get a Xero record by ID

Used to get a single Xero record by its ID, e.g. Invoice, Payment, Credit Note.

List Xero records

Used to get a list of Xero records, e.g. Invoices, Payments, Credit Notes.

Update a Xero record

Used to update a Xero record by its ID, e.g. Invoice, Credit Note, Contact.

Send an HTTP request to Xero

Used to perform a custom authenticated request to the Xero API.

Trigger when a Xero record is Created on Updated

Used to trigger a Cloud Flow on Create or Update of a Xero Invoice or Contact.

Obtaining Credentials

Create your connection using OAuth and sign in with your Xero account to authorise your tenant.

Known Issues and Limitations

Some Xero API endpoints and fields may not be available from the Connector. Outputs may include fields not shown in the dynamic content, but can still be accessed directly. Or the custom HTTP request action can be used for more advanced requests.

Deployment Instructions

Sign in with your Xero account to create the connection and start a free trial. You'll receive an email with details on purchasing a license to activate the subscription. Or you can purchase a license directly.

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Create a Xero record

Create a Xero record, e.g. Invoice, Credit Note, Contact.

Delete a Xero record

Delete a Xero record by its ID, e.g. Invoice, Payment, Credit Note.

Get a Xero record by ID

Get a single Xero record by its ID, e.g. Invoice, Payment, Credit Note.

List Xero records

Get a list of Xero records, e.g. Invoices, Payments, Credit Notes.

Send an HTTP request to Xero

Send an authenticated HTTP request to the Xero API.

Update a Xero record

Update a Xero record by its ID, e.g. Invoice, Credit Note, Contact.

Create a Xero record

Create a Xero record, e.g. Invoice, Credit Note, Contact.

Parameters

Name Key Required Type Description
Tenant ID
xero-tenant-id True string

The Xero Tenant ID to connect to.

Record Type
recordType True string

The Xero record type to create.

Body
body True dynamic

The dynamic body of the request.

Returns

The outputs of this operation are dynamic.

Delete a Xero record

Delete a Xero record by its ID, e.g. Invoice, Payment, Credit Note.

Parameters

Name Key Required Type Description
Tenant ID
xero-tenant-id True string

The Xero Tenant ID to connect to.

Record Type
recordType True string

The Xero record type to delete.

Record ID
recordId True string

The Xero record ID to delete.

Body
body True dynamic

The dynamic body of the request.

Returns

The outputs of this operation are dynamic.

Get a Xero record by ID

Get a single Xero record by its ID, e.g. Invoice, Payment, Credit Note.

Parameters

Name Key Required Type Description
Tenant ID
xero-tenant-id True string

The Xero Tenant ID to connect to.

Record Type
recordType True string

The Xero record type to get the details for.

Record ID
recordId True string

The Xero record ID to get the details for.

Body
body True dynamic

The dynamic body of the request.

Returns

The outputs of this operation are dynamic.

List Xero records

Get a list of Xero records, e.g. Invoices, Payments, Credit Notes.

Parameters

Name Key Required Type Description
Tenant ID
xero-tenant-id True string

The Xero Tenant ID to connect to.

Record Type
recordType True string

The Xero record type to get the details for.

Where
where string

Filter conditions (if supported), e.g.: Type == "ACCREC"

Order
order string

Order attribute (if supported), e.g.: UpdatedDateUTC DESC

Top
top integer

Top count of records to return

Body
body True dynamic

The dynamic body of the request.

Returns

The outputs of this operation are dynamic.

Send an HTTP request to Xero

Send an authenticated HTTP request to the Xero API.

Parameters

Name Key Required Type Description
Tenant ID
xero-tenant-id True string

The Xero Tenant ID to connect to.

Method
method True string

Enter HTTP method

API Endpoint
uri True string

Enter relative API URL, e.g. /Invoices or /Invoices/{id}

Key
key string

Enter header key

Value
value string

Enter header value

Body
body string

Enter request content

Returns

Name Path Type Description
Body
body string

Response body content

Headers
headers object

Response headers

Status code
statusCode integer

Response HTTP status code

Update a Xero record

Update a Xero record by its ID, e.g. Invoice, Credit Note, Contact.

Parameters

Name Key Required Type Description
Tenant ID
xero-tenant-id True string

The Xero Tenant ID to connect to.

Record Type
recordType True string

The Xero record type to update.

Record ID
recordId True string

The Xero record ID to update.

Body
body True dynamic

The dynamic body of the request.

Returns

The outputs of this operation are dynamic.

Triggers

Trigger when a Xero record is Created or Updated

Trigger when a Xero record is Created or Updated

Trigger when a Xero record is Created or Updated

Trigger when a Xero record is Created or Updated

Parameters

Name Key Required Type Description
Tenant ID
xero-tenant-id True string

The Xero Tenant ID to connect to.

Event Type
eventType True string

The type of event to listen to (Create, Update, Create or Update).

Event Category
eventCategory True string

The category of event to listen to (Invoice, Contact).

Returns

Name Path Type Description
Record ID
ResourceId string

The ID of the Invoice or Contact

Event Category
EventCategory string

The category of event that occurred (INVOICE or CONTACT)

Event Type
EventType string

The type of event of that occurred (CREATE or UPDATE)

Event Date UTC
EventDateUtc string

The Date the event was triggered