Allows you to retrieve report for ProfitAndLoss

GET {{baseUrl}}/Reports/ProfitAndLoss?fromDate=<date>&toDate=<date>&periods=<integer>&timeframe=<string>&trackingCategoryID=<string>&trackingCategoryID2=<string>&trackingOptionID=<string>&trackingOptionID2=<string>&standardLayout=<boolean>&paymentsOnly=<boolean>

Request Params

KeyDatatypeRequiredDescription
fromDatestringThe from date for the ProfitAndLoss report e.g. 2018-03-31
toDatestringThe to date for the ProfitAndLoss report e.g. 2018-03-31
periodsstringThe number of periods to compare (integer between 1 and 12)
timeframestringThe period size to compare to (MONTH, QUARTER, YEAR)
trackingCategoryIDstringThe trackingCategory 1 for the ProfitAndLoss report
trackingCategoryID2stringThe trackingCategory 2 for the ProfitAndLoss report
trackingOptionIDstringThe tracking option 1 for the ProfitAndLoss report
trackingOptionID2stringThe tracking option 2 for the ProfitAndLoss report
standardLayoutstringReturn the standard layout for the ProfitAndLoss report
paymentsOnlystringReturn cash only basis for the ProfitAndLoss report

HEADERS

KeyDatatypeRequiredDescription
xero-tenant-idstring(Required) Xero identifier for Tenant

RESPONSES

status: OK

{&quot;Reports&quot;:[{&quot;ReportID&quot;:&quot;anim sint magna&quot;,&quot;ReportName&quot;:&quot;nostrud id&quot;,&quot;ReportTitle&quot;:&quot;veniam sint laborum irure&quot;,&quot;ReportType&quot;:&quot;reprehenderit Excepteur&quot;,&quot;ReportTitles&quot;:[&quot;ut est pariatur&quot;,&quot;sunt ut sed minim&quot;],&quot;ReportDate&quot;:&quot;dolore&quot;,&quot;Rows&quot;:[{&quot;RowType&quot;:&quot;Section&quot;,&quot;Title&quot;:&quot;dolore proident in id&quot;,&quot;Cells&quot;:[{&quot;Value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Attributes&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;Value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Attributes&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;Rows&quot;:[{&quot;RowType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Title&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;RowType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Title&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]},{&quot;RowType&quot;:&quot;Section&quot;,&quot;Title&quot;:&quot;et dolor&quot;,&quot;Cells&quot;:[{&quot;Value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Attributes&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;Value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Attributes&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;Rows&quot;:[{&quot;RowType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Title&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;RowType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Title&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]}],&quot;UpdatedDateUTC&quot;:&quot;/Date(1573755038314)/&quot;,&quot;Fields&quot;:[{&quot;FieldID&quot;:&quot;ex ea&quot;,&quot;Description&quot;:&quot;mollit &quot;,&quot;Value&quot;:&quot;Excepteur ad nulla in&quot;},{&quot;FieldID&quot;:&quot;pariatur do amet&quot;,&quot;Description&quot;:&quot;eu qui Duis&quot;,&quot;Value&quot;:&quot;ut adipisicing tempor&quot;}]},{&quot;ReportID&quot;:&quot;exerc&quot;,&quot;ReportName&quot;:&quot;con&quot;,&quot;ReportTitle&quot;:&quot;est eu labore&quot;,&quot;ReportType&quot;:&quot;cons&quot;,&quot;ReportTitles&quot;:[&quot;ex amet eu ut&quot;,&quot;cillum Excepteur do voluptate&quot;],&quot;ReportDate&quot;:&quot;dolor anim nisi&quot;,&quot;Rows&quot;:[{&quot;RowType&quot;:&quot;Section&quot;,&quot;Title&quot;:&quot;in&quot;,&quot;Cells&quot;:[{&quot;Value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Attributes&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;Value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Attributes&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;Rows&quot;:[{&quot;RowType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Title&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;RowType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Title&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]},{&quot;RowType&quot;:&quot;Header&quot;,&quot;Title&quot;:&quot;eu exercitation elit&quot;,&quot;Cells&quot;:[{&quot;Value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Attributes&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;Value&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Attributes&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;Rows&quot;:[{&quot;RowType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Title&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;RowType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Title&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;Cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]}],&quot;UpdatedDateUTC&quot;:&quot;/Date(1573755038314)/&quot;,&quot;Fields&quot;:[{&quot;FieldID&quot;:&quot;sint veniam&quot;,&quot;Description&quot;:&quot;culp&quot;,&quot;Value&quot;:&quot;laborum in dolore&quot;},{&quot;FieldID&quot;:&quot;ad cillum ut ex&quot;,&quot;Description&quot;:&quot;officia&quot;,&quot;Value&quot;:&quot;veniam laborum consectetur proident dolore&quot;}]}]}