Attributes
ID of the Business the profit and loss report was generated for.
Resource type. Value will be “Profit_And_Loss”
Start date for data included in the report.
End date for data included in the report.
A Line Item object representing the cost of goods sold line items in the report.
Gross profit in cents. Calculated by subtracting total cost_of_sales line items from total income line items.
Net profit before taxes in cents. Calculated by subtracting total expenses line items from gross_profit.
Net profit in cents. Calculated by subtracting total taxes line items from profit_before_taxes
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.
A Line Item object representing business outflow transactions that are not part of the profit and loss statement.
A Line Item object representing personal expense transactions that are not part of the profit and loss statement.
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 name for the line item. Ex. “REVENUE”
Display name for the line item. Ex. “Revenue”
The value of the line item in cents.
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.