Fetch P&L report
Returns a detailed profit and loss report for a specified time period. This endpoint provides comprehensive financial data including revenue, expenses, and net income calculations.
Documentation Index
Fetch the complete documentation index at: https://docs.layerfi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Content-Type must be set to application/json.
Path Parameters
The UUID of the business to fetch the profit and loss for.
Query Parameters
Start date for the P&L report (ISO 8601 format).
End date for the P&L report (ISO 8601 format).
Accounting basis for the report.
ACCRUAL, CASH P&L structure template to use.
Filter results by tags.
When true (default), uncategorized transactions that have a suggested transfer match are excluded from the uncategorized inflows and outflows totals. Set to false to include those transactions in the uncategorized totals.
Response
Profit and loss report data.
Start date of the P&L period.
End date of the P&L period.
Accounting basis used for the report.
ACCRUAL, CASH P&L line items.
Total revenue in cents.
Total expenses in cents.
Net income in cents.