Process Station · Finance
Expense reports
Expense reports takes an expense from its receipt to its reimbursement, across the accounting and the mail.
Thanks to this station, AI agents can safely do all of that as well. Above 150 EUR the manager approves, and without a valid receipt it is refused.
Opened to agents, through a station
Source
API operationsaccounting
checkReceiptreadmappedapplyLimitwritemappedsubmitExpensewritemapped
An operation the station does not map is out of every agent's reach.
Capabilities
MCPcheck-receiptskillCheck receipt.
Calls · checkReceipt
apply-limitskillApply limit.
Calls · applyLimit
submit-expenseskillSubmit expense.
Calls · submitExpense
file-an-expenseplaybookIn order: check-receipt, then apply-limit, then submit-expense.
Steps · check-receipt, apply-limit, submit-expense
Policies
Checked by the stationAt each access
- The finance-assistant profile may call checkReceipt, applyLimit, submitExpense; nothing else.
finance-assistant
At each action
- An expense without a valid receipt is not submitted. Otherwise refused.
receipt-required - Above 150 EUR, the manager approves.
approval-threshold
Scenario Replays
An agent works through the station. Simulated scenarios, no real data, no key required.
The configuration in detail
Everything the station does fits in this file. The replay above applies it, and a copy starts from it. The values are examples to adapt, not a recommendation.
station:
id: expense-reports
kind: process
policies:
- {policy: receipt-required, at: submit}
- {policy: approval-threshold, at: submit}
global:
language: en
timezone: Europe/Paris
apis:
- id: accounting
operations:
checkReceipt: {access: read}
applyLimit: {access: write, risk: low}
submitExpense: {access: write, risk: medium}
profiles:
finance-assistant:
allow: [checkReceipt, applyLimit, submitExpense]
policies:
receipt-required:
type: rule
when: "action == submitExpense and not receipt_ok"
effect: deny
reason: "An expense without a valid receipt is not submitted."
approval-threshold:
type: rule
when: "action == submitExpense and amount > 15000"
effect: needs-human
reason: "Above 150 EUR, the manager approves."
skills:
- {id: check-receipt, uses: checkReceipt}
- {id: apply-limit, uses: applyLimit}
- {id: submit-expense, uses: submitExpense}
playbooks:
- id: file-an-expense
tasks: [check-receipt, apply-limit, submit-expense]