Download Stock Report

GET /reports/stock/download

You can download the stock report as an excel file.

Parameters

All query parameters are optional.

  • division: id of division (location) to filter for
  • area: id of area to filter for
  • group_by: Group by "category" or "account_code". Defaults to "category".
  • lang: Excel language, "de" or "en". Defaults to "de".
  • timezone_offset: Local time zone offset used for displayed dates and times. Defaults to 0 (UTC).

Status codes

  • 200 on success

Response properties

The response contains a temporary URL for the generated XLSX file.

  • url: Retrieve the file with GET before the URL expires. A HEAD request may be rejected because the URL is signed for GET.

Example response:

{
  "url": "https://example.com/temporary-stock-report.xlsx"
}

The report is generated fresh every time you request it.