Attributes
string
ID of the Business the profit and loss report was generated for.
string
Resource type. Value will be “Profit_And_Loss”
ISO8601 timestamp
Start date for data included in the report.
ISO8601 timestamp
End date for data included in the report.
integer
Gross profit in cents. Calculated by subtracting total cost_of_sales line items from total income line items.
integer
Net profit before taxes in cents. Calculated by subtracting total expenses line items from gross_profit.
integer
Net profit in cents. Calculated by subtracting total taxes line items from profit_before_taxes
array of Line Item objects
An optional array of Line Item objects representing additional line items below the net profit line in the report. This will be used when alternative P&L structures and groupings have been configured.
Line Item object
A Line Item object representing business outflow transactions that are not part of the profit and loss statement.
Line Item object
A Line Item object representing personal expense transactions that are not part of the profit and loss statement.
boolean
A boolean representing whether all imported transactions within the report date range have been categorized. If FALSE, there are uncategorized transactions within the selected date range, indicating the provided report data may be incomplete.
Line Item object
enum
Enum name for the line item. Ex. “REVENUE”
string
Display name for the line item. Ex. “Revenue”
integer
The value of the line item in cents.
array of Line Item objects
An array of Line Item objects representing child line items within the report section.
Ledger Entry Source Object
TheLedgerEntrySource represents the source of a ledger entry. This is a polymorphic type that can be any of the following:
- Transaction Ledger Entry Source: Represents entries originating from bank transactions.
- Invoice Ledger Entry Source: Represents entries related to specific invoices.
- Invoice Write-Off Ledger Entry Source: Details entries for write-offs associated with invoices.
- Manual Ledger Entry Source: Represents manually created ledger entries.
- Invoice Payment Ledger Entry Source: Represents payments made against invoices.
- Refund Ledger Entry Source: Represents refund transactions.
- Opening Balance Ledger Entry Source: Used to represent the initial balances when setting up accounts.
- Payout Ledger Entry Source: Represents payouts processed through external payment processors.