A person approves money
Automation drafts payments and postings. A person releases them.
Why
A script can prepare a payment run or a journal entry: match invoices, calculate amounts, assemble the batch. Releasing money, or posting it to the ledger, is a different act, and it stays with a named person who can be asked why they approved it. Collapsing the two steps into one removes the one point where a mistake, or something worse, gets a human look before it is final.
Read the full case
Where that gate sits, the control total it checks against, and the keys a script must never hold: No script releases a payment.