Allows you to retrieve report for Budget Summary
GET {{baseUrl}}/Reports/BudgetSummary?date=<date>&period=<integer>&timeframe=<integer>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
date | string | The date for the Bank Summary report e.g. 2018-03-31 | |
period | string | The number of periods to compare (integer between 1 and 12) | |
timeframe | string | The period size to compare to (1=month, 3=quarter, 12=year) |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
xero-tenant-id | string | (Required) Xero identifier for Tenant |
RESPONSES
status: OK
{"Id":"9f1e2722-0d98-4669-890f-f8f4217c968b","Status":"OK","ProviderName":"provider-name","DateTimeUTC":"/Date(1573755037865)/","Reports":[{"ReportID":"BudgetSummary","ReportName":"Budget Summary","ReportType":"BudgetSummary","ReportTitles":["Overall Budget","Budget Summary","Online Test 11","November 2019 to October 2022"],"ReportDate":"14 November 2019","UpdatedDateUTC":"/Date(1573755037865)/","Fields":[],"Rows":[{"RowType":"Header","Cells":[{"Value":"Account"},{"Value":"Jan-20"},{"Value":"Apr-20"},{"Value":"Jul-20"},{"Value":"Oct-20"},{"Value":"Jan-21"},{"Value":"Apr-21"},{"Value":"Jul-21"},{"Value":"Oct-21"},{"Value":"Jan-22"},{"Value":"Apr-22"},{"Value":"Jul-22"},{"Value":"Oct-22"}]},{"RowType":"Section","Title":"","Rows":[{"RowType":"SummaryRow","Cells":[{"Value":"Gross Profit"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"}]}]},{"RowType":"Section","Title":"","Rows":[{"RowType":"SummaryRow","Cells":[{"Value":"Total Expenses"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"}]}]},{"RowType":"Section","Title":"","Rows":[{"RowType":"SummaryRow","Cells":[{"Value":"Net Profit"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"},{"Value":"0.00"}]}]}]}]}