Download Inventory report

GET /reports/inspections/:id/download

Download one Inventory report as an XLSX document. The technical API path uses inspections.

Path parameters

  • id: The created timestamp of the Inspection you want to export.

Parameters

All query parameters are optional.

  • group_by: Defines how the items in the report should be grouped. One of "category" or "account_code".
  • lang: Excel language, "en" or "de". Defaults to "de".
  • supplier: Numeric supplier ID to limit the exported Items. Defaults to all suppliers.
  • timezone_offset: Local time zone offset for displayed dates and times. Defaults to 0 (UTC).

Status codes

  • 200 on success
  • 404 if the inspection was not found

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-inventory-report.xlsx"
}

The report is generated fresh every time you request it.