apply_charge_onboarding_candidate
Promote an accepted candidate into a canonical obligation and dated instances. Idempotent write updates existing instances instead of duplicating.
Instructions
Promote an accepted candidate into a canonical obligation plus dated instances.
This is the guarded write that turns a reviewed candidate into cash-flow truth. By default the candidate must already be accepted (record an accept decision first). Writing is idempotent: re-applying the same window updates instances in place instead of duplicating them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| candidate_id | Yes | ||
| start_date | No | ||
| through_date | No | ||
| horizon_days | No | ||
| obligation_id | No | ||
| require_accepted | No | ||
| db_path | No |