Stop burning development time figuring out Xero.
The Xero Integration Playbook gives your team guidance written for your integration, with recommendations, sample API queries and support to help them build it.
or email us at info@sydney.software
“This allows us to reduce significant time and error in manual reconciliations across different Xero files and in turn, we can also provide a better customer experience for billing.”
From the first call to your build
We gather and validate your requirements, then write a guide specifically tailored for your project. The guide is used by your developers to build the integration.
- 01
Get a quote with the scope
We discuss your integration and confirm it's feasible before sending a formal quote. Once you accept and pay, we confirm the scope on the kickoff call.
- 02
Receive your Playbook
We deliver your guide and schedule the review call for when your developers are ready to start building from it.
- 03
Start building with our support
We walk your team through the Playbook on the review call. From that day, you have 30 days to ask questions and use your two support calls.
Xero Integration Playbook
Prepared for Example Corp
- 01Design Summary
- 02Xero API Setup
- 03Authentication and Authorisation
- 04Xero API Sample Queries
- 05Best Practices
- 06Sample API Client
What's included
- Xero app setup, scopes and authentication for your environment.
- Token storage, refresh and credential handling.
- Sample queries for the data listed in your quote.
- Incremental and bulk data transfer, including reliable writes.
- Rate limits, retries, dates and common API errors.
- API client pseudocode and a testing checklist.
Is it right for your team?
The Playbook suits developers who can build the integration and want help with Xero-specific decisions.
It includes a 60-minute kickoff, a 60-minute document review and two 30-minute support calls. We respond to Playbook questions within one business day during the support period.
For code review, debugging or working directly with your developers, see Xero Integration Partner.
A sample from the Playbook
The Playbook is tailored to your integration. This section was written for a project in which the customer's ERP needed to reflect stock movements in Xero accounts using journals.
Checking for duplicates
Xero does not enforce that journals have unique narration values, however your integration should. This is a safeguard in addition to the idempotency key.
You may not have predicted every possible workflow that can result in a journal being written, so there could be a logic path that writes a duplicate. It also means that if the Xero API is misbehaving, you are not completely reliant on it to report a successful or failed write.
The simplest way is to run a GET where the narration equals the one you plan to write, before you run the PUT. If you get a match, the request is unnecessary. In the rare case where Xero’s response to the original PUT was not received, and you were not able to store the journal's ID, you can use the match to record the journal’s ID and mark it as written.
This does double the number of journal-related API requests per day, but it is warranted. Duplicate data causes issues in reporting and other workflows, and may not be detected until later.
Ready for a chat?
Book an Intro Call to discuss your integration, or email us with the data you need to move and where you're up to.
or email us at info@sydney.software
The Playbook in Detail
The Xero Integration Playbook is a structured collection of guidance, examples, and best practices tailored to your requirements and environment. Your team uses it to design, build, test and deploy the integration independently, with calls and support for questions about the document.
The document is customised for your team’s project, so it serves as a targeted guide. This saves your team many hours of time reading documentation and performing exploratory testing.
It covers authentication, efficient data queries, incremental and bulk data transfer, rate limits, error handling, and more, based on our experience building and maintaining Xero integrations.
The playbook is delivered within 10 business days of the kickoff call, for a fixed price, for any programming language.
Who is this for?
Development teams who are capable of building a Xero integration, and want a guide to help them save time and avoid issues related to the Xero API.
If you need someone working directly with your developers on the project, our Xero Integration Partner would be more suitable.
What kind of integration are you building?
The playbook is tailored to the type of integration you’re building. Common ones we see are:
- Import and export. One-way data transfer, such as pushing invoices from your system into Xero, or pulling contacts and transactions out for another system.
- Two-way sync. Keeping data in sync between your application and Xero.
- Dashboards and reporting. Reading financial data from Xero to power an internal dashboard or embed reporting in your product.
- Consolidated reporting. Pulling data from multiple Xero organisations into one view, common for franchises, multi-entity groups, and accounting firms.
- Workflow automation. Reacting to events in Xero, such as a paid invoice triggering fulfilment, or creating Xero records when something happens in your system.
- A Xero-connected product. A SaaS product that connects to each customer’s own Xero organisation, including Xero App Store listings.
How we tailor your playbook
We start with your integration requirements and use our experience with Xero to recommend approaches for your build.
Your requirements
What you're building, what data moves where, and how often it needs to update.
We work through the decisions
We check what Xero supports, locate your data and recommend approaches that fit your build.
Guidance for your team
Our proven Xero guidance, adapted with recommendations and examples for your integration.
What the playbook covers
A playbook written for your requirements and environment. It covers:
- Xero setup for your administrator: creating the app, choosing the right scopes, and handing credentials over securely
- Which OAuth approach fits your situation and why, with setup instructions for your environment
- Token storage and lifecycle, including secure credential storage and secret rotation
- How to query the data types listed in your quote, with sample API calls and server-side filtering
- Efficiently ingesting data from Xero, including incremental and bulk approaches
- Reliably writing data to Xero, including idempotency and validation error handling
- API client pseudocode your developers can implement directly in your language
- Advice on where the integration sits in your application, e.g. manual refresh vs a background process
- Best practices around: tenant selection, retries, rate limit handling, date handling, and error handling for common Xero API issues
- A testing and verification checklist, including how to exercise each path against the Xero demo company before going live
The playbook is delivered as a shared Google Doc within 10 business days of the kickoff call.
Pseudocode and examples in the playbook are included to explain best practice approaches. They are not a spec.
How we agree the scope
Once feasibility has been confirmed, you’ll be sent a formal quote listing the requirements and data flows covered by the Playbook and its support. The scope will be agreed when you accept the quote, then confirmed on the kickoff call and in a follow-up email.
Changes outside the quoted scope will be left out, deferred or quoted as a separate project. If you need ongoing help as the scope evolves, a move to Xero Integration Partner will be discussed with you.
What’s not included
Your team is responsible for application design, implementation, testing and deployment. If you need design, code or schema reviews, debugging or working sessions on your build, we can quote for a separate Xero Integration Partner engagement before we start that work.
Calls
The engagement includes four video calls:
- Kickoff call (60 minutes). We confirm the scope in your accepted quote, your environment, and how we’ll work together.
- Document review call (60 minutes). We go through the Playbook with your team when you’re ready to start building from it. The call starts your 30 days of support.
- Two support calls (30 minutes each). Use them to ask about the Playbook’s explanations and recommendations. Both calls must take place within the included 30 days.
30 days of support for playbook questions
Support covers questions about applying the Playbook to the scope in your accepted quote, e.g. what a sample API call does or why we recommended an incremental sync for your data.
You can ask questions as comments in the Google Doc or by email. We respond within one business day and update the document as we clarify guidance for the agreed requirements.
Extra months of support
If your build runs longer or slips past the included 30 days, you can buy support a month at a time. Each additional 30 days costs 40% of your original Playbook fee ($1,400 AUD excluding GST at the current price).
If your requirements have changed since the review call, we’ll review the Playbook with you again as part of the extra month to see which guidance still applies. Any work to cover new requirements is scoped separately.
Engagement details
- Book an Intro Call. The call will be used to discuss what you’re building and what data needs to move in or out of Xero.
- Your requirements will be checked against the data available in Xero and what the API can read or write. Examples of your current reports or spreadsheets help clarify what you need. Read-only access to your Xero organisation is recommended for this check. A data export can be provided instead, though more information may be needed to confirm the details. Once feasibility has been confirmed, you’ll be sent a formal quote listing the scope.
- The kickoff call will be scheduled once you’ve accepted the quote and paid.
- The scope in your accepted quote and how it applies to your environment will be confirmed on the kickoff call. The agreed scope will also be confirmed by email.
- The Playbook will be sent to you within 10 business days of the kickoff call.
- The Playbook will be reviewed with your developers when they’re ready to build from it. The review call marks the first day of your 30-day support period.
- The integration will be built independently by your team, with support available for questions about the Playbook.
Emails you’ll receive
- Once feasibility has been confirmed, you’ll be sent the formal quote with the proposed scope.
- After kickoff, the agreed scope will be confirmed by email.
- On delivery, you’ll be sent a link to the Google Doc. The review call will be scheduled around the start of your build.
- After the review call, you’ll be emailed the support end date and details on how to ask questions or arrange your two support calls.
- If you haven’t been in touch for support, reminders will be sent two weeks and one week before support ends. The end date and details on how to extend support will be included.
What’s included
Analysis of your integration
We assess your requirements, confirm where the data lives in Xero, and recommend approaches for authentication and data transfer that fit your build.
Your customised playbook
A shared Google Doc written for your requirements and environment, delivered within 10 business days of kickoff and kept updated through the support period.
Four video calls
A 60-minute kickoff, a 60-minute document review with your team, and two 30-minute support calls to use any time in the support period.
Unused calls expire at the end of the support period.
30 days of playbook support
Support starts on the day of the document review call. Ask questions in the Google Doc or by email and we’ll respond within one business day.
Price
$3,500 AUD ex GST
7-day money-back guarantee. If you’re not satisfied with the content of the playbook, let us know within 7 days and we’ll refund your fee.
FAQ
Xero’s API documentation has grown over time and become harder to follow. The playbook gives your developers a single thread to follow, tailored to your requirements and environment. It connects the relevant parts, from authentication and data queries to error handling and testing.
Start by identifying the data you need to move, which direction it needs to travel, and how often it needs to update. Then confirm the Xero API supports those requirements. Our playbook takes you through these decisions and provides guidance on authentication, data transfer, rate limits, error handling, and testing for your environment.
Our customised Xero Integration Playbook costs $3,500 AUD excluding GST. This includes a playbook written for your requirements and environment, four video calls, and 30 days of support. Implementation is priced separately.
We need to understand your application, your environment, and the data you want to move between your system and Xero. Examples of your current reports or spreadsheets help us confirm exactly what you need.
It includes sample API calls and pseudocode to explain the recommended approaches. Your developers handle implementation, adapt the examples to your application, and use the testing checklist to verify their work.
You can get the Playbook in advance and schedule the review call for when your developers are ready to build from it. The included 30 days of support start on the day of that call.
If the build slips after the review call, the support end date stays the same. You can buy another month for 40% of your original Playbook fee. If your requirements have changed in the meantime, we’ll review the Playbook with you again to check which guidance still applies. We’ll scope any work on new requirements separately.
From the document review call, you have 30 days to ask questions about the Playbook by email or in the Google Doc, with a response within one business day. The two 30-minute support calls must also take place within those 30 days. Code review, debugging and advice on new requirements can be quoted separately.
It depends on whether your integration is for a single organisation or many, and where it runs. For most single-organisation integrations, the standard authorisation code flow with a stored refresh token is right, but the details of token storage and refresh are where implementations go wrong. The playbook specifies the flow for your situation and exactly how to handle the token lifecycle in your environment.
For most transactional data types, voiding or deleting a record updates its modified timestamp, so it shows up in your next incremental sync (using If-Modified-Since) with a status of VOIDED or DELETED. Your sync needs to treat those statuses as delete markers and update or remove the record in your own data store, rather than only handling new and changed records. Some data types are removed without leaving a delete marker, and those need a periodic reconciliation pass instead.
Xero enforces per-minute, per-day, and concurrent request limits per tenant, plus an app-wide minute limit. Your integration ideally needs to avoid these limits or intelligently handle throttled responses. The playbook includes a bulk ingest design that stays within the limits and degrades sensibly when it hits them.
Yes. The guidance is language-agnostic and the pseudocode is written to be implemented in whatever your team uses. The environment-specific parts, like token storage and background processing, are written taking your environment into account.
We can write a playbook for the requirements you’re still working on. We’ll discuss your progress on the intro call and list what the guide will cover in the formal quote. If you need a review of your existing design or code, we can quote for Xero Integration Partner.
Yes. We can build an integration with your existing software. For software products, we can help refine how your product will interact with Xero, then design, build and test the integration and assist with App Store listing. That work has a separate scope and fixed-price quote. See our Xero integration services for the options.
Ready to start?
Book an Intro Call and we’ll confirm the playbook fits what you’re building.