Expense Sheet Return Single

Returns a sheet if it has issues and cannot be approved.

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaexpensesheets.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.7v3.7 Overview
ActionYesThe action to performaction=expensesheetreturn
IdentifierYesExpense sheet ID or UUIDexpensesheet=1234

If the sheet is Approved (A), the sheet status gets set to Submitted (S). If the sheet is not Approved the sheet gets set to Returned (T). Lines retain their original statuses.

Example request:

http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.7&action=expensesheetreturn&expensesheet=1234

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "Expense sheet returned.",
  "warningmessage": "",
  "success": true
}