KPI Tree
Xero logoXero Integration

Turn Xero accounting data into a causal model of where revenue comes from, why margins move, and who is accountable.

Xero captures every invoice, bill, bank feed transaction, and journal entry that flows through your business. KPI Tree reads that data through the official Xero MCP server in their AI Toolkit, or through the data warehouse where your Xero exports already land when you prefer a warehouse-first architecture. If you do not yet run a warehouse, our professional services team will build one around Xero as the canonical source of financial truth. Once connected, KPI Tree builds what no accounting platform offers: causal metric trees that decompose revenue, expenses, and cash flow into the underlying drivers, assign ownership at every level, and alert the right person when a number deviates from plan. Gross profit margin, operating cash flow, days sales outstanding, burn rate, and expense-to-revenue ratio each become a node in a tree with an owner, statistical monitoring, and a direct line to action. Your general ledger stops being a month-end report and starts driving real-time financial accountability.

From general ledger to owned financial trees

KPI Tree connects to Xero through the official MCP server, your data warehouse, or a professional services build-out, so you can start building finance trees regardless of your data infrastructure maturity.

1

Connect your Xero data

Three ways to get started, depending on your stack.

MCP
MCP

Pull metrics from Xero directly through the Model Context Protocol.

SnowflakeBigQueryDatabricks
Warehouse

Connect your existing warehouse where Xero data already lands.

Fivetrandbt
Professional Services

Our professional services team can build you turn-key AI foundations in a matter of weeks. Data warehouse on Snowflake/BigQuery, ELT with Fivetran, all modelled in dbt with a semantic layer.

2

Define revenue, cost, and cash metrics

Create metrics from your Xero data - total revenue, gross profit margin, operating expenses, operating cash flow, accounts receivable ageing, days sales outstanding, days payable outstanding, cash runway, burn rate, revenue per employee, and more. Slice by tracking category to break totals into departments, regions, or cost centres. Write SQL against warehouse tables, or let KPI Tree query the Xero reports through MCP directly without a replication step.

3

Build finance trees and assign ownership

Arrange metrics into parent-child trees that model how they drive each other. Total revenue decomposes into product lines and customer segments. Gross profit decomposes into revenue and cost of goods sold. Each node gets a RACI owner, statistical monitoring, and alerts. When cash burn accelerates, the CFO and department heads know immediately - with context on which expense categories and which late-paying customers drove the change.

Financial intelligence that goes beyond monthly reports

Xero keeps your books accurate and your filings on time. KPI Tree adds the analytical layer that turns accounting data into a causal model of business performance with cross-functional ownership.

P&L decomposition trees by product line, department, and tracking category

Break total revenue into product lines, regions, or Xero tracking categories, then break total costs into departments, cost centres, or vendor groups. Each level is an owned metric with statistical monitoring. When gross margin compresses, you trace the tree to the specific revenue segment or cost category that drove it - and the person accountable for moving it back. Tracking category slices work through Xero's reports over MCP as well as through your warehouse tables.

Cash flow and working capital metrics with causal context

Operating cash flow, cash runway, burn rate, days sales outstanding, and days payable outstanding become first-class metrics linked causally to each other. When runway shortens, KPI Tree surfaces whether it was an AR collection slowdown, a one-off expense, or a genuine revenue decline - not just a number on a dashboard.

Budget deviation alerts routed to the right owner

When a cost category exceeds its statistical baseline or budget target, the metric owner receives an alert with context: which vendors increased, how the change correlates with headcount or revenue, and whether similar deviations have happened before. Month-end variance reviews turn into real-time intervention points.

Revenue and margin decomposition that reveals the real drivers.

Xero gives you a profit and loss report. KPI Tree models how every line of that report connects to every other line. Total revenue decomposes into product lines, customer segments, and regions tagged with Xero tracking categories. Gross profit decomposes into revenue and cost of goods sold. Each level is a metric with an owner, a statistical baseline, and alerts. When gross margin compresses, you do not flick through invoice PDFs - you follow the tree to the revenue segment or cost category that moved, and the person responsible for moving it back.

  • Revenue decomposed into product lines, segments, and tracking categories
  • Gross profit broken down into revenue and cost of goods sold drivers
  • Each level is an owned metric with statistical baseline and alerts
  • Period-over-period comparison isolates which components drove changes
0:00

Cash flow metrics connected to the accounts that move them.

Accounting platforms tell you what your cash balance is today. KPI Tree asks more useful questions: how many months of runway do you have at current burn, why did operating cash flow move last month, and which customers are slowing down collections. Operating cash flow, cash runway, burn rate, days sales outstanding, and days payable outstanding sit in the same tree as revenue and expenses. When runway shortens, you see whether it was collections, one-off spend, or a genuine revenue miss - and who owns fixing it.

  • Operating cash flow, runway, and burn rate as owned metrics
  • DSO and DPO linked causally to specific customers and suppliers
  • Correlation analysis surfaces which accounts drive cash movement
  • Period comparisons show working capital trends as the business scales
Root cause analysis loading

Expense analysis with ownership and vendor trend detection.

Software sprawl, contract creep, and category drift hide inside Xero bills and bank transactions. In KPI Tree, expense categories are a structured tree: operating expenses decompose into departments, departments into categories, categories into vendors. Each node has an owner and a statistical baseline. When a category drifts upward, the owner is alerted with context on which vendors drove the increase and how it correlates with headcount or revenue growth. Variance analysis stops being a month-end exercise and starts being a real-time control system.

  • Operating expenses decomposed into departments, categories, and vendors
  • Vendor-level trend detection with statistical outlier alerts
  • Expense-to-revenue ratio tracked as a first-class owned metric
  • Cross-referenced with headcount and revenue to flag genuine inefficiencies
Period-over-period comparison loading

Combine Xero with revenue, spend, and pipeline data from every source.

Accounting data is most valuable when it connects to everything else. Your warehouse also contains recurring revenue from Stripe or Chargebee, expense detail from Ramp, pipeline data from HubSpot or Salesforce, and operational metrics from your product. KPI Tree builds trees across all of it. A single tree connects pipeline generated to invoices raised to revenue recognised to cash collected to runway remaining - with an owner at every stage. That end-to-end model turns the general ledger from a month-end artefact into a live operating system for the business.

  • Xero revenue and expense data alongside Stripe, Chargebee, and Ramp
  • End-to-end financial modelling from pipeline to cash collected
  • Cross-tool correlation reveals which activities generate the best returns
  • Every metric carries ownership regardless of its data source

What KPI Tree adds that Xero's reports and JAX cannot

Xero's reports and Just Ask Xero are built for bookkeeping accuracy and conversational lookups. KPI Tree is built for understanding how financial metrics drive business outcomes and holding teams accountable across functions.

Causal finance trees, not flat P&L reports

Xero presents revenue and expenses as line items on a report. KPI Tree arranges them into parent-child trees that model how each component drives the total - so you trace root causes instead of reviewing journals.

Cross-functional ownership of financial outcomes

Xero's reports live with finance and the bookkeeper. KPI Tree assigns RACI ownership across department heads, revenue leaders, and the CFO - because margin, cash flow, and efficiency are organisation-wide responsibilities.

Finance connected to every other source of data

Xero only sees general ledger activity. KPI Tree correlates finance metrics with revenue from billing platforms, spend from card programmes, and pipeline from CRMs to show whether cost and cash decisions are driving efficient growth or just rising numbers.

Metrics you can track

13 Xero metrics ready to add to your metric trees.

Total Revenue

Accounting

Metric Definition

Total revenue is the sum of all income recognised across every income account over a period. It is the top line of the profit and loss statement and the foundation metric every other financial KPI depends on.

View metric

Gross Profit Margin

Accounting

Metric Definition

Gross Profit Margin = (Revenue − COGS) / Revenue

Gross profit margin is the percentage of revenue left after subtracting the cost of goods sold. It shows how efficiently your business produces and delivers what it sells.

View metric

Net Profit Margin

Accounting

Metric Definition

Net Profit Margin = Net Profit / Total Revenue

Net profit margin is the percentage of revenue that remains as profit after every operating expense, interest charge, and tax has been deducted. It is the cleanest single-number measure of overall business profitability.

View metric

Operating Cash Flow

Accounting

Metric Definition

Operating cash flow measures the cash generated (or consumed) by the core trading activity of the business over a period. Unlike profit, it is not distorted by accruals, non-cash items, or timing of invoices.

View metric

Cash Runway

Accounting

Metric Definition

Cash Runway (months) = Cash Balance / Monthly Net Burn

Cash runway measures how many months the business can continue operating at its current net burn rate before cash runs out. It is the single most important survival metric for any business spending more than it earns.

View metric

Burn Rate

Accounting

Metric Definition

Net Burn Rate = Monthly Cash Outflows − Monthly Cash Inflows

Burn rate measures the net cash consumed by the business each month, calculated as the difference between cash outflows and cash inflows. Gross burn is total monthly spend; net burn is gross burn minus any revenue collected.

View metric

Days Sales Outstanding

Accounting

Metric Definition

DSO = (Accounts Receivable / Total Credit Sales) × Days in Period

Days sales outstanding (DSO) measures the average number of days it takes to collect payment after an invoice is raised. It is the most direct measure of the efficiency of your credit and collections process.

View metric

Days Payable Outstanding

Accounting

Metric Definition

DPO = (Accounts Payable / COGS) × Days in Period

Days payable outstanding (DPO) measures the average number of days it takes the business to pay its suppliers after receiving a bill. A higher DPO preserves cash for longer but can damage supplier relationships if stretched beyond agreed terms.

View metric

Accounts Receivable Ageing

Accounting

Metric Definition

Accounts receivable ageing groups outstanding customer invoices into age buckets (current, 1-30, 31-60, 61-90, and 90+ days past due). It is the single clearest view of collection health and customer payment behaviour.

View metric

Expense-to-Revenue Ratio

Accounting

Metric Definition

Expense-to-Revenue Ratio = Operating Expenses / Total Revenue

Expense-to-revenue ratio measures total operating expenses as a percentage of total revenue over the same period. It is a single-number summary of how operationally efficient the business is at each level of revenue.

View metric

Vendor Spend Concentration

Accounting

Metric Definition

Vendor spend concentration measures what share of total operating spend goes to your top N suppliers. It quantifies supply-chain risk: the more concentrated your spend, the more exposed you are to any single vendor failing, raising prices, or being acquired.

View metric

Revenue Per Employee

Accounting

Metric Definition

Revenue Per Employee = Total Revenue / Average Employee Count

Revenue per employee divides total revenue over a period by the average number of employees over the same period. It is the cleanest single-number measure of headcount productivity.

View metric

Budget Variance

Accounting

Metric Definition

Budget Variance % = (Actual − Budget) / Budget

Budget variance measures the difference between actual and budgeted amounts for any financial line item, expressed as an absolute value or a percentage. It tells you where performance is diverging from plan and by how much.

View metric

Related integrations

Other data sources that work with KPI Tree.

Common questions

Through the official Xero MCP server, your warehouse, or both. Xero publishes `@xeroapi/xero-mcp-server` as part of its AI Toolkit, which exposes read tools for the profit and loss, balance sheet, trial balance, aged receivables and payables, invoices, bills, contacts, bank transactions, payments, tracking categories, items, and payroll data. KPI Tree queries those tools in place so metrics stay close to the source. If you prefer warehouse-first, most finance teams already replicate Xero to Snowflake, BigQuery, or another warehouse via Fivetran, Airbyte, or a lightweight job against the Xero Accounting API, and KPI Tree can read those tables instead. If you do not yet have a warehouse or an ELT pipeline, our professional services team can build the warehouse, configure the ELT, and ship a dbt semantic layer for Xero as a fixed-scope engagement.
Any metric computable from Xero data through MCP or your warehouse: total revenue, revenue by product line or tracking category, gross profit margin, operating profit, EBITDA margin, net profit margin, operating cash flow, cash runway, burn rate, accounts receivable ageing, days sales outstanding, days payable outstanding, expense-to-revenue ratio, vendor spend concentration, revenue per employee, budget variance, and more. If the Xero MCP read tools can return it, or it can be expressed as SQL against your Xero tables, it can be a KPI Tree metric with an owner, a baseline, and alerts.
Yes. Xero's tracking categories are a first-class dimension in every KPI Tree metric derived from Xero. Most organisations configure tracking categories for department and region or cost centre, and KPI Tree respects those slices whether the data comes through the MCP reports or through warehouse tables. Revenue, gross profit, operating expenses, and budget variance all decompose along whichever tracking categories your Xero organisation has set up.
Yes. Define budget targets as metrics and track actuals against them at the account, department, or tracking category level. KPI Tree's period comparison and statistical monitoring alert the metric owner when actual numbers deviate from budget by more than the expected variance, so variance reviews happen in real time rather than at month-end.
If you go through MCP, connecting KPI Tree takes minutes: install the Xero MCP server, authorise against your organisation, and KPI Tree starts pulling metrics. If your Xero data is already in a warehouse, connecting KPI Tree also takes under an hour, and teams with a dbt semantic layer can sync Xero-derived metrics in one click. If you do not yet have a warehouse or an ELT pipeline, our professional services engagement typically takes a few weeks end-to-end and delivers a production data foundation plus the dbt models for invoices, bills, bank transactions, and tracking categories.
No. Xero handles bookkeeping, invoicing, bill payment, bank reconciliation, payroll, and statutory reporting, and Just Ask Xero (JAX) provides a conversational layer over that data for in-product lookups and actions. KPI Tree serves a different purpose: modelling how financial metrics causally relate to each other and to business outcomes, assigning ownership, and creating accountability across every tool your team uses. Most teams use both.
Yes. That is one of the core advantages. A single metric tree can include Xero revenue and expense data alongside Stripe or Chargebee subscription metrics, Ramp spend, and Salesforce or HubSpot pipeline. KPI Tree's correlation engine analyses relationships across all sources, showing how pipeline generated this quarter turned into invoices, revenue recognised, and cash collected.
Yes. When you connect through MCP, the Xero MCP server runs with the OAuth scopes you grant it and KPI Tree only requests the read tools needed for the metrics you configure. When you connect through a warehouse, KPI Tree reads tables the warehouse already exposes, so your warehouse security model - key-pair authentication, service accounts, network policies, row-level security - remains fully enforced. KPI Tree queries aggregated metric values, not individual invoice or bill details, and never sees bank credentials or private account numbers.
No. Through MCP, you get Xero metrics with no modelling layer at all. Through a warehouse, you can define metrics directly with SQL against your Xero tables. If you already use dbt to model your financial data, KPI Tree can sync those metric definitions automatically via the dbt Cloud or dbt Core integration, keeping a single source of truth between your finance modelling layer and your metric trees.

Your accounting data should drive decisions, not just close the month.

Connect Xero through MCP or your warehouse, and turn revenue, expense, and cash flow data into causal metric trees with ownership, statistical analysis, and accountability that connects finance to every other part of the business.

Experience That Matters

Built by a team that's been in your shoes

Our team brings deep experience from leading Data, Growth and People teams at some of the fastest growing scaleups in Europe through to IPO and beyond. We've faced the same challenges you're facing now.

Checkout.com
Planet
UK Government
Travelex
BT
Sainsbury's
Goldman Sachs
Dojo
Redpin
Farfetch
Just Eat for Business