Magidoc

getProfitLossReport
Query

Profit and loss statement over a required period, with optional columns and comparison buckets. When comparison dates are omitted, the server derives them from compareTo. glCompanyId names the books the statement covers, on the same terms as the trial balance: a company the reader may not open is refused by name, and the unnamed whole-workspace statement is admitted only to a reader who holds every company. Cash basis takes a company on the same terms: its recognized figures are the settled document's own posted lines, and the unapplied cash that has no line is kept with the receipt or vendor payment whose books took it in.

Arguments

#

workspaceId

ID !
Non-null

startDate

Non-null

endDate

Non-null

comparisonStartDate

comparisonEndDate

columnsBy = "total"

compareTo = "none"

accountingMethod

hideZeroRows = true

lineFilter

Narrows the lines behind the figures by dimension member, project and counterparty.

dimensionIds

[ID !]

entityIds

[ID !]

glCompanyId

Response

#

Returns ProfitLossReport !.

Example

#