Expense Line Submit

Expenselinesubmit

Parameter

Type

I/O

Description

IN

Parameters described in Overview

Company

String

IN

The users default company number for the companies list

Action

String

IN

Identifier for the list requested

Input

String

IN

Expense line internal number

Response

XML / JSON

OUT

An 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
}