QuickBooks · Schema
profitandlossdetailquery
AccountingBookkeepingSmall BusinessFinanceInvoicingPayrollTax
Properties
| Name | Type | Description |
|---|---|---|
| customer | string | Filters report contents to include information for specified customers. Supported Values: One or more comma separated customer IDs as returned in the attribute, Customer.Id, of the Customer object res |
| account | string | (source_account_type) Filters report contents to include information for specified accounts. Supported Values: One or more comma separated account IDs as returned in the attribute, Account.Id, of the |
| accounting_method | string | The accounting method used in the report. Supported Values:Cash, Accrual |
| end_date | string | The 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 r |
| date_macro | string | Predefined 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, Yes |
| adjusted_gain_loss | string | Specifies whether unrealized gain and losses are included in the report. Supported Values: true, false |
| class | string | Filters report contents to include information for specified classes if so configured in the company file. Supported Values: One or more comma separated class IDs as returned in the attribute, Class.I |
| sort_by | string | The column type used in sorting report rows. Specify a column type as defined with the columns query parameter. |
| payment_method | string | Filters report contents based on payment method. Supported Values: Cash, Check, Dinners Club, American Express, Discover, MasterCard, Visa |
| sort_order | string | The sort order. Supported Values: ascend, descend |
| employee | string | Filters report contents to include information for specified employees. Supported Values: One or more comma separated account IDs as returned in the attribute, Employee.Id, of the Employee entity resp |
| department | string | Filters report contents to include information for specified departments if so configured in the company file. Supported Values: One or more comma separated department IDs as returned in the attribute |
| vendor | string | Filters report contents to include information for specified vendors. Supported Values: One or more comma separated vendor IDs as returned in the attribute, Vendor.Id, of the Vendor object response co |
| account_type | string | Account type from which transactions are included in the report. Supported Values: AccountsPayable, AccountsReceivable, Bank, CostOfGoodsSold, CreditCard, Equity, Expense, FixedAsset, Income, LongTerm |
| start_date | string | The 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 |
| columns | string | Column types to be shown in the report. Supported Values: create_by, create_date, doc_num*, last_mod_by, last_mod_date, memo*, name*, pmt_mthd, split_acc*, tx_date*, txn_type* Additional columns with |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/quickbooks/json-schema/quickbooks-profitandlossdetailquery-schema.json",
"title": "profitandlossdetailquery",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/quickbooks-profitandlossdetail-api-openapi.yml#/components/schemas/profitandlossdetailquery",
"type": "object",
"properties": {
"customer": {
"type": "string",
"description": "Filters report contents to include information for specified customers.\nSupported Values: One or more comma separated customer IDs as returned in the attribute, Customer.Id, of the Customer object response code.",
"x-intuit-required": "Optional",
"x-intuit-default": "Include data for all customers"
},
"account": {
"type": "string",
"description": "(source_account_type) Filters report contents to include information for specified accounts. \nSupported Values: One or more comma separated account IDs as returned in the attribute, Account.Id, of the Account object response code.",
"x-intuit-required": "Optional",
"x-intuit-default": "Data for all account types"
},
"accounting_method": {
"type": "string",
"description": "The accounting method used in the report. Supported Values:Cash, Accrual",
"x-intuit-required": "Optional",
"x-intuit-default": "Method defined in prefrences by the <span class=\"literal\">Preferences.ReportPrefs.ReportBasis</span> attribute"
},
"end_date": {
"type": "string",
"description": "The 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",
"x-intuit-required": "Optional"
},
"date_macro": {
"type": "string",
"description": "Predefined 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.\nSupported 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",
"x-intuit-required": "Optional",
"x-intuit-default": "This Fiscal Year-to-date"
},
"adjusted_gain_loss": {
"type": "string",
"description": "Specifies whether unrealized gain and losses are included in the report.\nSupported Values: true, false",
"x-intuit-required": "Optional",
"x-intuit-default": "<span class=\"literal\">false</span>"
},
"class": {
"type": "string",
"description": "Filters report contents to include information for specified classes if so configured in the company file.\nSupported Values: One or more comma separated class IDs as returned in the attribute, Class.Id, of the Class entity response code.",
"x-intuit-required": "Optional",
"x-intuit-default": "Include data for all classes"
},
"sort_by": {
"type": "string",
"description": "The column type used in sorting report rows. Specify a column type as defined with the columns query parameter.",
"x-intuit-required": "Optional",
"x-intuit-default": "<span class=\"literal\">txn_type</span>"
},
"payment_method": {
"type": "string",
"description": "Filters report contents based on payment method.\nSupported Values: Cash, Check, Dinners Club, American Express, Discover, MasterCard, Visa",
"x-intuit-required": "Optional",
"x-intuit-default": "Default includes information for all payment methods"
},
"sort_order": {
"type": "string",
"description": "The sort order.\nSupported Values: ascend, descend",
"x-intuit-required": "Optional",
"x-intuit-default": "<span class=\"literal\">ascend</span>"
},
"employee": {
"type": "string",
"description": "Filters report contents to include information for specified employees.\nSupported Values: One or more comma separated account IDs as returned in the attribute, Employee.Id, of the Employee entity response code.",
"x-intuit-required": "Optional",
"x-intuit-default": "Include data for all employees"
},
"department": {
"type": "string",
"description": "Filters report contents to include information for specified departments if so configured in the company file.\nSupported Values: One or more comma separated department IDs as returned in the attribute, Department.Id of the Department object response code.",
"x-intuit-required": "Optional",
"x-intuit-default": "Include data for all departments"
},
"vendor": {
"type": "string",
"description": "Filters report contents to include information for specified vendors.\nSupported Values: One or more comma separated vendor IDs as returned in the attribute, Vendor.Id, of the Vendor object response code.",
"x-intuit-required": "Optional",
"x-intuit-default": "Return data for all vendors"
},
"account_type": {
"type": "string",
"description": "Account type from which transactions are included in the report.\nSupported Values: AccountsPayable, AccountsReceivable, Bank, CostOfGoodsSold, CreditCard, Equity, Expense, FixedAsset, Income, LongTermLiability, NonPosting, OtherAsset, OtherCurrentAsset, OtherCurrentLiability, OtherExpense, OtherIncome",
"x-intuit-required": "Optional",
"x-intuit-default": "All account types"
},
"start_date": {
"type": "string",
"description": "The 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",
"x-intuit-required": "Optional"
},
"columns": {
"type": "string",
"description": "Column types to be shown in the report.\nSupported Values: create_by, create_date, doc_num*, last_mod_by, last_mod_date, memo*, name*, pmt_mthd, split_acc*, tx_date*, txn_type* \n Additional columns with tax enabled: tax_code \n Additional columns with class tracking enabled: klass_name* \n Additional columns with location tracking enabled: dept_name* Multicurrency is enabled for the company if Preferences.MultiCurrencyEnabled is set to true. Read more about multicurrency support here. \nNonTracking status is enabled for the company if CompanyInfo.NameValue.Name.NonTracking is set to true. Currently enabled for Canadian company, other locales can be added in the future.",
"x-intuit-required": "Optional",
"x-intuit-default": "columns denoted with *"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/quickbooks-profitandlossdetailquery"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.