@php use App\Models\CreditNote; $money = fn ($value) => 'R '.number_format((float) $value, 2); $selectedInvoice = $invoice ?? null; @endphp

Credit note setup

Correction details

Choose the invoice, set the credit value, and record why the correction exists. Drafts are safe; issued credit notes affect balances.

@if (! $selectedInvoice) @else @endif @if (! $creditNote->exists) @endif

Refund tracking

Use these fields only when money is being returned to the client. Adjustments can leave them blank.

Optional

Once issued, a credit note is locked and included in invoice balance, dashboard, statement, and PDF calculations.