Are there any limits exporting to Xero?

Are there any limits exporting to Xero?

API Rate Limits

There are limits to the number of API calls that your application can make against a particular Xero organisation.

  • Minute Limit: 60 calls in a rolling 60 second window
  • Daily Limit: 5000 calls in a rolling 24 hour window
If you encounter a limit, do not continue to make requests as this may continue to add to your limitation. The most common issue encountered is the 60 requests/min rate limit. If possible, queue requests and allow a few seconds before attempting to make another request.

If you have a large volume of bills to export, we advise you break them up into smaller batches e.g. 20 bills at a time to avoid errors


Request Size Limit

A single POST to the Accounting or Payroll APIs has a size limit of 3.5MB. There is no limit to the number of elements within a request, provided the overall request size does not exceed 3.5MB. A single POST to the Files API has a size limit of 10MB.

Note: When posting form-encoded xml to the API, the encoded data will be approx 50% larger than the original xml message.

However, to ensure you receive a timely response from the API (large inserts can take quite a while), we recommend you look to batch elements in bundles of up to 50.

Read: if you have set sending attachments to Xero, there is a restriction on file sizes over 3.5MB


System Limits

Invoicing

Xero is designed for volumes of up to 1,000 Sales invoices (Accounts Receivables) and 1,000 Purchases bills (Accounts Payables) per month, dependent also on the frequency of invoicing during the month, variability of amounts and the frequency of sales tax reporting requirements.

This means you may experience slower speeds in Xero when sending over 1000 invoices per month to Xero. 



      

    Check out our
    to stay up to date

      • Related Articles

      • Exporting from Lightyear to Xero

        From the Signed Off tab in Lightyear, choose which bills to export by selecting or deselecting under the tick box column or individuals, then click the Export to Xero button. Please Note: Up to 25 bills can be selected at one time to be exported. If ...
      • Sending Product Codes to Xero

        Activating Product Codes to be sent Lightyear has always been able to extract line item details and we can now send these Product Codes to Xero as well! Activate this setting under Settings > Accounting Software > Accounting Software Settings > Send ...
      • Troubleshooting Xero Error Messages

        Lightyear has a ton of built in validation checks to ensure the data is correct in Lightyear before trying to send the Bill and information to Xero. However, there are occasions when the Export fails and Lightyear displays the reason for the error - ...
      • Why are my bills exporting to Xero in a locked period?

        If you established your connection using an Advisor's credentials, your Lightyear permissions would be piggybacking off that user's permissions in Xero. In Xero, when you go to lock down a period, there are two options:  This means you have rights as ...
      • Xero Integration Setup Guide

        Connecting to Xero Because Xero and Lightyear are both cloud-based, set-up and connectivity between the two systems is seamless. Here's how. From the Navigation Pane, head over to Settings > Accounting Software > select Xero from the dropdown menu > ...