Skip to main content

Peliqan

Xero

Analyze spending by category

SQL query for Xero

Get total spending by category from the Accounts table.

SELECT category, SUM(amount) AS total_spending FROM Accounts GROUP BY category

Xero data model

Xero
Accounts

Xero
Contacts

Xero
Credit Notes

Xero
Invoices

Xero
Items

Xero
Journals

Xero
Manual Journals

Xero
Payments

Xero
Payment Services

Xero
Purchase Orders

Ready to get instant access to all your company data ?​

Connect 300+ sources, serve any BI tool, and give every AI agent one governed endpoint to read, and write back where the app supports it.