Skip to main content
Question

Xero Trial balance query into Excel

  • December 11, 2025
  • 1 reply
  • 25 views

Can you pull a trial balance into excel which will included historic month end balances. the standard trial balance query only seems to pull in the current trial balance as reflecting in xero.

This topic has been closed for replies.

1 reply

Forum|alt.badge.img+1
  • Employee
  • December 15, 2025

Hello,

The TrialBalance view in the CData Xero Excel Add-In returns a snapshot of the trial balance as of a specific date, not a rolling or historical series by default. The Date pseudo-column represents the “As of Date” for the trial balance. By default, if no date is specified, Xero returns the current trial balance.

You can explicitly set this “As of Date” to pull a month-end (or any point-in-time) trial balance. For example, the query below returns the trial balance as of January 1, 2025:

SELECT * FROM TrialBalance WHERE Date='2025-01-01'

Documentation for the TrialBalance view: https://cdn.cdata.com/help/DXM/xls/pg_accountingtable-trialbalance.htm

If you have any issues or further questions, I would suggest opening a ticket with our support team here.