Xero

The Xero modules allow you to watch, create, update, list, and/or delete accounts, bank transfers, bank transactions, change history, contacts, contact groups, credit notes, employees, files, invoices, items, journal manuals, notes, payments, purchase orders, and tax rates in your Xero account.

Prerequisites

  • A Xero account

In order to use Xero with Integromat, it is necessary to have a Xero account. If you do not have one, you can create a Xero account at https://www.xero.com/signup/.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Xero to Integromat

1. Go to Integromat and open the Xero module's Create a connection dialog.

NHD7rj7adt.gif

 

2. In the Connection name field, enter a name for the connection.

3. In the Company name field, enter the company name if you have more than one company.

4. Click Continue.

xero4.PNG

5. Confirm the dialogue box by clicking the Allow Access button.

xero.PNG

4. Confirm the dialogue box by clicking the Connect button.

xero1.PNG

The connection has been established.

Invoices

Watch Invoices

Triggers when an invoice is added or updated.

ConnectionEstablish a connection to your Xero account
FilterEnter the location where you want to watch the invoices. For example, Type=="BANK"

Search for Invoices

Searches for an invoice.

ConnectionEstablish a connection to your Xero account
Search bySelect the option to search the invoices:
  • Field
  • User-Defined Condition
Maximum number of returned accountsThe maximum number of invoices Integromat should return during one scenario execution cycle.

Get an Invoice

Returns information about an invoice with a given ID.

ConnectionEstablish a connection to your Xero account
Invoice IDEnter the Invoice ID whose details you want to retrieve.

Create an Invoice

Creates a new invoice.

ConnectionEstablish a connection to your Xero account.
TypeSelect the type of invoice you want to create:
  • A bill
  • A sales invoice
Contact IDEnter or Search the Contact ID to whom you want to attach the invoice.
Line Items

Add the line items:

Description

Enter the details of the item.

Quantity

Enter the number of items.

Unit amount

Enter the number of items.

Item

Select the item.

Account Code

Select the category to which the item belongs.

Tax Code

Select the tax code applicable for the item:

  • Sales Tax on Imports
  • Tax Exempt
  • Tax on Purchases
  • Tax on Sales

Tax Amount

Enter the amount of tax for the item.

Line Amount

Enter the item amount after the discount.

Discount Rate

Enter the discount rate of the item.

Discount Amount

Enter the discount amount for the item.

Tracking

Add the tracking name of the item.

Date

Enter the date the invoice is issued.

Due dateEnter the date the invoice is due.
Line amount typeEnter the amount excluding taxes.
Invoice numberEnter the invoice number.
ReferenceEnter the reference number. This is applicable only for sale invoices.
Branding ThemeSelect the branding theme for the invoice.
URLEnter the URL to the source document of the invoice.
Currency codeSelect the currency code applicable to the invoice.
Currency rateEnter the currency conversion rate.
StatusSelect the status of the invoice:
  • Draft
  • Submitted
  • Authorized
Sent to ContactSelect the Yes if the invoice in the Xero app should be marked as "sent". This can be set only on invoices that have been approved.
Expected Payment DateEnter the date when the payment for the invoice is expected. This is available only on sales invoices.
Planned payment dateEnter the date when the payment for the invoice is planned. This is available only on bills.

Update an Invoice

Updates an invoice by ID.

ConnectionEstablish a connection to your Xero account
Invoice IDEnter the Invoice ID you want to update.
TypeSelect the type of invoice you want to create:
  • A bill
  • A sales invoice
Contact IDEnter or Search the Contact ID to whom you want to attach the invoice.
Line Items

Add the line items:

Description

Enter the details of the item.

Quantity

Enter the number of items.

Unit amount

Enter the number of items.

Item

Select the item.

Account Code

Select the category to which the item belongs.

Tax Code

Select the tax code applicable for the item:

  • Sales Tax on Imports
  • Tax Exempt
  • Tax on Purchases
  • Tax on Sales

Tax Amount

Enter the amount of tax for the item.

Line Amount

Enter the item amount after the discount.

Discount Rate

Enter the discount rate of the item.

Discount Amount

Enter the discount amount for the item.

Tracking

Add the tracking name of the item.

DateEnter the date the invoice is issued.
Due dateEnter the date the invoice is due.
Line amount typeEnter the amount excluding taxes.
Invoice numberEnter the invoice number.
ReferenceEnter the reference number. This is applicable only for sale invoices.
Branding ThemeSelect the branding theme for the invoice. 
URLEnter the URL to the source document of the invoice. 
Currency codeSelect the currency code applicable to the invoice.
Currency rateEnter the currency conversion rate.
StatusSelect the status of the invoice:
  • Draft
  • Submitted
  • Authorized
Send to contactSelect Yesif you want to send this invoice to a contact:
  • Yes
  • No
  • Not defined
Expected Payment DateEnter the date when the payment for the invoice is expected. This is available only on sales invoices.
Planned Payment DateEnter the date when the payment for the invoice is planned. This is available only on bills.

Get an Invoice URL

Retrieves a Xero online invoice URL.

ConnectionEstablish a connection to your Xero account
Invoice IDEnter the Invoice ID whose URL you want to retrieve.

Send an Invoice via Email

The email will be sent to the primary email address of the contact on the invoice. The invoice must be of Type ACCREC and a valid Status for sending (SUBMITTED, AUTHORISED, or PAID).

ConnectionEstablish a connection to your Xero account
Invoice IDEnter the Invoice ID whose details you want to send via email.

Bank Transactions

Watch Bank Transactions

Triggers when bank transactions are added or updated.

ConnectionEstablish a connection to your Xero account
FilterEnter the location where you want to watch the invoices. For example, Type=="BANK"

Get a Bank Transaction

Returns information about a transaction with a specified ID.

ConnectionEstablish a connection to your Xero account
Bank Transaction IDEnter the Bank Transaction ID whose details you want to retrieve.

Create a Bank Transaction

Creates a new bank transaction.

ConnectionEstablish a connection to your Xero account.
TypeSelect the type of bank transaction you want to create:
  • Receive
  • Receive overpayment
  • Receive prepayment
  • Spend
  • Spend overpayment
  • Spend prepayment
  • Receive transfer
  • Spend transfer
Contact IDEnter the Contact ID who is performing the bank transaction.
Line items

Add the line items:

Description

Enter the details of the item.

Quantity

Enter the number of items.

Unit amount

Enter the number of items.

Item

Select the item.

Account Code

Select the category to which the item belongs.

Tax Code

Select the tax code applicable for the item:

  • Sales Tax on Imports
  • Tax Exempt
  • Tax on Purchases
  • Tax on Sales

Tax Amount

Enter the amount of tax for the item.

Line Amount

Enter the item amount after the discount.

Discount Rate

Enter the discount rate of the item.

Discount Amount

Enter the discount amount for the item.

Tracking

Add the tracking name of the item.

Bank AccountSelect the bank account whose transaction you are performing.
Is ReconciledSelect if this transaction is reconciled.
DateEnter the date of the transaction.
ReferenceEnter the transaction reference number.
Currency CodeSelect the currency code in which you are performing the transaction.
Currency RateEnter the applicable currency conversion rate.
URLEnter the URL to the source document.
Line Amount TypeSelect the line amount type:
  • Inclusive
  • Exclusive
  • No Tax

Bank Transfers

Watch Bank Transfers

Triggers when a new bank transfer is created.

ConnectionEstablish a connection to your Xero account.
FilterEnter the location where you want to watch the invoices. For example, Type=="BANK"

Create a Bank Transfer

Transfers a specified amount from one account to another.

ConnectionEstablish a connection to your Xero account.
From bank accountSelect the bank account from which you want to transfer.
To bank accountSelect the bank account to which you want to transfer.
AmountEnter the amount you want to transfer.
DateEnter the date of the transfer.

Contacts

Watch Contacts

Triggers when a contact is created or updated.

ConnectionEstablish a connection to your Xero account
FilterEnter the location where you want to watch the invoices. For example, Type=="BANK"

Search for Contacts

Searches for a contact by name or email.

ConnectionEstablish a connection to your Xero account
Search bySelect the option to search the contacts:
  • Field
  • User-Defined Condition
Maximum number of returned accountsThe maximum number of contacts Integromat should return during one scenario execution cycle.

Get a Contact

Retrieves contact information by ID.

ConnectionEstablish a connection to your Xero account.
Contact IDEnter the contact ID whose details you want to retrieve.

Create a Contact

Creates a new contact.

ConnectionEstablish a connection to your Xero account.
NameEnter the name of the contact you want to create.
Contact numberEnter the phone number of the contact.
Account numberEnter the account number of the contact.
First nameEnter the first name.
Last nameEnter the last name.
EmailEnter the email address of the contact.
SkypeEnter the Skype ID of the contact.
Contact persons

Add the contact persons:

First name

Enter the first name of the contact person.

Last name

Enter the last name of the contact person.

Email

Enter the email address of the contact person.

Include in emails

Select Yes if you want to include the contact person in your emails:

  • Yes
  • No
  • Not defined
Bank account detailsEnter the bank account details of the contact.
Tax numberEnter the tax number.
Accounts receivable tax typeSelect the accounts receivable tax type for the contact:
  • Sales Tax on Imports
  • Tax Exempt
  • Tax on Purchases
  • Tax on Sales
Accounts payable tax typeSelect the accounts payable tax type for the contact:
  • Sales Tax on Imports
  • Tax Exempt
  • Tax on Purchases
  • Tax on Sales
Addresses

Add the address of the contact:

Type

Select the type of address:

  • Street
  • POBOX

Address line 1

Enter the street address.

Address line 2

Enter the street address.

Address line 3

Enter the street address.

Address line 4

Enter the street address.

City

Enter the city name.

Region

Enter the area name.

Postal Code

Enter the postal code of the area.

Country

Enter the country name.

Attention to

Enter the name to whom you are addressing.

Phones

Add the phone numbers of the contact:

Type

Select the type of phone number.

  • Default
  • Mobile
  • Fax
  • DDI

Number

Enter the phone number.

Area Code

Enter the area code.

Country Code

Enter the country code.

Default CurrencySelect the applicable currency for the contact.
Xero Network KeyEnter the Xero Network Key to store the contact.
Sales default accountSelect the sales category of the contact.
Purchases default accountSelect the purchasing category of the contact.
Payment termsSelect the payment terms applicable for the contact:
  • Day(s) after bill date
  • Day(s) after month date
  • of the current month
  • of the following month

Update a Contact

Updates a contact by ID.

ConnectionEstablish a connection to your Xero account
Contact IDEnter the Contact ID you want to update.
NameEnter the name of the contact.
Contact numberEnter the phone number of the contact.
Account numberEnter the account number of the contact. 
First nameEnter the first name of the contact.
Last nameEnter the last name of the contact.
EmailEnter the email address of the contact.
SkypeEnter the Skype ID of the contact.
Contact persons

Add the contact persons:

First name

Enter the first name of the contact person.

Last name

Enter the last name of the contact person.

Email

Enter the email address of the contact person.

Include in emails

Select Yes if you want to include the contact person in your emails:

  • Yes
  • No
  • Not defined
Bank account detailsEnter the bank account details of the contact.
Tax numberEnter the tax number of the contact.
Accounts receivable tax typeSelect the accounts receivable tax type for the contact:
  • Sales Tax on Imports
  • Tax Exempt
  • Tax on Purchases
  • Tax on Sales
Accounts payable tax typeSelect the accounts payable tax type for the contact:
  • Sales Tax on Imports
  • Tax Exempt
  • Tax on Purchases
  • Tax on Sales
Addresses

Add the address of the contact:

Type

Select the type of address:

  • Street
  • POBOX

Address line 1

Enter the street address.

Address line 2

Enter the street address.

Address line 3

Enter the street address.

Address line 4

Enter the street address.

City

Enter the city name.

Region

Enter  the area name.

Postal Code

Enter the postal code of the area.

Country

Enter the country name.

Attention to

Enter the name to whom you are addressing.

Phones

Add the phone numbers of the contact:

Type

Select the type of phone number.

  • Default
  • Mobile
  • Fax
  • DDI

Number

Enter the phone number.

Area Code

Enter the area code

Country Code

Enter the country code.

Default currencySelect the applicable currency for the contact. 
Xero network keyEnter the Xero Network Key to store the contact.
Sales default accountSelect the sales category of the contact.
Purchases default accountSelect the purchasing category of the contact.
Payment terms

Select the payment terms applicable for the contact:

  • Day(s) after bill date
  • Day(s) after month date
  • of the current month
  • of the following month

Archive a Contact

Archive a contact with a given ID.

ConnectionEstablish a connection to your Xero account.  
Contact IDEnter the Contact ID you want to archive.

Credit Notes

Watch Credit Notes

Triggers when a credit note is added or updated.

ConnectionEstablish a connection to your Xero account
FilterEnter the location where you want to watch the invoices. For example, Type=="BANK"

Get a Credit Note

Returns information about a credit note with a specified ID.

ConnectionEstablish a connection to your Xero account
Credit Note IDEnter the Credit Note ID whose details you want to retrieve.

Create a Credit Note

Creates a new credit note.

ConnectionEstablish a connection to your Xero account
Type

Select the type of credit note you are creating:

  • An Accounts Payable
  • An Accounts Receivable
Contact IDEnter the Contact ID whose credit notes you are creating.
Line items

Add the line items:

Description

Enter the details of the item.

Quantity

Enter the number of items.

Unit amount

Enter the number of items.

Item

Select the item.

Account Code

Select the category to which the item belongs.

Tax Code

Select the tax code applicable for the item:

  • Sales Tax on Imports
  • Tax Exempt
  • Tax on Purchases
  • Tax on Sales

Tax Amount

Enter the amount of tax for the item.

Line Amount

Enter the item amount after the discount.

Discount Rate

Enter the discount rate of the item.

Discount Amount

Enter the discount amount for the item.

Tracking

Add the tracking name of the item.

Status

Select the status of the credit note:

  • Draft
  • Submitted
  • Authorized
Line Amount TypeSelect the line amount type of the credit note:
  • Inclusive
  • Exclusive
  • No tax
DateEnter the date when the credit note is issued.
Currency RateEnter the currency conversion rate.
Currency CodeSelect the currency code applicable for the credit note.
Credit Note NumberEnter the credit note number.
ReferenceEnter the reference number of the credit note.
Branding ThemeSelect the branding theme for the credit note.

Manual Journals

Watch Manual Journals

Triggers when a manual journal is created or updated.

ConnectionEstablish a connection to your Xero account.
FilterEnter the location where you want to watch the invoices. For example, Type=="BANK"

Search for manual Journals

Searches for a manual journal.

ConnectionEstablish a connection to your Xero account
Search by

Select the option to search the manual journals:

  • Field
  • User-Defined Condition
Maximum number of returned accountsThe maximum number of manual journals Integromat should return during one scenario execution cycle.

Get a Manual Journal

Returns information about a manual journal.

ConnectionEstablish a connection to your Xero account.
Manual Journal IDEnter the Manual Journal ID whose details you want to retrieve.

Create a Manual Journal

Creates a manual journal.

ConnectionEstablish a connection to your Xero account.
NarrationEnter the description of the journal.
Journal lines

Add the journal lines:

Line amount

Enter the amount after the discount.

Accounts

Select the category applicable to the journal.

Description

Enter the details of the journal.

Tax type

Select the tax type for the journal:

  • Sales Tax on Imports
  • Tax Exempt
  • Tax on Purchases
  • Tax on Sales

Tracking

Add the tracking name for the journal.

Date

Enter the journal posting date.

Line amount typeSelect the line amount type:
  • Inclusive
  • Exclusive
  • No Tax
StatusSelect the status of the journal:
  • Drafted
  • Posted
  • Voided
  • Deleted
URLEnter the URL link of the source document.
Show on cash basis reportsSelect Yesif you want to show the journal based on cash basis report:
  • Yes
  • No
  • Not defined

Items

Create an Item

Creates a new item.

ConnectionEstablish a connection to your Xero account.
CodeEnter the item code.
AccountEnter the account for which you are creating the item.
NameEnter the name of the item.
Is soldSelect if the item is available for sales transactions.
Is purchasedSelect if the item is available for purchase transactions.
DescriptionEnter sales details of the item.
Purchase descriptionEnter the purchase details of the item.
Unit priceEnter the single unit purchasing price of the item. By default, the price rounded off for two decimals.
Cost of goods sold accountSelect the goods sold account.
TaxSelect the applicable tax for the item.
Unit priceEnter the sale unit price of the item.
AccountSelect the account category of the item.
TaxSelect the applicable tax for the item.

Update an Item

Updates an item by ID.

ConnectionEstablish a connection to your Xero account
Item IDEnter the Item ID you want to update.
CodeEnter the item code.
AccountEnter the account for which you are creating the item.
NameEnter the name of the item.
Is soldSelect if the item is available for sales transactions.
Is purchasedSelect if the item is available for purchase transactions.
DescriptionEnter sales details of the item. 
Purchase descriptionEnter the purchase details of the item.
Unit priceEnter the single unit purchasing price of the item. By default, the price is rounded off to two decimals.
Cost of goods sold accountSelect the goods sold account.
TaxSelect the applicable tax for the item.
Unit priceEnter the sale unit price of the item.
AccountSelect the account category of the item. 
TaxSelect the applicable tax for the item.

Get an Item

Searches for an item by item ID or item code.

ConnectionEstablish a connection to your Xero account
Item IDEnter the Item ID whose details you want to retrieve.

Payments

Watch Payments

Triggers when a payment is created or updated.

ConnectionEstablish a connection to your Xero account
FilterEnter the location where you want to watch the payments. For example, Type=="BANK"

Get a Payment

Retrieves information about a payment with a specified ID.

ConnectionEstablish a connection to your Xero account
Payment IDEnter the Payment ID whose details you want to retrieve.

Create a Payment

Creates a new purchase order.

ConnectionEstablish a connection to your Xero account
Specify object bySelect the option for which you want to create the payment:
  • Invoice ID
  • Invoice Number
  • CreditNote ID 
  • Credit Note Number
  • Prepayment ID 
  • Overpayment ID
AccountSelect the account to be used for payment.
AmountEnter the payment amount.
DateEnter the date when the payment is being made.
ReferenceEnter the details of the payment.
Is reconciledSelect Yes if the payment is reconciled:
  • Yes
  • No
  • Not defined

Purchase Orders

Watch Purchase Orders

Triggers when an order is added or updated.

ConnectionEstablish a connection to your Xero account.
FilterEnter the location where you want to watch the purchase orders. For example, Type=="BANK"

Get a Purchase Order

Returns information about a purchase order with a specified ID.

ConnectionEstablish a connection to your Xero account.
Purchase Order IDEnter the Purchase Order ID whose details you want to retrieve.

Create a Purchase Order

Creates a new purchase order.

ConnectionEstablish a connection to your Xero account
Contact ID
Enter the Contact ID whose purchase order you are creating.
Line Items

Add the line items:

Description

Enter the details of the item.

Quantity

Enter the number of items.

Unit amount

Enter the number of items.

Item

Select the item.

Account Code

Select the category to which the item belongs to.

Tax Code

Select the tax code applicable for the item:

  • Sales Tax on Imports
  • Tax Exempt
  • Tax on Purchases
  • Tax on Sales

Tax Amount

Enter the amount of tax for the item.

Line Amount

Enter the item amount after the discount.

Discount Rate

Enter the discount rate of the item.

Discount Amount

Enter the discount amount for the item.

Tracking

Add the tracking name of the item.

DateEnter the purchase order issuing date.
Delivery DateEnter the goods delivering date.
Line Amount TypeSelect the line amount type:
  • Inclusive
  • Exclusive
  • No Tax
Purchase Order NumberEnter the purchasing order number.
ReferenceEnter the additional reference number.
Branding ThemeSelect the branding theme for the purchasing order.
Currency CodeSelect the currency code applicable for the purchasing order.
StatusSelect the status of the purchase order:
  • Draft
  • Submitted
  • Authorized
  • Billed
Sent to ContactSelect Yes if you send the purchase order to a contact:
  • Yes
  • No
  • Not defined
Delivery AddressEnter the address where the goods should be delivered.
Attention toEnter the person to whom you are delivering the goods.
TelephoneEnter the phone number.
Delivery InstructionsEnter the delivery instructions, if any.
Expected Arrival DateEnter the date when the goods are expected to arrive at the address.

Contact Groups

Get a Contact Group

Returns information about a contact group.

ConnectionEstablish a connection to your Xero account.
Contact Group IDEnter the Contact Group ID whose details you want to retrieve.

Create a Contact Group

Creates a contact group.

ConnectionEstablish a connection to your Xero account
Contact Group IDEnter the Contact Group ID you want to create.

Delete a Contact Group

Deletes all contacts from a contact group.

ConnectionEstablish a connection to your Xero account
Contact Group IDEnter the Contact Group ID you want to delete.

Add a Contact to a Contact Group

Adds a contact to a specified contact group.

ConnectionEstablish a connection to your Xero account.
Contact GroupSelect the contact group to which you want to add a contact.
Contact IDEnter the Contact ID to add to the contact group.

Remove a Contact from a Contact Group

Removes a contact from a contact group.

ConnectionEstablish a connection to your Xero account
Contact GroupSelect the contact group to which you want to remove a contact.
Contact IDEnter the Contact ID that you want to remove from the contact group.

Employees

Create an Employee

Creates a new employee.

ConnectionEstablish a connection to your Xero account
First nameEnter the first name of the employee.
Last nameEnter the last name of the employee.
External linkEnter any external link available about the employee. For example, a link to the employee record.

Update an Employee

Updates an employee by ID.

ConnectionEstablish a connection to your Xero account.
Employee IDEnter the Employee ID whose details you want to update.
First nameEnter the first name of the employee.
Last nameEnter the last name of the employee.
External linkEnter any external link available about the employee. For example, a link to the employee record.

Reports

Get a Bank Summary

Returns the balance and cash movements for each bank account.

ConnectionEstablish a connection to your Xero account
From DateEnter the start date from which you want to get the bank summary.
To DateEnter the last date until which you want to get the bank summary.

Get a Bank Statements Report

Returns bank statements for a selected bank account.

ConnectionEstablish a connection to your Xero account
Bank accountSelect the bank account whose statement summary report you want to retrieve.
From DateEnter the start date from which you want to get the bank statement.
To DateEnter the last date from which you want to get the bank statement.

Reports

Search for Accounts

Finds an account by ID, name, or code.

ConnectionEstablish a connection to your Xero account.
Search bySelect the option to search the tax rates:
  • Field
  • User-defined Condition
Maximum number of returned accountsThe maximum number of accounts Integromat should return during one scenario execution cycle.

Get an Account

Returns information about an account with a specified ID.

ConnectionEstablish a connection to your Xero account
Account IDEnter the Account ID whose details you want to retrieve.

Files

Upload a File

Uploads a file to a selected object.

ConnectionEstablish a connection to your Xero account.
Where to send the fileSelect the option to send the file:
  • Invoice
  • Credit Note
  • Bank Transaction
  • Bank Transfer
  • Contact
  • Manual Journal
  • Purchase Order
Invoice IDEnter the Invoice ID to which you want to send file.
Credit Note IDEnter the Credit Note ID to which you want to send the file.
Bank Transaction IDEnter the Bank Transaction ID to which you want to send the file.
Bank Transfer IDEnter the Bank Transfer ID to which you want to send the file.
Contact IDEnter the Contact ID to which you want to send the file.
Manual Journal IDEnter the Manual Journal ID to which you want to send the file.
Purchase Order IDEnter the Purchase Order ID to which you want to send the file.
File nameEnter the file name you are uploading. For example, sample.txt.
DataEnter the path of the file to upload.

Tax Rates

Search for Tax Rates

Finds a tax rate by name.

ConnectionEstablish a connection to your Xero account
Search BySelect the option to search the tax rates:
  • Field
  • User-defined Condition
Maximum number of returned accountsThe maximum number of tax rates Integromat should return during one scenario execution cycle.

History of Changes

Get History of Changes

Retrieves the changes made to a given object.

ConnectionEstablish a connection to your Xero account.
ObjectSelect the object whose change history you want to retrieve:
  • Invoice
  • Credit Note
  • Bank Transaction
  • Bank Transfer
  • Contact
  • Manual Journal
  • Purchase Order
Object IDEnter the Object ID whose change history you want to retrieve.

Create a History Note

Adds a note to a record.

ConnectionEstablish a connection to your Xero account.
ObjectSelect the object whose note you want to create:
  • Invoice
  • Credit Note
  • Bank Transaction
  • Bank Transfer
  • Contact
  • Manual Journal
  • Purchase Order
Object IDEnter the Object ID.
DetailsEnter the note text.

Other

Make an API Call

Performs an arbitrary authorized API call.

ConnectionEstablish a connection to your Xero account.
OrganizationSelect the organization for which you are making the API call.
Base URLSelect the endpoint URL to connect to your Xero account.
URL

Enter a path relative to https://api.xero.com/api.xro/. For example, /2/Accounts.

For the list of available endpoints, refer to the Xero API Documentation.
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

HeadersEnter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example - List Invoices

Following API call returns all invoices:

xero1.png

Matches of the search can be found in the module's Output under Bundle > Body > Invoices.
In our example, 1 invoice was returned:

xero2.PNG

 

Adding Scopes 

If you would like to be able to get access to certain documents such as the balance sheet you will need to add the necessary scopes listed here Xero scopes. 

To be able to do so you will need to create a new connection and tick on the Show advanced settings:

mceclip0.png

1. In the Scope section, click the Add item button.

2. Add the scopes that you require to work with.

3. Click the Continue button to connect to your Xero account.

mceclip1.png

 

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.