Release an order on account
Before an order ships that will be paid later: check the customer's credit limit and what is overdue.
Finance · When it runs: When asked
How it goes about it
- Read the customer's credit limit and terms of payment from the customer record or Knowledge. No limit set means: no delivery on account without the human.
- Add up what the customer owes: open outgoing invoices plus orders shipped but not yet invoiced (record_query on "invoice" and "order").
- Is anything overdue? Then do not release, whatever the limit says.
- Open amount plus this order within the limit and nothing overdue: release it (type order.released, refs order and customer).
- Otherwise hold it (type order.on_hold with the figures) and inbox_ask, kind approval: deliver anyway, ask for prepayment, or wait.
- Tell the customer plainly if prepayment is needed. Never mention the limit itself.
The steps are written for the AI your co-founder thinks with, which is why they name its tools.
Figures it moves
- Overdue receivables