Skip to content

QuickBooks: Query a report — trialbalance query Variant0 Fr — request body — query

Query a report — trialbalance.queryVariant0Fr: request body, field query. Complete fields and constraints for contract 2026-10-20.

API reference · Contract 2026-10-20

SDK schema: Query a report — trialbalance query Variant0 Fr — request body — query

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
accounting_methodstringOptionalThe accounting method used in the report. Supported Values: Cash , Accrual
date_macrostringOptionalPredefined date range. Use if you want the report to cover a standard report date range; otherwise, use the start_date and end_date to cover an explicit report date range. Supported Values: Today, Yesterday, This Week, Last Week, This Week-to-date, Last Week-to-date, Next Week, Next 4 Weeks, This Month, Last Month, This Month-to-date, Last Month-to-date, Next Month, This Fiscal Quarter, Last Fiscal Quarter, This Fiscal Quarter-to-date, Last Fiscal Quarter-to-date, Next Fiscal Quarter, This Fiscal Year, Last Fiscal Year, This Fiscal Year-to-date, Last Fiscal Year-to-date, Next Fiscal Year
end_datestringOptionalThe end date of the report, in the format YYYY-MM-DD . start_date must be less than end_date . Use if you want the report to cover an explicit date range; otherwise, use date_macro to cover a standard report date range. If not specified value of date_macro is used
sort_orderstringOptionalThe sort order. Supported Values: ascend , descend
start_datestringOptionalThe start date of the report, in the format YYYY-MM-DD . start_date must be less than end_date . Use if you want the report to cover an explicit date range; otherwise, use date_macro to cover a standard report date range. If not specified value of date_macro is used
summarize_column_bystringOptionalThe criteria by which to group the report results. Supported Values: Total, Month, Week, Days, Quarter, Year, Customers, Vendors, Classes, Departments, Employees, ProductsAndServices
minorversionintegerOptionalMust equal: 75
requestidstringOptionalMinimum length: 1

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.