Previews Stripe-to-Merit payout reconciliation and reports booking status. Also supports single-payout and date-range inspection.
How this command is triggered — by the user, by Claude, or both
Slash command
/merit-aktiva-workspace:merit-reconcile [payout id, or a date, or 'status']This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Merit Reconcile (Stripe → Merit)
Preview or report Stripe-payout reconciliation into Merit Aktiva for: **{{args}}**
This command is **read-only**. Booking to the books is the `merit-bookkeeper` agent
(`elnora-merit reconcile run`), which requires explicit `--yes`.
## Prerequisites
- `STRIPE_API_KEY` set (live secret/restricted key) in the environment or `~/.config/elnora-merit/.env`.
- A populated `stripe-map.json` (run `elnora-merit reconcile init` once to generate a template
and list candidate account/VAT values, then fill it in).
## Run
## Present
Render a table per payout: ...Preview or report Stripe-payout reconciliation into Merit Aktiva for: {{args}}
This command is read-only. Booking to the books is the merit-bookkeeper agent
(elnora-merit reconcile run), which requires explicit --yes.
STRIPE_API_KEY set (live secret/restricted key) in the environment or ~/.config/elnora-merit/.env.stripe-map.json (run elnora-merit reconcile init once to generate a template
and list candidate account/VAT values, then fill it in).# What WOULD be booked for each payout since the map cutoff (no writes):
elnora-merit reconcile preview --output json
# A single payout:
elnora-merit reconcile preview --payout <po_...>
# From a date:
elnora-merit reconcile preview --since <YYYY-MM-DD>
# Booked vs outstanding payouts:
elnora-merit reconcile status
Render a table per payout: payout id, arrival date, payout net, charge count, gross,
revenue net, VAT, Stripe fees, platform fees, refunds, bookable, already booked.
Surface every warnings entry — especially VAT mismatches and any "does not balance"
payout (those will be skipped by run). For status, show booked vs outstanding counts.
merit-bookkeeper.npx claudepluginhub elnora-ai/elnora-merit-aktiva --plugin merit-aktiva-workspace