Clean up active billing state for recurring billing
Important: This tool fixes pending/unpaid invoices to match current billing rules. Historical paid invoices are never modified. Always run DRY RUN first to review changes.
Run Normalization
Step 1: Run dry_run to see what would change. Step 2: Run execute to apply fixes. Step 3: Verify compliance.