-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import budgets #49
Comments
Thanks for this. It sounds like we'd be adding a new stream and some special handling based on the documentation: Based on what I read, it looks like this works on a monthly basis. Given a start date of 01-01-2015, what we'd want to do is make one request for every month between then and now? Is that correct? |
I believe you can do Month = 2015-01-01 And get a whole year of monthly data You could start from a date given by the user (in Stitch this is a config option) but you’d also need an end date, which might be the future. If you wanted to autoset it you could do, say, 18 months in the future (which means that a year’s budget could be loaded up to 6 months in advance), or you could keep querying until you get blank results (assuming that most users will fill out continuous budgets, which seems reasonable) Strictly, Xero has support for multiple budgets, but I don’t see how this links to the API, so presumably just the default budget will come through |
Any movement on this? |
The budget data from Xero would be an invaluable thing to pull into a data warehouse for analytical purposes.
It looks like you can access it with this report:
https://developer.xero.com/documentation/api/reports#BudgetSummary
The text was updated successfully, but these errors were encountered: