Skip to content

ProfitAndLossSummary

Returns a Profit and Loss Summary.

Released
Updated
URLSupports
/{cf_uri}/Report/ProfitAndLossSummary
GET
The following query is required for the above URL: ?StartDate={start_date}&EndDate={end_date}&ReportingBasis={reporting_basis}&YearEndAdjust={year_end_adjust} The {start_date} is the date that you would like to start at. The {end_date} is the date of the end of the period. The {reporting_basis} will either be Cash or Accrual. The {year_end_adjust} stats if you are including Year end Adjustments. This is a true or false value.

Attribute Details

Paging: default page size is set to 400 with a maximum of 1000 results.

AttributeTypeNotes
StartDateDateTimeStarting date of the period, format YYYY-MM-DD HH:MM:SS { 'StartDate': '2018-07-01 00:00:00' }
EndDateDateTimeEnding date of the period, format YYYY-MM-DD HH:MM:SS { 'EndDate': '2018-09-30 00:00:00' }
ReportingBasisStringReporting basis for the report. This will either be Cash or Accrual.
YearEndAdjustBooleanShows if the Year end Addjustments are included. This will either be True or False.
AccountsBreakdownarrayThe breakdown of the Accounts for the specific date range
AccountsBreakdown.AccountTotalDecimalTotal Amount for the Account for the given date range
AccountsBreakdown.AccountobjectThe following set of information pulls through details for an Account
AccountsBreakdown.Account.UIDGuid (36)Foreign Key : Unique identifier for the account in the form of a guid.
AccountsBreakdown.Account.NameString (30)Account name belonging to the account record.
AccountsBreakdown.Account.DisplayIDString (6)Account code format includes separator ie 1-1100 { 'DisplayID': '4-1100' }
AccountsBreakdown.Account.URIStringUniform resource identifier associated with the account object.
AccountsBreakdown.URIStringUniform resource identifier encompasses all types of names and addresses that refer to objects on the web.

Example json GET response

Example

json
{
  "StartDate": "2018-07-01T00:00:00",
  "EndDate": "2018-09-30T23:59:59",
  "ReportingBasis": "Cash",
  "YearEndAdjust": "true"
}

The {cf_uri} is provided by the businessId parameter as described here.