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

# Reseller Partners

> A reseller partner brings ABC Collections to YouNegotiate.

## Real-World Example

A reseller partner brings ABC Collections to YouNegotiate. Super Admin creates or updates the partner record so future creditor revenue share can be calculated correctly.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Super Admin creates partner"] --> B["Partner details are saved"]
    B --> C["Creditor is associated with partner"]
    C --> D["Revenue share can be calculated"]
    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 outcome;
    class C system;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should let Super Admin create and manage partner records.
* It should support partner association with creditor companies.
* It should preserve revenue-share settings used in billing.

## How It Should Not Work

* It should not calculate partner share from the wrong partner.
* It should not remove partner context from historical transactions.
* It should not expose partner management to non-Super Admin users.

## Developer Notes

* Partner records can affect membership and YN share billing calculations.
* Be careful with changes to partner revenue-share values.

## Related App Areas

* `app/Livewire/Creditor/ManagePartners`
* `app/Services/PartnerService.php`
* `app/Console/Commands/ProcessCreditorPaymentsCommand.php`
