GET /Reports/ProfitAndLoss
Servers
- https://api.xero.com/api.xro/2.0
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:
|
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
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.