Expense Sheet Print (Create a file)

Downloads a document into the browser

Print an expense sheet

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaexpensesheets.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.7v3.7 Overview
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=expensesheetinputfile-2227
Expense sheetYesExpense sheet ID or UUIDexpensesheet=1234

Note: The number displayed after the action parameter is the internal ID of the requested HM reports layout used to build the document.
To find the available template IDs see Expense Sheet Print Templates

Example requests:

http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.7&company=1&action=expensesheetinputfile%20-2227&expensesheet=1234

Example response:

Downloads a PDF file to the browser