Process Station · Finance
Month-end close
Month-end close reconciles the bank and the accounting at the end of a month, and chases what is missing, until a person locks the period.
Thanks to this station, AI agents can safely do all of that as well. An invoice is chased twice at most, and only a person locks the period, never with open gaps.
Opened to agents, through a station
Source
API operationsbank-accounting
reconcilewritemapped
chaseInvoicewritemapped
accounting-lock
lockPeriodwritemapped
An operation the station does not map is out of every agent's reach.
Capabilities
MCPreconcileskillReconcile.
Calls · reconcile
chase-invoiceskillChase invoice.
Calls · chaseInvoice
lock-periodskillLock period.
Calls · lockPeriod
close-the-monthplaybookIn order: reconcile, then chase-invoice, then lock-period.
Steps · reconcile, chase-invoice, lock-period
Policies
Checked by the stationAt each access
- The finance-assistant profile may call reconcile, chaseInvoice, lockPeriod; nothing else.
finance-assistant
At each action
- An invoice is chased at most twice by the agent. Otherwise refused.
max-chases - A period is not locked with open gaps. Otherwise refused.
no-open-gap - Locking needs the accounting lead's approval.
human-for-lock
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: month-end-close
kind: process
policies:
- {policy: max-chases, at: submit}
- {policy: no-open-gap, at: submit}
- {policy: human-for-lock, at: submit}
global:
language: en
timezone: Europe/Paris
apis:
- id: bank-accounting
operations:
reconcile: {access: write, risk: medium}
- id: mail
operations:
chaseInvoice: {access: write, risk: low}
- id: accounting-lock
operations:
lockPeriod: {access: write, risk: high}
profiles:
finance-assistant:
allow: [reconcile, chaseInvoice, lockPeriod]
policies:
max-chases:
type: rule
budget: {action: chaseInvoice, max: 2, per: invoice}
effect: deny
reason: "An invoice is chased at most twice by the agent."
no-open-gap:
type: rule
when: "action == lockPeriod and open_gaps > 0"
effect: deny
reason: "A period is not locked with open gaps."
human-for-lock:
type: rule
when: "action == lockPeriod"
effect: needs-human
reason: "Locking needs the accounting lead's approval."
skills:
- {id: reconcile, uses: reconcile}
- {id: chase-invoice, uses: chaseInvoice}
- {id: lock-period, uses: lockPeriod}
playbooks:
- id: close-the-month
tasks: [reconcile, chase-invoice, lock-period]