aggregate_statement_inputs
Groups credit card charges into their paying statement cycles by matching against statement close dates, identifying any charges that fall outside known cycles as unrolled.
Instructions
Group card-statement-input charges into the statement cycle that pays them.
Deterministic and idempotent. Builds statement cycles from the target obligation's statement instances (those with a statement close date) and assigns each card input to its cycle, reporting any inputs that fall past the last known statement close as unrolled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_obligation_id | Yes | ||
| db_path | No |