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.
Real-World Example
ABC Collections is charged for its monthly membership renewal. The charge should appear in Billing History with the amount, status, and invoice option. If that renewal payment fails and the plan expires, ABC Collections should see the failed record and be able to retry the payment after confirming a valid membership payment method exists.Visual Flow
How It Should Work
- It should show billing records for the creditor’s company.
- It should include membership billing, YouNegotiate share billing, communication-related billing, and over-limit billing where applicable.
- It should allow invoice downloads for supported billing records.
- It should allow billing history export when records exist.
- It should allow failed membership payment reprocessing only when payment is actually due.
How It Should Not Work
- It should not show billing records from another creditor.
- It should not allow invoice downloads for records that do not exist.
- It should not retry a payment when no payment is due.
- It should not retry a failed payment without a valid membership payment method.
- It should not export an empty billing history as if it contains records.
Developer Notes
- Invoices, exports, and retries must stay tied to the creditor company that owns the billing record.
- Payment retry actions should only run when payment is actually due and a valid payment method exists.
Related App Areas
app/Livewire/Creditor/BillingHistoryPage.phpapp/Console/Commands/ProcessCreditorPaymentsCommand.phpapp/Services/YnTransactionInvoiceService.php