web/website/docs/service-compensation.md

29 lines
1.7 KiB
Markdown

# Service compensation
Operations Dashboard → Service Compensation. Staff may also select **Compensate
payer** beside a posted customer payment. The original transaction remains
unchanged; an immediate linked `service` posting restores funds to its original
payer. It appears in purple in customer and staff ledgers.
First recover available funds from the original recipient. If the recipient's
unreserved funds cannot cover the correction, pay from the shared Service
Compensation Reserve. The total of linked compensations cannot exceed the
original payment. Repeat requests are idempotent. No generic staff wire access,
ticket approval, separate officer budget counter or CEO override is introduced.
The reserve's available balance is the shared officer budget. An editable monthly
standing instruction initially transfers 25,000 DM from the Website bank
treasury. Unspent money rolls over. Changing an already funded month does not
fund it twice. Management may top up or sweep the reserve in Treasury Accounts.
No currency is issued or customer balance reset to fund this service.
Sales/client officers use `web.bank.staff.clients`; official account corrections
require existing bank management. Current session, permissions, original payment,
holds, remaining compensation and account availability are rechecked under locks.
Posting, linked record and audit commit together.
After publication run `scripts/setup-service-compensation.mjs --actor=<control>`
to plan provisioning; `--apply` creates a zero-funded reserve and the initial
monthly instruction. It preserves existing instruction edits. The Central
Scheduler subsequently performs each monthly funding once, with balanced entries.
An insufficient treasury balance retains a retryable job instead of minting DM.