Statistics
Turnover over a period, compared with the same period one year earlier and with the period of equal length immediately before it
Changed onget/v1/statistics/turnovercomparison
Request
- Base URLhttps://api.altoviz.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
fromstring date
First day of the period. Combined with to, takes precedence over year.
tostring date
Last day of the period, included
yearinteger
Shorthand for a whole calendar year (defaults to the current one). Ignored when a range is given.
expensesboolean
Purchases instead of sales
paidboolean
Count what was actually settled (encaissements) instead of what was invoiced. Always applied for a micro-business, which is taxed on its encaissements — check company.isMicroBusiness in the settings before choosing.
Response
OK
Changes
- info
endpoint added
- info