how to add expense items via API — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

how to add expense items via API

edited Mar 20, 2025 8:54PM in Expenses 3 comments

Hello everyone, i've been checking oracle API Documentation for creating expenses and ive seen that i can add expense records for an existing expense report via PI, but the example the documentation gives is not working
the sevice is:

https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenseReports/{expensereportID}/child/Expense

when i use the example format
{

"Expense": [
{
"ExpenseTemplate": "Travel",
"ExpenseType": "Car Rental",
"ReceiptAmount": 134,
"ReceiptCurrencyCode": "USD",
"ReimbursableAmount": 134,
"Location": "United States",
"Description":"JKK",
"ReimbursementCurrencyCode": "USD"
}
]
}

i get Invalid attribute "Expense" in the payload. error

is there a way to add many expenses records to an existing expense book in a single request?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!