accounting
profitloss

List all profitlosses

get/accounting/{connection_id}/profitloss

Path parameters

connection_idstring required

ID of the connection

Query parameters

limitnumber
offsetnumber
updated_gtestring

Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

sortstring
orderstring
querystring

Query string to search. eg. email address or name

start_gtestring

The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

end_ltstring

The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

category_idstring

The category ID to filter by (reference to AccountingCategory)

contact_idstring

The contact ID to filter by (reference to AccountingContact)

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Response

Successful

idstring
created_atstring date-time
updated_atstring date-time
category_idsstring[]
start_atstring date-time
end_atstring date-time
namestring
currencystring
income_total_amountnumber
net_income_amountnumber
expenses_total_amountnumber
cost_of_goods_sold_total_amountnumber
rawobject

Changes

Changed in 1 of the 34 revisions of this API.55

    • ▲

      removed the enum value cost_of_goods_sold from the property items/ of the query request parameter fields

      request-parameter-property-enum-value-removed

    • ▲

      removed the enum value expenses from the property items/ of the query request parameter fields

      request-parameter-property-enum-value-removed

    • ▲

      removed the enum value gross_profit_amount from the property items/ of the query request parameter fields

      request-parameter-property-enum-value-removed

    • ▲

      removed the enum value income from the property items/ of the query request parameter fields

      request-parameter-property-enum-value-removed

    • ▲

      removed the enum value net_profit_amount from the property items/ of the query request parameter fields

      request-parameter-property-enum-value-removed

    • ●

      removed the optional property / from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property / from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property / from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property / from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property / from the response with the status

      response-optional-property-removed

    This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog