We want to create expense reports using Expense API and Expense Approval Status in Approved
Summary:
We want to create expense report using expenses API. And create these expense report in approved status. All the expense are getting created in "ExpenseStatusCode": "PEND_MGR_APPROVAL", status. We have tried passing the following statuses for
- "ExpenseStatusCode":"APPROVED",
- "ExpenseStatusCode":"APPROVAL_COMPLETE",
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
The request payload is uploaded and also reproduced below.
{
"PersonId":"300000025893618",
"ReimbursementCurrencyCode": "ZAR",
"ExpenseReportTotal":"100",
"Purpose":"Travel",
"ExpenseStatusCode":"APPROVED",
"SubmitReport": "Y",
"Expense": [
{
"ExpenseTemplate": "GMS Expenses",
"ExpenseType":"Stationery",
"ReceiptAmount": 100,
"ReceiptCurrencyCode": "ZAR",