Fetch P&L line items
Returns detailed line item information for a specific P&L account or category over a specified time period.
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 P&L line items for.
Query Parameters
Start date for the line item report (ISO 8601 format).
End date for the line item report (ISO 8601 format).
Name of the specific line item to fetch details for.
Accounting basis for the report.
ACCRUAL, CASH P&L structure template to use.
Response
P&L line item detail report.
Detailed report for a specific P&L line item showing all ledger entries that contribute to it.
UUID of the business for this report.
"550e8400-e29b-41d4-a716-446655440000"
Start date of the report period (ISO 8601 timestamp).
"2024-01-01T00:00:00Z"
End date of the report period (ISO 8601 timestamp).
"2024-12-31T23:59:59.999Z"
Internal name of the P&L structure line item.
"operating_expenses"
Display-friendly name of the P&L structure line item.
"Operating Expenses"
ACCRUAL, CASH List of ledger line items that contribute to this P&L line item.
Optional P&L template structure used for this report.
DEFAULT, TRUCKING, MEDSPA, MEDSPA_NO_LICENSING, CITRUS, CITRUS_NO_LICENSING, FLORIST Optional tag filter applied to this report.