Process Station · Finance

Expense reports

Template

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

Linked toolsAccountingMail

Source

API operations

accounting

  • checkReceiptreadmapped
  • applyLimitwritemapped
  • submitExpensewritemapped

An operation the station does not map is out of every agent's reach.

Capabilities

MCP
Skills and playbooks agents can call
  • check-receiptskill

    Check receipt.

    Calls · checkReceipt

  • apply-limitskill

    Apply limit.

    Calls · applyLimit

  • submit-expenseskill

    Submit expense.

    Calls · submitExpense

  • file-an-expenseplaybook

    In order: check-receipt, then apply-limit, then submit-expense.

    Steps · check-receipt, apply-limit, submit-expense

Policies

Checked by the station

At 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.

42 EUR expense

What you will see: Small amount, valid receipt: the agent goes all the way alone.

Agent connected to the station through MCP
  1. HumanFile my 42 EUR client lunch, here is the receipt.
  2. AgentI'll check the receipt, then submit the expense.
  3. MCP callcheckReceipt(file: "ticket.jpg")
  4. StationReceipt is readable: 42 EUR, restaurant, today's date.OKRule applied: receipt-required
  5. MCP callsubmitExpense(amount: 4200)
  6. StationExpense submitted, under the 150 EUR threshold.OKRule applied: approval-threshold

The configuration in detail

station_config.yamlRead the docs →

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]