Expense Types
expenseTypes Based on 26C
Look up Expense Types, with itemized expense types, preferred agency lists and preferred merchant lists. Read-only.
- Operations
- GET (list)GET (one)
- Record key
ExpenseTypeId- Required on create
- no create on this resource
- At a glance
- 38 fields1 finders3 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/expenseTypes?fields=BusinessUnit,Category,CategoryCode,CcReceiptRequiredFlag,CcReceiptThreshold&limit=25&onlyData=true
{
"items": [
{
"BusinessUnit": "<string, max 240>",
"Category": "<string, max 80>",
"CategoryCode": "<string, max 30>",
"CcReceiptRequiredFlag": false,
"CcReceiptThreshold": 0
}
],
"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 38
| Attribute | Type | Use |
|---|---|---|
BusinessUnit | text · max 240 | Read-onlySearchable |
Category | text · max 80 | Read-onlySearchable |
CategoryCode | text · max 30 | Searchable |
CcReceiptRequiredFlag | yes/no · max 1 | Searchable |
CcReceiptThreshold | number | Searchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
DefaultProjExpendType | number | Searchable |
Description | text · max 240 | Searchable |
DescriptionBehaviour | text · max 80 | Read-onlySearchable |
DescriptionBehaviourCode | text · max 30 | Searchable |
DispRcptViolationCode | text | |
DispRcptViolationFlag | yes/no · max 1 | Searchable |
EnableProjectsFlag | yes/no · max 1 | Searchable |
EndDate | date | Searchable |
ExpenseTemplateId | number | Searchable |
ExpenseTypeId | number | Searchable |
ItemizationBehaviour | text · max 80 | Read-onlySearchable |
ItemizationBehaviourCode | text · max 15 | Searchable |
ItemizationOnlyFlag | yes/no · max 1 | Searchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdateLogin | text · max 32 | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
LocationBehaviour | text · max 80 | Read-onlySearchable |
LocationBehaviourCode | text · max 30 | Searchable |
MerchantBehaviour | text · max 80 | Read-onlySearchable |
MerchantBehaviourCode | text · max 30 | Searchable |
Name | text · max 80 | Searchable |
NegativeRcptRequiredCode | text · max 30 | Searchable |
NumberOfDaysBehaviour | text · max 80 | Read-onlySearchable |
NumberOfDaysBehaviourCode | text · max 30 | Searchable |
OrgId | number | Searchable |
RcptRequiredProjFlag | yes/no · max 1 | Searchable |
ReceiptRequiredFlag | yes/no · max 1 | Searchable |
ReceiptThreshold | number | Searchable |
StartDate | date | Searchable |
TaxClassification | text | Read-onlySearchable |
TaxClassificationCode | text · max 30 | Searchable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 1
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
findByTemplateIdAndDate·bindDatebindTemplateId
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 3
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/expenseTypes/{ExpenseTypeId}/child/<name>. Add them to a GET with expand.
itemizedExpenseTypesGET Expenses Type Itemize · 7 fieldsCreatedByCreationDateExpenseTypeIdExpenseTypeParentIdLastUpdateDateLastUpdateLoginLastUpdatedBypreferredAgencyListsGET Preferred Agency Lists · 13 fieldsAgencyListNameAgencyListTypeCreatedByCreationDateDispWarningToUserFlagEndDateExpenseTypeIdLastUpdateDateLastUpdateLoginLastUpdatedByPolicyEnforcementPolicyEnforcementCodeStartDatepreferredMerchantListsGET Preferred Merchant Lists · 13 fieldsCreatedByCreationDateDispWarningToUserFlagEndDateExpenseTypeIdLastUpdateDateLastUpdateLoginLastUpdatedByMerchantListNameMerchantListTypePolicyEnforcementPolicyEnforcementCodeStartDate
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/expenseTypesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
findByTemplateIdAndDatefor 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.
More in For Builders.
Pitfalls
- Attribute names are case-sensitive in
q,fieldsand bodies:CategoryCode, notcategorycode. - 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.