Expense Templates
expenseTemplates Based on 26C
Look up Expense Templates, with expense types and mobile expense types. Read-only.
- Operations
- GET (list)GET (one)
- Record key
ExpenseTemplateId- Required on create
- no create on this resource
- At a glance
- 29 fields1 finders5 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/expenseTemplates?fields=AllowRcptMissingFlag,BusinessUnit,CashReceiptRequiredFlag,CashReceiptRequiredLimit,CcReceiptRequiredFlag&limit=25&onlyData=true
{
"items": [
{
"AllowRcptMissingFlag": false,
"BusinessUnit": "<string, max 240>",
"CashReceiptRequiredFlag": false,
"CashReceiptRequiredLimit": 0,
"CcReceiptRequiredFlag": 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 29
| Attribute | Type | Use |
|---|---|---|
AllowRcptMissingFlag | yes/no · max 1 | Searchable |
BusinessUnit | text · max 240 | Read-onlySearchable |
CashReceiptRequiredFlag | yes/no · max 1 | Searchable |
CashReceiptRequiredLimit | number | Searchable |
CcReceiptRequiredFlag | yes/no · max 1 | Searchable |
CcReceiptRequiredLimit | number | Searchable |
CreatedBy | text · max 64 | Searchable |
CreationDate | date-time | Searchable |
Description | text · max 240 | Searchable |
DescriptionBehaviour | text · max 80 | Read-onlySearchable |
DescriptionBehaviourCode | text · max 30 | Searchable |
DfltCcExpTypeId | number | Searchable |
DispRcptViolationFlag | yes/no · max 1 | Searchable |
EnableCcMappingFlag | yes/no · max 1 | Searchable |
ExpenseTemplateId | number | Searchable |
InactiveDate | date | Searchable |
LastUpdateDate | date-time | Searchable |
LastUpdateLogin | text · max 32 | Searchable |
LastUpdatedBy | text · max 64 | Searchable |
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 |
NegativeRcptRequiredFlag | yes/no · max 1 | Searchable |
NumberOfDaysBehaviour | text · max 80 | Read-onlySearchable |
NumberOfDaysBehaviourCode | text · max 30 | Searchable |
OrgId | number | Searchable |
StartDate | date | 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.
findByOrgIdAndDate·bindDatebindOrgId
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 5
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/expenseTemplates/{ExpenseTemplateId}/child/<name>. Add them to a GET with expand.
expenseTypesGET Expense Types · 38 fields · 1 findersBusinessUnitCategoryCategoryCodeCcReceiptRequiredFlagCcReceiptThresholdCreatedByCreationDateDefaultProjExpendTypeDescriptionDescriptionBehaviourDescriptionBehaviourCodeDispRcptViolationCodeDispRcptViolationFlagEnableProjectsFlagEndDateExpenseTemplateIdExpenseTypeIdItemizationBehaviourItemizationBehaviourCodeItemizationOnlyFlagLastUpdateDateLastUpdateLoginLastUpdatedByLocationBehaviourLocationBehaviourCodeMerchantBehaviourMerchantBehaviourCodeNameNegativeRcptRequiredCodeNumberOfDaysBehaviourNumberOfDaysBehaviourCodeOrgIdRcptRequiredProjFlagReceiptRequiredFlagReceiptThresholdStartDateTaxClassificationTaxClassificationCodeitemizedExpenseTypesGET Itemized Expense Types · 7 fieldsCreatedByCreationDateExpenseTypeIdExpenseTypeParentIdLastUpdateDateLastUpdateLoginLastUpdatedBypreferredAgencyListsGET Preferred Agency Lists · 13 fieldsAgencyListNameAgencyListTypeCreatedByCreationDateDispWarningToUserFlagEndDateExpenseTypeIdLastUpdateDateLastUpdateLoginLastUpdatedByPolicyEnforcementPolicyEnforcementCodeStartDatepreferredMerchantListsGET Preferred Merchant Lists · 13 fieldsCreatedByCreationDateDispWarningToUserFlagEndDateExpenseTypeIdLastUpdateDateLastUpdateLoginLastUpdatedByMerchantListNameMerchantListTypePolicyEnforcementPolicyEnforcementCodeStartDatemobileExpenseTypesGET Mobile Expense Types · 24 fieldsBUIdCodeCombinationIdCurrencyCurrencyCodeEnableProjectsFlagEndDateExpenseCategoryExpenseCategoryCodeExpenseTemplateIdExpenseTypeIdExpenseTypeNameItemizationBehaviourItemizationBehaviourCodeItemizationOnlyFlagJustificationAmountPersonIdProjectReceiptRequiredFlagReceiptRequiredCodeReceiptRequiredFlagReceiptThresholdAmountStartDateTaxClassificationTaxClassificationCodeTopLevelExpenseTypeFlag
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/expenseTemplatesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
findByOrgIdAndDatefor 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:AllowRcptMissingFlag, notallowrcptmissingflag. - 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.