> ## Documentation Index
> Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Request Settlement Date

> Jane wants to settle earlier than the remaining installment plan.

## Real-World Example

Jane wants to settle earlier than the remaining installment plan. She requests a settlement date, and the portal should update the selected schedule transaction only when the request is valid for the active plan.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Consumer requests settlement date"] --> B["Portal checks active plan and schedule"]
    B --> C{"Settlement date valid?"}
    C -->|Yes| D["Selected transaction is updated"]
    C -->|No| E["Request is blocked"]
    D --> F["Calendar sync follows the updated schedule"]
    classDef default fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef actor fill:#E0F2FE,stroke:#0284C7,stroke-width:2px,color:#0C4A6E;
    classDef system fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef decision fill:#FEF3C7,stroke:#D97706,stroke-width:2px,color:#78350F;
    classDef risk fill:#FEE2E2,stroke:#DC2626,stroke-width:2px,color:#7F1D1D;
    classDef outcome fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D;
    class A actor;
    class B,D,F system;
    class C decision;
    class E risk;
    class F outcome;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should allow settlement-date requests only for active plans and eligible transactions.
* It should keep the consumer informed about the resulting schedule change.
* It should update external calendar events when the date changes.

## How It Should Not Work

* It should not apply settlement-date changes to the wrong account.
* It should not bypass payment-plan constraints.
* It should not leave old calendar dates active after the request succeeds.

## Developer Notes

* This is an active plan action, not a separate new offer.
* Calendar updates should be queued after the schedule change.

## Related App Areas

* `app/Livewire/Consumer/SchedulePlan/RequestSettlementDate.php`
* `app/Livewire/Consumer/SchedulePlan.php`
* `app/Jobs/UpdateCalendarEvents.php`
