Expense Reports
expenseReports Based on 26C
Create, change and look up Expense Reports, with expense, expense payment and expense notes. Actions include apply cash advances and process WF action.
The record key expenseReportsUniqID is a generated hash. Take it from the record's links (rel self) in a GET response; never build it yourself.
Oracle documents an Effective-Of header and an effectiveDate parameter for this resource, used for date-effective reads and changes.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)7 actions
- Record key
expenseReportsUniqID- Required on create
OrgId- At a glance
- 47 fields3 finders15 children
- Extra parameters
?effectiveDate=Effective-Of:
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/expenseReports?fields=AssignmentId,AuditCode,AuditCodeName,AuditReturnReasonCode,BothpayFlag&limit=25&onlyData=true
{
"items": [
{
"AssignmentId": 0,
"AuditCode": "<string, max 30>",
"AuditCodeName": "<string, max 80>",
"AuditReturnReasonCode": "<string, max 30>",
"BothpayFlag": false
}
],
"count": 25,
"hasMore": true,
"limit": 25,
"offset": 0
}Shapes and placeholders, not real data. Replace https://<your-pod> and the login with your own: this site never sees them. Based on Oracle's 26C REST specification.
Fields 47
| Attribute | Type | Use |
|---|---|---|
AssignmentId | number | Optional on createUpdatableSearchable |
AuditCode | text · max 30 | Optional on createUpdatableSearchable |
AuditCodeName | text · max 80 | Read-onlySearchable |
AuditReturnReasonCode | text · max 30 | Optional on createUpdatableSearchable |
BothpayFlag | yes/no · max 1 | Optional on createUpdatableSearchable |
BusinessUnit | text · max 240 | Optional on createUpdatableSearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
CurrentApproverId | number | Optional on createUpdatableSearchable |
CurrentApprovers | text · max 2550 | Read-onlySearchable |
ExchangeRateType | text · max 30 | Optional on createUpdatableSearchable |
ExpenseReportDate | date | Optional on createUpdatableSearchable |
ExpenseReportId | number | Optional on createUpdatableSearchable |
ExpenseReportNumber | text · max 50 | Optional on createUpdatableSearchable |
ExpenseReportStatus | text · max 80 | Read-onlySearchable |
ExpenseReportTotal | number | Optional on createUpdatableSearchable |
ExpenseStatusCode | text · max 30 | Optional on createUpdatableSearchable |
ExpenseStatusDate | date | Optional on createUpdatableSearchable |
FinalApprovalDate | date | Optional on createUpdatableSearchable |
ImagedReceiptsReceivedDate | date | Optional on createUpdatableSearchable |
ImagedReceiptsStatus | text · max 80 | Read-onlySearchable |
ImagedReceiptsStatusCode | text · max 30 | Optional on createUpdatableSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdateLogin | text · max 32 | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
MatchExpenses | text | Optional on createUpdatable |
MissingImagesReason | text · max 80 | Optional on createUpdatableSearchable |
OrgId | number | Required on createUpdatableSearchable |
OriginalReceiptsStatus | text · max 80 | Read-onlySearchable |
OverrideApproverId | number | Optional on createUpdatableSearchable |
ParentExpenseReportId | number | Optional on createUpdatableSearchable |
PaymentMethodCode | text · max 120 | Optional on createUpdatableSearchable |
PersonId | number | Optional on createUpdatableSearchable |
PersonName | text · max 240 | Read-onlySearchable |
PreparerId | number | Optional on createUpdatableSearchable |
Purpose | text · max 240 | Optional on createUpdatableSearchable |
ReceiptsFilingNumber | text · max 240 | Optional on createUpdatableSearchable |
ReceiptsReceivedDate | date | Optional on createUpdatableSearchable |
ReceiptsStatusCode | text · max 30 | Optional on createUpdatableSearchable |
ReimbursementCurrencyCode | text · max 15 | Optional on createUpdatableSearchable |
ReportCreationMethodCode | text · max 30 | Optional on createUpdatableSearchable |
ReportSubmitDate | date | Optional on createUpdatableSearchable |
SubmitErrors | text | Optional on createUpdatable |
SubmitReport | text | Optional on createUpdatable |
TripId | number | Optional on createUpdatableSearchable |
UnappliedAdvancesJust | text · max 240 | Optional on createUpdatableSearchable |
UnappliedCashAdvReason | text · max 240 | Optional on createUpdatableSearchable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 3
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
bothpayReportsFinderfindByBusinessUnit·BusinessUnitshortpaidReportsFinder
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 15
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/expenseReports/{expenseReportsUniqID}/child/<name>. Add them to a GET with expand.
AttachmentsGET · POST · PATCH · DELETE Attachments · 32 fieldsAsyncTrackerIdAttachedDocumentIdCategoryNameContentRepositoryFileSharedCreatedByCreatedByUserNameCreationDateDatatypeCodeDescriptionDmDocumentIdDmFolderPathDmVersionNumberDownloadInfoErrorStatusCodeErrorStatusMessageExpirationDateFileContentsFileNameFileUrlFileWebImageLastUpdateDateLastUpdatedByLastUpdatedByUserNamePostProcessingActionTitleUploadedFileContentTypeUploadedFileLengthUploadedFileNameUploadedTextUriUrlUserNameExpenseGET · POST · PATCH Expenses · 132 fields · 3 findersAgencyNameAssignmentIdAttachmentExistsAuditAdjustmentReasonAuditAdjustmentReasonCodeAuthTrxnNumberAutoSubmitDateAwtGroupIdBilledAmountBilledCurrencyCodeBusinessUnitCardIdCcAuthorizationIdentifierCcNetworkReferenceNumberCheckoutDateCountryCodeCreatedByCreationDateCreditCardTrxnIdDailyAmountDailyDistanceDailyLimitDepartureLocationIdDescriptionDestinationFromDestinationToDistanceUnitDistanceUnitCodeEndDateEndDateTimestampEndOdometerExchangeRateExpenseCategoryCodeExpenseCreationMethodCodeExpenseIdExpenseReferenceExpenseReportIdExpenseReportStatusExpenseSourceExpenseSourceNameExpenseTemplateExpenseTemplateIdExpenseTypeExpenseTypeCategoryCodeExpenseTypeIdFlightClassLimitFlightDurationFlightNumberFuelTypeFuelTypeNameImageReceiptRequiredFlagItemizationParentExpenseIdItemizationReceiptBusinessTotalAmountItemizationReceiptPersonalTotalAmountItineraryReservationIdJustificationJustificationRequiredFlagLastUpdateDateLastUpdateLoginLastUpdatedByLicensePlateNumberLocationLocationIdLongTermTripFlagLongTermTripStartDateMerchantDocumentNumberMerchantNameMerchantReferenceMerchantTaxRegNumberMerchantTaxpayerIdMergedParentExpenseIdMileagePolicyIdNumberOfAttendeesNumberOfDaysNumberPeopleOrgIdPassengerAmountPassengerNamePassengerRateTypePaymentDueFromCodePersonIdPersonNamePersonalReceiptAmountPolicyShortpayFlagPolicyViolatedFlagPolicyWarningFlagPolicyWarningReasonCodePrepaidFlagPreparerIdRatePerPassengerReceiptAmountReceiptCurrencyReceiptCurrencyCodeReceiptDateReceiptMissingDecRequiredFlagReceiptMissingFlagReceiptRequiredFlagReceiptTimeReceiptVerifiedFlagReferenceNumberReimbursableAmountReimbursementCurrencyReimbursementCurrencyCodeRequestSequenceNumberStartDateStartDateTimestampStartOdometerTaxClassificationTaxClassificationCodeTicketClassTicketClassCodeTicketNumberTipAmountTravelMethodCodeTravelTypeTravelTypeNameTripDistanceUOMDaysValidateExpenseValidationErrorFlagValidationErrorMessagesValidationStatusValidationWarningMessagesVehicleCategoryVehicleCategoryCodeVehicleTypeVehicleTypeNameVendorExpenseReferenceIdVisitedFlagZoneCodeZoneTypeCodeAttachmentsGET · POST · PATCH · DELETE Attachments · 32 fieldsAsyncTrackerIdAttachedDocumentIdCategoryNameContentRepositoryFileSharedCreatedByCreatedByUserNameCreationDateDatatypeCodeDescriptionDmDocumentIdDmFolderPathDmVersionNumberDownloadInfoErrorStatusCodeErrorStatusMessageExpirationDateFileContentsFileNameFileUrlFileWebImageLastUpdateDateLastUpdatedByLastUpdatedByUserNamePostProcessingActionTitleUploadedFileContentTypeUploadedFileLengthUploadedFileNameUploadedTextUriUrlUserNameExpenseAttendeeGET · POST · PATCH Expense Attendees · 18 fields · 1 findersAmountAttendeeEmailAttendeePhoneNumberAttendeeTypeCreatedByCreationDateEmployeeFlagEmployerAddressEmployerNameEmployerPartyIdExpenseAttendeeIdExpenseIdLastUpdateDateLastUpdateLoginLastUpdatedByNameTaxIdentifierTitleExpenseDffGET · POST · PATCH Expense Descriptive Flexfields · 3 fieldsExpenseId__FLEX_Context__FLEX_Context_DisplayValueExpenseDistributionGET · POST · PATCH Expense Distributions · 14 fieldsBusinessUnitCodeCombinationIdCompanyCostCenterCreatedByCreationDateExpenseDistIdExpenseIdExpenseReportIdLastUpdateDateLastUpdateLoginLastUpdatedByOrgIdReimbursableAmountPJCDFFGET · POST · PATCH Projects Descriptive FlexfieldsFields depend on your pod's flexfield setup (check
/describe).ExpenseItemizationGET · POST · PATCH Expense Itemizations · 95 fieldsAssignmentIdAuditAdjustmentReasonAuditAdjustmentReasonCodeAwtGroupIdBilledAmountBilledCurrencyCodeCardIdCheckoutDateCreatedByCreationDateCreditCardTrxnIdDailyAmountDailyDistanceDailyLimitDepartureLocationIdDescriptionDestinationFromDestinationToDistanceUnitCodeEndDateEndOdometerExchangeRateExpenseCategoryCodeExpenseCreationMethodCodeExpenseIdExpenseReportIdExpenseSourceExpenseTemplateIdExpenseTypeExpenseTypeIdFlightClassLimitFlightDurationFlightNumberFuelTypeImgReceiptRequiredFlagItemizationParentExpenseIdItemizationReceiptBusinessTotalAmountItemizationReceiptPersonalTotalAmountItineraryReservationIdJustificationJustificationRequiredFlagLastUpdateDateLastUpdatedByLicensePlateNumberLocationLocationIdLongTermTripFlagLongTermTripStartDateMerchantDocumentNumberMerchantNameMerchantReferenceMerchantTaxRegNumberMerchantTaxpayerIdMileagePolicyIdNumberOfAttendeesNumberOfDaysNumberPeopleOrgIdPassengerAmountPassengerNamePassengerRateTypePaymentDueFromCodePersonIdPersonalReceiptAmountPolicyShortpayFlagPolicyViolatedFlagPolicyWarningFlagPolicyWarningReasonCodePreparerIdRatePerPassengerReceiptAmountReceiptCurrencyCodeReceiptDateReceiptMissingDecRequiredFlagReceiptMissingFlagReceiptRequiredFlagReceiptVerifiedFlagReimbursableAmountReimbursementCurrencyCodeSequenceNumberStartDateTaxClassificationCodeTicketClassCodeTicketNumberTravelMethodCodeTravelTypeTripDistanceUOMDaysValidationErrorFlagValidationErrorMessagesValidationWarningMessagesVehicleCategoryCodeVehicleTypeZoneCodeZoneTypeCodeduplicateExpensesGET · PATCH Duplicate Expenses · 19 fieldsDuplicateCreationDateDuplicateCreationMethodCodeDuplicateCreditCardTrxnIdDuplicateDescriptionDuplicateEndDateDuplicateExpenseIdDuplicateExpenseReportIdDuplicateExpenseReportNumberDuplicateExpenseSourceDuplicateExpenseStatusCodeDuplicateExpenseTypeDuplicateGroupIdDuplicateLocationDuplicateMerchantNameDuplicateReceiptAmountDuplicateReceiptCurrencyCodeDuplicateStartDateDuplicateStatusCodeExpenseIdexpenseErrorsGET Expense Errors · 5 fieldsErrorCodeErrorDescriptionErrorSequenceNameTypematchedExpensesGET · PATCH Matched Expenses · 5 fieldsExpenseIdMatchPercentageMatchReferenceMatchedExpenseIdMergedFlagExpensePaymentGET Expense Report Payments · 14 fieldsBankAccountNumberBankNameCheckIdCheckNumberExpenseReportIdInvoiceIdMailingAddressPaymentAmountPaymentCurrencyCodePaymentDatePaymentMethodPaymentMethodCodePaymentNumberProcessingTypeExpenseReportDffGET · POST · PATCH Expense Report Descriptive Flexfields · 3 fieldsExpenseReportId__FLEX_Context__FLEX_Context_DisplayValueexpenseNotesGET Expense Notes · 17 fieldsCreatedByCreationDateEventExpenseReportIdExpenseReportProcessingIdFullNameLastUpdateDateLastUpdateLoginLastUpdatedByNoteIdNoteTextNoteTextTruncNoteTypeCodePersonIdSourceObjectCodeSourceObjectUidUserLastUpdateDateprocessingDetailsGET Expense Processing Details · 11 fieldsAuditCodeAuditReturnReasonCodeCreationDateEventEventDateEventPerformerIdEventPerformerNameExpenseReportIdExpenseReportProcessingIdExpenseStatusCodeNoteId
Actions 7
POST …/{expenseReportsUniqID}/action/applyCashAdvances·cashAdvanceNumberPOST …/{expenseReportsUniqID}/action/processWFAction·commentsactionPOST …/{expenseReportsUniqID}/action/revertCashAdvances·cashAdvanceNumberPOST …/{expenseReportsUniqID}/action/submitPOST …/{expenseReportsUniqID}/child/Expense/action/notificationRequest·paramsPOST …/{expenseReportsUniqID}/child/Expense/action/sendEmailNotification·paramsPOST …/{expenseReportsUniqID}/child/Expense/{ExpenseUniqID}/action/duplicate
Actions use Content-Type: application/vnd.oracle.adf.action+json. A path with a {key} runs on one record.
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/expenseReportsand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
bothpayReportsFinderfor the agent's main search: its variables become clean tool parameters. - Narrow with
q=on searchable fields and a smalllimit; for a count usetotalResults=true&limit=1. - Call once and pass the result on to later steps rather than calling the same endpoint again.
- This resource can change data. Put a human approval step before any create, update, delete or action call.
More in For Builders.
Pitfalls
- Attribute names are case-sensitive in
q,fieldsand bodies:AssignmentId, notassignmentid. - 11 fields are read-only: sending them in POST or PATCH fails or is ignored. The builder leaves them out.
onlyData=trueremoveslinks, and this resource's key only comes fromlinks. Leave it off when you need the key.- Send dates as
YYYY-MM-DD; date-time fields take ISO 8601 with a time zone. - A list returns 25 rows unless you set
limit; readhasMoreand moveoffsetto page through. - Text fields have maximum lengths (shown in the field table). Longer values are rejected.