Get profit and loss report
Retrieve a Profit and Loss report for a business within a date range.
Important: Both posted and draft journal entries are included in the calculations.
Summary metrics returned:
- net_revenue_cents: Sum of Revenue subtype accounts
- total_operating_income_cents: Net revenue + Other Operating Income
- gross_profit_cents: Total operating income - Direct Costs
- operating_profit_cents: Gross profit - Operating Expenses
- profit_before_tax_cents: Operating profit + Finance Income - Finance Costs
- net_profit_cents: Profit before tax - Income Tax
Detail levels:
summary(default): Returns only summary metricsdetailed: Returns summary + line item breakdown by AccountSubtype
All values are in cents. Currency is the business’s base currency.
Documentation Index
Fetch the complete documentation index at: https://docs.thredfi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Partner-level JWT token (unscoped). Token payload includes partner_id. Business access is validated via partner ownership. Format: Bearer <your-jwt-token>
Use this for: Multi-business operations where the business_id is specified in the URL and partner has access to multiple businesses.
Path Parameters
Business UUID
Query Parameters
Level of detail: 'summary' or 'detailed'
detailed, summary Report period end date (YYYY-MM-DD)
Report period start date (YYYY-MM-DD)
Response
Business UUID
Report period start
Report period end
Business base currency
'summary' or 'detailed'
summary- summarydetailed- detailed
summary, detailed Calculated P&L totals
Grouped accounts by AccountSubtype.
- display_name: From AccountSubtype.label
- total_cents: Sum of all line items
- line_items: Individual accounts with this subtype
Grouped accounts by AccountSubtype.
- display_name: From AccountSubtype.label
- total_cents: Sum of all line items
- line_items: Individual accounts with this subtype
Grouped accounts by AccountSubtype.
- display_name: From AccountSubtype.label
- total_cents: Sum of all line items
- line_items: Individual accounts with this subtype
Grouped accounts by AccountSubtype.
- display_name: From AccountSubtype.label
- total_cents: Sum of all line items
- line_items: Individual accounts with this subtype
Grouped accounts by AccountSubtype.
- display_name: From AccountSubtype.label
- total_cents: Sum of all line items
- line_items: Individual accounts with this subtype
Grouped accounts by AccountSubtype.
- display_name: From AccountSubtype.label
- total_cents: Sum of all line items
- line_items: Individual accounts with this subtype
Grouped accounts by AccountSubtype.
- display_name: From AccountSubtype.label
- total_cents: Sum of all line items
- line_items: Individual accounts with this subtype