Skip to content

Skill: Profit & Loss Report

The Profit & Loss Report skill retrieves a profit and loss (income statement) report from QuickBooks Online. Agents use this skill when users ask about revenue, expenses, net income, or overall financial performance for a given period.

ParameterTypeRequiredDescription
start_datestringNoStart of the reporting period in YYYY-MM-DD format. Defaults to the beginning of the current fiscal year if not provided.
end_datestringNoEnd of the reporting period in YYYY-MM-DD format. Defaults to today if not provided.
accounting_methodstringNoEither Accrual or Cash. Defaults to the company’s QuickBooks preference.
date_macrostringNoA predefined date range shortcut that overrides start_date and end_date. Examples: This Fiscal Year, Last Month, This Quarter, Last Fiscal Year, This Month.
summarize_column_bystringNoHow to group columns in the report. Options: Total, Month, Week, Days, Quarter, Year, Customers, Vendors, Classes, Departments, Products/Services. Defaults to Total.

A user might trigger this skill by saying:

“Show me the profit and loss report for January through March, using accrual accounting, broken down by month.”

The agent would invoke this skill with:

  • start_date: 2026-01-01
  • end_date: 2026-03-31
  • accounting_method: Accrual
  • summarize_column_by: Month

The skill returns the full P&L structure including income categories, cost of goods sold, gross profit, operating expenses, and net income. The agent then formats this data into a readable summary for the user.

The skill returns the QuickBooks report structure including:

  • Income — broken down by income account categories.
  • Cost of Goods Sold — direct costs associated with revenue.
  • Gross Profit — income minus COGS.
  • Expenses — broken down by expense account categories.
  • Net Operating Income — gross profit minus operating expenses.
  • Net Income — the bottom-line figure after all income and expenses.

When summarize_column_by is set to anything other than Total, each section includes columnar data for the specified grouping.

POST /api/quickbooks/v1.0/profit-and-loss-report


Related skills: Sales by Customer Report | Sales by Product Report | Sales by Department Report