催收

這一頁從系統實際的 tool 產生。授權項目是權杖要勾的項目;「核可」是 Agent 呼叫之後要不要等人在網站上核可。

reminder_forecast

核可:不用

用帶的催收設定(不會存)預估下一次自動催收:什麼時候、幾張請款單、幾封信。

給 Agent 的原文

Forecast the next automatic reminder run with these settings (not saved): when, how many bills, how many emails.

參數

名稱型別必填說明
auto_enabledboolean必填
first_after_daysinteger必填
interval_daysinteger必填

授權項目:reminders:read

reminder_send

寫入可試算核可:不用寄出前要先試算帶確認碼

現在就對逾期的請款單寄催收信,同一位客戶的放在同一封;每張各自檢查。可以先試算看會催哪幾張、寄給誰。寄出前要先試算,把結果給使用者看、問過使用者,再帶試算給的確認碼寄。

給 Agent 的原文

Send payment reminders now for overdue bills; bills of the same customer go in one email. Each bill is checked on its own. Use dry_run to see which bills would be reminded and to whom. Before sending, call with dry_run: true, show the user the bills, amounts and recipients, and ask whether to send; then call again with the confirmation_code from the dry run.

參數

名稱型別必填說明
billsstring[]必填1 to 100 overdue bill numbers (BL-000001) or ids
dry_runbooleandefault: false
confirmation_codestring(可以是 null)Required unless dry_run is true: the confirmation_code returned by a dry run with the same parameters.
idempotency_keystringRequired for every call that writes (not for dry_run). The same key within 24 hours returns the first result instead of doing it again.

授權項目:reminders:send

reminder_set_auto

寫入核可:不用

停止或恢復一張未付請款單的自動催收

給 Agent 的原文

Stop (enabled: false) or resume (enabled: true) automatic reminders for one unpaid bill. Manual reminders with reminder_send still work while stopped. Resuming does not send anything right away; the next automatic reminder follows the workspace's reminder settings.

參數

名稱型別必填說明
billstring必填Bill number (BL-000001) or id
enabledboolean必填false stops automatic reminders for this bill; true resumes them
idempotency_keystring必填Required for every call that writes (not for dry_run). The same key within 24 hours returns the first result instead of doing it again.

授權項目:reminders:send