You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This resource is used to retrieve and update information about a budget that spans a single fiscal year. Each budget has multiple details that correspond to fiscal periods - months, quarters, or a single period for a yearly budget.
GET All Budget Items
Retrieve all budget items in groups of up to 50 items. Due to response size and performance considerations, this endpoint does not return budgetItemDetails. Use the GET a Budget Item to retrieve all the details for a single budget.
Use responseSchema=compact if you need to call this API frequently. In compact version, below attributes (the less frequently changed ones) would not be returned. To fetch these details for specific budget you can use GET a Budget Item
managers
approvers
viewers
team members
fiscal periods
Scopes
This API call requires one of the following scopes:
budgetitem.read - Refer to Scope Usage for full details.
budgetitem.write - Refer to Scope Usage for full details.
Request
URI
Template
GET /budget/v4/budgetItemHeader
Parameters
Name
Type
Format
Description
adminView
boolean
query
If true, returns all budgets for this entity, if false, returns only the budgets owned by the current user. Default: false
offset
integer
query
The start of the page offset. Default: 0
responseSchema
string
query
If 'COMPACT', response excludes less frequently changed ones i.e managers, approvers, viewers, team members and fiscal periods. Defaults to 'non-compact' schema
400 Bad Request The request was determined to be invalid by the server. Possibly a validation failed on the data that was sent in the payload. The response will have a list of validation errors in the body. See below for an example 400 response.
403 Forbidden The user does not have the necessary permissions to perform the request.
404 Not Found The resource could not be found or does not exist.
Provide syncGuid when doing an update call. Also as of now we are not supporting approvers, managers and tracking field options for Team Budgets.
So you do not have to pass values for those fields.
If managers exist, spend items only matches this budget if one of the managers is in the manager hierarchy of the submitter or approver for the given spend item.
The budget category for this budget item. If a budget category is present, spending items must match one of the expense types in the budget category in order to match this budget.
READ ONLY The time the budget item header was created. Date in UTC.
currencyCode
string
-
The 3-letter ISO 4217 currency code for the budget currency. This is the currency code of the budget amount. Spending Items are converted using yesterday's closing value. Examples: USD - US dollars; BRL - Brazilian real; CAD - Canadian dollar; CHF - Swiss franc; EUR - Euro; GBO - Pound sterling; HKD - Hong Kong dollar; INR - Indian rupee; MXN - Mexican peso; NOK - Norwegian krone; SEK - Swedish krona.
description
string
-
Required The user-friendly name for this budget. This description is displayed to end users on desktop and mobile.
Required The fiscal year for this budget. Only the ID of the fiscal year, which can be retrieved from the Fiscal Year service, is required for creating/updating a budget.
id
string
-
The key for this object.
isTest
boolean
-
The test flag for the budget item. If true, this budget will only match spending submitted by test users.
lastModifiedDate
datetime
-
READ ONLY The last time the budget item header was updated. Date in UTC.
name
string
-
Required The admin-facing name for this budget.
owned
string
-
READ ONLY A flag indicating if the current user is the owner of this budget.
READ ONLY Shows the break-out of budget spending by product and workflow state.
budgetItemDetailStatusType
string
-
The status of this budget item. Supported values: OPEN, CLOSED(no spending can be attached to this budget), REMOVED
currencyCode
string
-
The 3-letter ISO 4217 currency code for the budget currency. Examples: USD - US dollars; BRL - Brazilian real; CAD - Canadian dollar; CHF - Swiss franc; EUR - Euro; GBO - Pound sterling; HKD - Hong Kong dollar; INR - Indian rupee; MXN - Mexican peso; NOK - Norwegian krone; SEK - Swedish krona.
budgetName
string
-
READ ONLY The admin-facing name of this budget.
budgetItemHeaderId
string
-
READ ONLY The unique ID of the header that contains this budget item detail.
Required The fiscal period for this budget amount. Only the ID of the fiscal period, which can be retrieved from the Fiscal Year service, is required for creating/updating a budget.
Required The specific fiscal period when this budget amount will be used. Only the ID of the fiscal period, which can be retrieved from the Fiscal Year service, is required for creating/updating a budget.
BudgetAmounts
Name
Type
Format
Description
adjustedBudgetAmount
decimal
-
READ ONLY The amount adjusted against this budget.
availableAmount
decimal
-
READ ONLY The available amount accumulated against this budget. Uses budget setting to determine which amounts are included to calculate available amount.
consumedPercent
decimal
-
READ ONLY The percentage of the budget that is considered used. Uses budget setting to determine which amounts to include.
pendingAmount
decimal
-
READ ONLY The pending amount accumulated against this budget.
spendAmount
decimal
-
READ ONLY The spent amount accumulated against this budget.
threshold
string
-
READ ONLY The indicator of whether this budget is under the alert limit, equal to or over the alert limit but under the control limit, or equal to or over the control limit. Supported values: UNDER, ALERT, OVER
unExpensedAmount
decimal
-
READ ONLY The amount of unexpensed items like travel bookings, quick expenses, or e-receipts.
unExpensedSettings
string
-
READ ONLY The company's budget setting for unexpensed items. Applies to all budgets for the company. Supported values: SHOW_UNSUBMITTED_EXPENSES_AS_PENDING, SHOW_UNSUBMITTED_EXPENSES_BALANCE, DO_NOT_SHOW_UNSUBMITTED_EXPENSES
BudgetPerson
Provide externalUserCUUID or email or employee ID of the user for looking up the person.
Name
Type
Format
Description
externalUserCUUID
string
-
The unique identifier for this user. This must match the CUUID from the SAP Concur profile service.
name
string
-
READ ONLY The user's name. Provided for convenience.
id
string
-
The budget service's unique identifier for this user.
email
string
-
The email address of the person to lookup.
employeeId
string
-
READ ONLY The employee ID of the person to lookup.
employeeUuid
string
-
The unique identifier for this user. This must match the UUID from the SAP Concur profile service.
BudgetItemBudgetTeam
Name
Type
Format
Description
id
string
-
The budget service's unique identifier for this team member.
budgetPerson
budgetPerson
-
Refers to the person and has profile details. Always pass externalUserCUUID and email of user.
syncGuid
string
-
The unique identifier for this user which is used for look ups.
active
string
-
Indicates enrollment status of team member in the budget. Supported values: FULLY_ENROLLED, PARTIALLY_ENROLLED, NOT_ENROLLED
startDate
date
YYYY-MM-DD
Indicates the start date from which the team member was enrolled in the budget. Required if the team member is FULLY_ENROLLED or PARTIALLY_ENROLLED. Pass null in case of NOT_ENROLLED.
endDate
date
YYYY-MM-DD
Indicates the end date until when the team member was enrolled in the budget. Required if the team member is FULLY_ENROLLED or PARTIALLY_ENROLLED. Pass null in case of NOT_ENROLLED.
status
string
-
READ ONLY Indicates if the user is a new, existing or removed team member of the budget. NEW means the user was newly added as a reportee of the budget owner. Existing means already a reportee and REMOVED means the team member is not a direct reportee of the budget owner.
BudgetCategory
Name
Type
Format
Description
description
string
-
The list of expense types that this budget category matches.
name
string
-
The admin-facing name for this category.
statusType
string
-
The status of this budget category. Supported values: OPEN, REMOVED
id
string
-
The unique identifier for the budget category.
ExpenseType
Name
Type
Format
Description
featureTypeCode
string
-
Required The product that this expense type applies to: Purchase Request, Invoice (Payment Request), Expense, or Request. Supported values: PURCHASE_REQUEST, PAYMENT_REQUEST, EXPENSE, REQUEST
expenseTypeCode
string
-
Required The alphanumeric code that describes an expense type. (Example: MEALS, AC_CATER) Valid expense type codes are returned by the GET /budgetCategory/expenseType method described in the Budget Category service.
name
string
-
READ ONLY The name for this expense type if it maps to an expense type set up in your SAP Concur product(s).
id
string
-
The budget service's key for this object.
BudgetTrackingValue
Name
Type
Format
Description
code
string
-
The code for the cost object field. This can be used instead of fieldDefinitionId and will take priority if populated. This value can be found for your budget tracking fields you have configured by using the GET All Budget Tracking Fields resource.
value
string
-
The value for the cost object field.For INLIST and NOTINLIST operator, the value of this field can be one or more comma-separated values. For EQUAL and NOTEQUAL operator, the value of this field can be one value. For ISFALSE operator, the value of this field must be ISFALSE. For ISNOTFALSE operator, the value of this field must be ISNOTFALSE. For ISBLANK, ISTRUE, ISFALSE, ISNOTTRUE, ISNOTFALSE, the value of this field is not required and ignored if provided.
listKey
string
-
When setting up the budget, specify the listKey that maps to the value of this list in the SAP Concur list service.
operator
string
-
Required The comparison to use when matching values for this tracking field. Supported values: EQUAL, INLIST, ISBLANK, NOTEQUAL, NOTINLIST, ISNOTBLANK, ISTRUE, ISFALSE, ISNOTTRUE, ISNOTFALSE
fieldDefinitionID
string
-
Required The budget service’s key for this object’s field definition ID. This value can be found for your budget tracking fields you have configured by using the GET All Budget TrackingFields resource.
displayName
string
-
The budget field tracking name.
BudgetItemBalance
Name
Type
Format
Description
amount
decimal
-
READ ONLY The balance amount.
featureTypeCode
string
-
READ ONLY The product type for this balance. Supported values: REQUEST, TRAVEL, EXPENSE, PAYMENT_REQUEST
featureTypeSubCode
string
-
READ ONLY The feature type sub code for this balance. Supported values: QUICK_EXPENSE, ERECEIPT, CREDIT_CARD, PERSONAL_CARD, TRIP, RECEIPT_CAPTURE, BILLING_STATEMENT, MANUAL, NONE, BUDGET_AMOUNT, SPENT_AMOUNT, PENDING_AMOUNT, PRE_AUTHORIZED, PURGE_ADJUSTMENT
workflowState
string
-
READ ONLY Supported values: UNSUBMITTED, UNSUBMITTED_HELD, SUBMITTED, APPROVED, PROCESSED, PAID.
id
string
-
The unique identifier for this particular budget balance bucket..
FiscalYear
Name
Type
Format
Description
currentYear
boolean
-
READ ONLY If true, this is the current fiscal year based on the current date and time. false, if otherwise.
startDate
date
YYYY-MM-DD
Required The start date for this fiscal year. The distance between start date and end date may not be more than two years.
endDate
date
YYYY-MM-DD
Required The end date for this fiscal year. The distance between start date and end date may not be more than two years.
name
string
-
Required The name of this fiscal year. Must be unique for this entity.
status
string
-
Required The status of this fiscal year. Supported values: OPEN, CLOSED, REMOVED
id
string
-
The budget service's key for this object.
fiscalYearId
string
-
The unique identifier of the fiscal year for this budget.
lastModified
datetime
-
READ ONLY The UTC date and time when this object was last changed.
displayName
string
-
READ ONLY Display name for fiscal year. For date range budget item we use this field to display.
READ ONLY The list of quarterly Fiscal Periods in this Fiscal Year. If this parameter is not specified, quarterly Fiscal Periods are automatically generated based on the monthly Fiscal Periods supplied.
READ ONLY The list of custom Fiscal Periods in this Fiscal Year. Custom Fiscal Periods are API-only and will not display on user budget dashboards.
FiscalPeriod
Name
Type
Format
Description
currentPeriod
boolean
-
READ ONLY If true, this is the current fiscal period based on the current time. false, if otherwise.
startDate
date
YYYY-MM-DD
Required The start date for this fiscal period. Must be within the parent fiscal year.
endDate
date
YYYY-MM-DD
Required The end date for this fiscal year. Must be within the parent fiscal year.
name
string
-
Required The name of this fiscal period. Must be unique for this entity.
fiscalPeriodStatus
string
-
Required The status of this fiscal period. Supported values: OPEN, CLOSED, REMOVED
periodType
string
-
Required The type of fiscal period. Supported values: MONTHLY, QUARTERLY, YEARLY, CUSTOM, DATE_RANGE
id
string
-
The budget service's key for this object.
spendDate
date
-
READ ONLY If the current date is after this fiscal period's start date, this field shows the current date.
DateRange
Name
Type
Format
Description
startDate
date
YYYY-MM-DD
The start date for the budget.
endDate
date
YYYY-MM-DD
The end date for the budget.
DetailDashboardBudgetItemAdjustment
Name
Type
Format
Description
adjustmentType
string
-
The type of adjustment being made. Only a user reference field. Supported values: BUDGET_BALANCE, FUND_TRANSFER, EXPENSE, PAYMENT_REQUEST, PURCHASE_REQUEST, REQUEST, PURGE_ADJUSTMENT
amount
decimal
-
The value of the amount adjusted (+/-).
amountType
string
-
The amount type of the field. Supported values: QUICK_EXPENSE, ERECEIPT, CREDIT_CARD, PERSONAL_CARD, TRIP, RECEIPT_CAPTURE, BILLING_STATEMENT, MANUAL, NONE, BUDGET_AMOUNT, SPENT_AMOUNT, PENDING_AMOUNT, PRE_AUTHORIZED, PURGE_ADJUSTMENT
description
string
-
The short description of the adjustment.
transactionDate
date
YYYY-MM-DD
The transaction date of adjusted spend. Required when the adjustment is made for amount type. Supported values: SPENT_AMOUNT, PENDING_AMOUNT
BudgetItemResponse
Name
Type
Format
Description
success
boolean
-
True or False for success or failure.
budgetItemHeaderId
guid
-
The key of the created/updated/removed budget item header.
BudgetItemHeaderSaveResponse
Name
Type
Format
Description
success
boolean
-
True or False for success or failure.
budgetItemHeaderSyncGuid
guid
-
The key of the created/updated budget item header.
budgetItemDetailSyncGuids
array of guid
-
The keys of the created/updated budget item details.