> ## 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.

# Notice Responses

> Jane receives a collection notice and starts a response.

## Real-World Example

Jane receives a collection notice and starts a response. Until the response is completed or converted into an account action, the My Accounts page should keep it visible under Notice Responses so Jane can return and finish.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Consumer starts or receives a notice response"] --> B["Portal stores notice response progress"]
    B --> C["Notice response appears in My Accounts"]
    C --> D{"Response completed?"}
    D -->|Yes| E["Response is sent or offer is submitted"]
    D -->|No| F["Consumer can continue the response"]
    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,C,F system;
    class D decision;
    class E outcome;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should surface notice response records that still matter to the consumer.
* It should let the consumer continue the response from the right step when possible.
* It should keep notice response counts and account status aligned.
* It should include returned notice responses when a payment-declined account is tied to a declined or closed notice response.
* It should show sender details when available and fall back safely when the sender target has been removed.
* It should allow the consumer to delete a returned notice response only when the identity keys match.

## How It Should Not Work

* It should not lose a partially completed response after the consumer leaves the page.
* It should not show another consumer notice image or sender details.
* It should not keep completed responses as unresolved action items.
* It should not mix returned notice responses into the normal Declined / Closed Negotiations tab.
* It should not break the current portal session if the returned notice response being deleted is also the authenticated consumer row.

## Developer Notes

* This tab maps to notice\_responses.
* Notice response work spans StartNoticeResponseController and the Livewire step components.
* Returned notice response cleanup soft-deletes only eligible returned responses. If the deleted row is the authenticated consumer, the app reuses or creates a replacement consumer row so the portal remains usable.

## Related App Areas

* `app/Enums/ConsumerStatus.php`
* `app/Http/Controllers/Consumer/StartNoticeResponseController.php`
* `app/Livewire/Consumer/NoticeResponse/Index.php`
* `app/Livewire/Consumer/MyAccount.php`
* `app/Livewire/Consumer/Traits/MyAccounts/StartOver.php`
