Validate Expense Amount Within a Period (by Purpose)
Use the Validate Expense Amount Within a Period (by Purpose) business rule template to validate expense spending for a specific purpose against a configured amount limit during a defined period. The business rule is evaluated when an expense report is submitted.
The rule compares the applicable expense amount for the selected purpose against the configured maximum amount. If the configured condition is met, the rule generates the specified validation outcome.
Each business rule can be configured for only one purpose. To validate spending for multiple purposes, create a separate business rule for each purpose. If the submitted expense report uses a purpose that is not associated with any configured rule, the rule is not evaluated and the expense report can be submitted normally.
Parameters
This template includes the following parameters:
| Parameter | Description |
|---|---|
| Purpose | Select the purpose to which the business rule applies. Click Add to open the Select Purpose dialog box. Select a purpose and click Add. Selecting a different purpose replaces the current selection. |
| Maximum Amount | Specifies the amount limit used to evaluate expenses for the selected purpose. |
| Start Date | Specifies the beginning of the evaluation period. Select a date from the calendar. |
| End Date | Specifies the end of the evaluation period. Select a date from the calendar. The end date must not be earlier than the start date. |
| Check Type | Specifies the evaluation condition. Select Over Limit to trigger the rule when the evaluated amount exceeds the maximum amount. Select Under Limit to trigger the rule when the evaluated amount is less than the maximum amount. A value equal to the maximum amount does not trigger the rule. |
Example
This example lists sample values for the business rule.
| Field | Value |
| Name | Purpose Based Budget Check Policy |
| Severity | Warning |
| Notification | Interactive only |
| Fire on Itemization | Left blank |
| Fire Scope | Every time |
| Offline and Online Firing Options | Fire Online only |
| Status | Active |
| Policy Based Routing | Not Selected |
| Fire On | Submit ER |
| Strings | Value |
| Description | Purpose based budget check for the period |
| Interactive Message | You have spent %%20000:spentAmount%% of your allotted %%20000:maximumAmount%% for this period. |
| Policy | See your corporate spending policy |
| Report Message | N/A |
| Parameter | Value |
| Purpose | Travel & Accommodation |
| Maximum Amount | 5000.00 |
| Start Date | 01-Jan-2026 |
| End Date | 31-Dec-2026 |
| Check Type | Over Limit |
| Name | Organization/Group |
| Corp: Default | Group |