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

# My Billing Details

> Jane enters her billing address before using a payment method.

## Real-World Example

Jane enters her billing address before using a payment method. The portal should save the billing details needed for payment processing and then continue her setup flow.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Consumer opens My Billing Details"] --> B["Portal loads billing form"]
    B --> C["Consumer enters billing address"]
    C --> D{"Billing details valid?"}
    D -->|Yes| E["Portal saves billing details"]
    D -->|No| F["Consumer fixes billing details"]
    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,C,F actor;
    class B,E system;
    class D decision;
    class E outcome;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should collect billing details required for payment setup and saved payment methods.
* It should validate the address before saving.
* It should support first-time setup and normal profile edits.

## How It Should Not Work

* It should not create payment profiles using incomplete billing details.
* It should not apply billing details to another consumer.
* It should not trap first-time consumers without a clear next step.

## Developer Notes

* First-time billing setup can redirect the consumer toward portal personalization.
* Billing details are consumer profile data, not creditor account configuration.

## Related App Areas

* `app/Livewire/Consumer/Profile/MyBillingDetails.php`
* `app/Livewire/Consumer/Forms/Profile/BillingDetailForm.php`
* `app/Services/Consumer/PaymentProfileCreationService.php`
