Expense Line Submit

Expenselinesubmit

ParameterTypeI/ODescription
INParameters described in Overview
CompanyStringINThe users default company number for the companies list
ActionStringINIdentifier for the list requested
InputStringINExpense line internal number
ResponseXML / JSONOUTAn XML tree / JSON string containing the success or error response

Description

Calling the expenses API with an action of expenselinesubmit retrieves a response. Submits a line where the parent sheet has a status of submitted. The current status of the line can be approved, rejected, held, or rejected.

Return Values

Response – Success or error response.

The structure of the response is:

<Responses>
  <Success>
  	<SuccessText>Expense line submitted.</SuccessText>
  </Success>
</Responses>
{
    "errormessage": "",
    "responsecode": 1,
    "responsestatus": "OK",
    "success": true,
    "responsemessage": "Expense line submitted.",
    "errorcode": 0
}