GET /Reports/ProfitAndLoss

Servers

Request headers

Name Type Required Description
xero-tenant-id String Yes

Xero identifier for Tenant

Query parameters

Name Type Required Description
toDate String No

filter by the to date of the report e.g. 2021-02-28

trackingOptionID String No

The tracking option 1 for the ProfitAndLoss report

trackingCategoryID2 String No

The trackingCategory 2 for the ProfitAndLoss report

timeframe String No

The period size to compare to (MONTH, QUARTER, YEAR)

Possible values:

  • "MONTH"
  • "QUARTER"
  • "YEAR"
trackingCategoryID String No

The trackingCategory 1 for the ProfitAndLoss report

standardLayout Boolean No

Return the standard layout for the ProfitAndLoss report

paymentsOnly Boolean No

Return cash only basis for the ProfitAndLoss report

fromDate String No

filter by the from date of the report e.g. 2021-02-01

trackingOptionID2 String No

The tracking option 2 for the ProfitAndLoss report

periods Integer No

The number of periods to compare (integer between 1 and 12)

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.