What data in Xero could be useful to a buyer
Linked invoices, payments and correction evidence can explain accounting decisions that a balance alone cannot. Their usefulness to an external buyer depends on the task and permitted use: Xero’s developer terms prohibit API-based data sales and using API data to train AI models.
Start with an accounting question, then inspect the evidence
For a business owner or bookkeeper, the useful unit is often a discrepancy that has been investigated: what disagreed, what evidence was checked, what changed and what remained unresolved. A potential software task might be finding a payment allocated to the wrong invoice. A different task, such as comparing monthly spending, may need consistent account totals rather than a narrated correction.
These are possible uses to assess, not evidence of a buyer or an available licence. This guide explains the records worth inspecting inside an authorized accounting review. It does not recommend offering an API-derived collection for sale.
Check the platform restriction before planning a buyer sample
Xero’s current developer terms define API Data to include raw and processed information. They prohibit training, fine-tuning, adapting or enhancing AI models with that data. Clause 29 also prohibits selling user data and aggregating and supplying user or API data to another app or third party. User consent does not override those prohibitions.
API use is limited to an approved app use case. Do not assume that calling a transfer “evaluation,” removing names or converting JSON into a spreadsheet makes it permissible. Have the responsible owner review the exact proposed use and governing terms before extraction or disclosure. A native export is not established here as a workaround.
Keep the accounting event separate from its explanation
The following is a collection to inspect, not a promise that every export contains these records. Preserve the organisation identifier with record IDs: a readable invoice number or a repeated amount is a weak substitute for a verified link.
| Evidence | What it can explain | What must stay connected |
|---|---|---|
| Invoice or bill and its lines | What was charged, when it was due and the recorded account/tax treatment | InvoiceID, contact replacement ID, line detail, currency, invoice/due dates, amounts and extraction time |
| Payment, credit or other adjustment | How the recorded amount owing changed | Its own ID, linked document and account, date, amount/currency and any reversal or replacement |
| Journal lines | How an event affected the ledger, the accounting record organized by account | Journal ID/number, source transaction link where available, account, signed amounts and posting date |
| History, note or reviewer workpaper | Who changed something, when, and any retained explanation | Parent record, event timestamp, author role and the actual reason or evidence reference; mark missing reasons |
| Supporting document and reconciliation evidence | Whether the proposed correction is supported by a remittance, statement or other source | Permitted file content, parent record, statement period/reference, review date and unresolved exceptions |
Sources: Accounting API Invoices, Accounting API Payments, Accounting API Journals
Fictional case: the balance is right but the payment is on the wrong invoice
Everything in this case is invented, including labels and amounts; it is not an account export or a Xero field-name recipe. One customer has two outstanding CAD 1,200 invoices, I-41 and I-42. There are no credits, exchange differences or fees in this simplified case. A single CAD 1,200 receipt has been allocated to I-42. The combined receivable is therefore CAD 1,200 either way.
| Point in the review | Evidence available | Reasoning and limit |
|---|---|---|
| Before correction | I-41 shows 1,200 due; I-42 shows zero due; payment P-11 links to I-42 | Totals alone cannot say which invoice the customer intended to pay |
| Investigation | A permitted bank-statement line records 1,200 received; remittance R-7 explicitly names I-41 | The amount supports a receipt; the remittance identifies the intended invoice. Matching amount/date alone would remain ambiguous |
| Documented correction | The bookkeeper records a reason, reverses the wrong allocation and records the replacement against I-41; old/new payment links are retained | Another reviewer can follow what changed instead of seeing only the final allocation |
| After review | I-41 shows zero due; I-42 shows 1,200 due; the receipt and replacement allocation have been checked against the statement | The allocation is supported in this fictional case. The total receivable has not fallen again, and neither service delivery nor customer satisfaction is established |
What this case could test, and what it cannot prove
A separately authored fictional test could present only the invoices, initial payment and statement, and ask an accounting assistant what evidence is needed before reallocating the receipt. A good answer says the equal amounts leave two candidates and requests the remittance or equivalent evidence. A second stage could supply R-7 and ask which allocation it supports. Score evidence selection and arithmetic; keep the later correction out of the first-stage input.
This is a design example using invented records. It is not permission to run real API data through a model, or to disguise transformed API data as synthetic. Any real evaluation, training or retrieval proposal needs its own permitted basis; changing the task label does not settle the developer-term restrictions.
For a human accounting review, keep the original mistake, the correction evidence and cases that remain ambiguous. A paid invoice status establishes a recorded accounting state. It does not by itself establish bank settlement, successful delivery, absence of a later refund or the commercial benefit of the correction.
Native exports and reports cover different questions
Xero’s export guidance describes exporting individual areas and reports separately, with coverage governed by user role. It recommends transaction-detail and reconciliation reports as well as financial summaries. Build a list of the actual objects and periods needed; do not treat one general-ledger file or invoice CSV as the whole organisation.
Reports need their settings. Retain the as-of date or date range, cash or accrual basis where applicable, currency/FX columns, filters and extraction time. Comparing totals with different settings can create an apparent discrepancy. A report rerun after a correction is not evidence of what a reviewer saw before that correction.
The Accounting API exposes a documented list of report-specific endpoints, generally summaries in XML or JSON. That does not establish an API equivalent for every report in Xero’s interface. Access also depends on the authorizing user: Xero documents a Reports-permission restriction for Standard users. No private account or export was tested for this guide.
Sources: About exporting data out of Xero, Accounting API Reports
Ask the administrator to verify each API component
For invoice-level work, check actual line-item coverage. Xero documents individual and paged invoice retrieval routes for line detail; a broad invoice list can omit it. Invoice date, due date and UpdatedDateUTC have different meanings. The last update time does not reproduce all earlier invoice states.
Use an approved integration with only the read access needed. Current documentation lists granular scopes such as accounting.invoices.read, accounting.payments.read and accounting.attachments.read, alongside report-specific scopes. Broad accounting scopes are being replaced, although Xero says they remain available until September 2027. Record the actual granted scopes and authorizing role rather than reusing an old connector checklist.
The Journals endpoint has an additional gate: Advanced tier or above, use-case approval, and initial and annual security assessment. The accounting.journals.read scope alone is insufficient. If journals are available, the extraction design matters: SourceID and SourceType are not returned on individual-journal retrieval. Xero recommends journal-number offsets over Modified-Since and warns that a partial page need not be the end. Ask the integration owner to demonstrate completeness before using a journal count.
Sources: Accounting API Invoices, Scopes, Accounting API Journals
Recover history, corrections and attachments as separate evidence
A journal describes ledger effects, while a history entry describes a recorded action. Neither necessarily explains the bookkeeper’s reasoning. Xero’s History and notes report provides dated change/user summaries and PDF or Excel export, but has a documented 1,000-result display limit and excludes payroll transactions and expense claims. Check bounded date ranges and exported counts; do not promise a complete field-by-field archive.
Payment history is separately documented. Xero says payments can be created and deleted rather than modified, so a correction may require linking an earlier payment to its reversal and replacement. An IsReconciled flag is not independent bank proof: the Payments documentation permits conversion apps to use it where a matching bank-statement line is unavailable. Inspect the underlying statement and review evidence for the task.
For attachments, the API first lists metadata under a parent document GUID; downloading the actual file is a separate operation. Preserve that parent link and verify that permitted files open. Existing attachments can be replaced, so a current attachment list does not establish earlier versions. A filename or URL alone cannot supply a missing remittance.
Sources: History and notes report, Accounting API Payments, Accounting API Attachments
Run a small coverage check before describing your supply
Ask the bookkeeper and the person responsible for the records to inspect a bounded mix of corrections, straightforward payments and unresolved cases. Record missing evidence as unknown rather than inventing a plausible explanation. For each selected case, fill in these checks without copying sensitive content into a public inventory.
| Check | Evidence to record locally | Decision if missing |
|---|---|---|
| Scope and sequence | Organisation, account/period, extraction date, transaction dates, UTC event times and any time-zone conversion | Narrow the time claim; an undated current snapshot cannot reconstruct the earlier decision |
| Joins and detail | Invoice/payment IDs, credit/reversal/replacement links, line items and statement references checked against the source | Mark the case incomplete; do not join solely on identical amounts or supplier names |
| Reason for correction | Contemporaneous remittance, note or workpaper supporting the decision | Describe an observed change only; do not label it a justified correction |
| Accounting result | Before/after allocation or account effect, currencies and report settings; unresolved differences | Keep financial totals and case counts separate; do not count a reversal and replacement as two resolved cases |
| Documents and authority | Required files actually retrieved; custodian and permitted purpose for each source | Withhold restricted material and reduce the proposed task if necessary |
Prepare a coverage description, not a raw financial sample
A fictional inspection result might be: “20 allocation exceptions checked in one CAD bank account for April: 11 have original state, supporting evidence, correction links and reviewed result; six lack a reason; three remain unresolved.” These counts are not buyer thresholds. Report transactions, journal lines, attachments and complete cases separately. State whether source history, missing periods and automated or human-authored notes were checked.
Before any external discussion, the business owner must address client confidentiality, bank/feed and payment-provider conditions, staff and customer personal information, and rights in supplier invoices or third-party workpapers. A bookkeeping practice’s access to several client organisations is not authority to combine or sell them. Retain only necessary fields and separate the protected originals from any approved description.
For Canadian personal information, the privacy regulator generally treats financial information as sensitive and emphasizes explaining purposes and disclosures when consent is required. Removing a name does not resolve every obligation: dates, amounts and transaction descriptions can still identify people. Resolve applicable privacy, contractual, retention and onward-use duties with the responsible owner before sharing.
Decide the permitted task before looking for a counterparty
No current buyer program is verified here for licensing this Xero collection. A useful internal review or a documented export is not proof of external demand, eligibility or price. The developer restrictions are a concrete limit on an API-derived sale or model-training proposal, not an administrative detail to defer.
Start with a content-free description of the proposed task, extraction route, required evidence and measured gaps. Have the record owner and integration owner resolve whether that exact use is allowed. If the intended use conflicts with Xero’s terms, stop that route. If authority is established for a different use, the coverage check above gives a prospective counterparty a precise question to assess without first receiving confidential records.
Sources and scope
Source checks support the statements identified below. Product access, contractual rights and suitability for a particular buyer still need to be confirmed for your situation.
- Accounting API Reports ↗Xero · Checked
Report-specific endpoints return summary rows/cells in XML or JSON; a Standard authorizing user without Reports access cannot access these endpoints.
Location: Overview; Endpoints; Permissions; Parameters
Public documentation only; not every UI report is listed in the Accounting API.
- Accounting API Attachments ↗Xero · Checked
Attachment listing uses the parent object GUID; content download is separate; an existing attachment can be replaced.
Location: GET Attachments; GET Attachment Content; PUT Attachments
Listing metadata is not the file content or evidence that earlier versions survive.
- Xero Developer Platform Terms & Conditions ↗Xero · Checked · Source dated Dec 4, 2025
API Data includes raw and processed information; AI training/adaptation restrictions, approved-use limits, third-party supply and user-data sale prohibitions apply.
Location: Introduction; clauses 7(b), 8 and 29
Scope here is developer-platform terms, not a legal determination about every independently sourced business record.
- About exporting data out of Xero ↗Xero · Checked
Exporting organisation information requires separate areas and reports; user role governs exportable data.
Location: What you need to know; Data and reports you can export; File formats you can export
Official text retrieved in search index; direct page returned no readable lines. No private UI export tested.
- Accounting API Invoices ↗Xero · Checked
Invoice identifiers, dates, currency and current amounts are distinct; line detail requires documented individual/paged routes.
Location: GET Invoices; response elements; Optional parameters
Invoice data and a last-updated timestamp do not establish a complete version history.
- Accounting API Payments ↗Xero · Checked
Payments connect to invoice/account records; amounts have currency meanings; conversion apps can use IsReconciled without a matching bank statement line; payments can be created/deleted, not modified.
Location: GET Payments; POST Payments; Retrieving History
A reconciliation flag alone is not independent evidence of a bank-statement match.
- Accounting API Journals ↗Xero · Checked
Journals require Advanced tier, initial/annual assessment and use-case approval; SourceID/SourceType are absent on individual retrieval; offset guidance and partial-page warning apply.
Location: Overview; GET Journals; response elements; Optional parameters
Documentation check only; no app eligibility, tier or endpoint access verified.
- History and notes report ↗Xero · Checked
History report offers dated user/change summaries, PDF/Excel export, a 1,000-result display limit and stated omissions.
Location: About the History and notes report; View the History and notes report; Export
Official text retrieved in search index; direct page returned no readable lines. Does not establish full field-level version recovery.
- Scopes ↗Xero · Checked
Read scopes are object/report specific; broad accounting scopes are being replaced by granular scopes, with broad scopes available until September 2027.
Location: Organisation scopes; Accounting API; deprecated-to-granular mapping
Granted scopes, authorizing user permissions and app approval must all be checked; a scope name does not prove access.
- Guidelines for obtaining meaningful consent ↗Office of the Privacy Commissioner of Canada · Checked
Financial personal information is generally sensitive; meaningful consent must address purposes and disclosures where consent is required.
Location: Emphasize key elements; Consider the form of consent
Canadian guidance; applicable laws, exceptions and duties require case-specific assessment.