Bill To
{{ $invoice->customer->name }}
@if($invoice->customer->kra_pin)KRA PIN: {{ $invoice->customer->kra_pin }}
@endif @if($invoice->customer->billing_address){{ $invoice->customer->billing_address }}
@endifIssued: {{ $invoice->issued_at?->format('d M Y') ?? '—' }}
Due: {{ $invoice->due_at?->format('d M Y') ?? '—' }} @if($invoice->isOverdue()) (Overdue) @endif
| Description | Qty | Unit price | VAT ({{ number_format((float)($invoice->items->first()?->tax_rate ?? 16), 0) }}%) | Total |
|---|---|---|---|---|
|
{{ $item->description }}
per {{ $item->unit }} |
{{ number_format((float)$item->quantity, 2) }} | KES {{ number_format((float)$item->unit_price, 2) }} | KES {{ number_format((float)$item->tax_amount, 2) }} | KES {{ number_format((float)$item->line_total, 2) }} |
| Date | Method | Reference | Amount | Receipt | Status |
|---|---|---|---|---|---|
| {{ $payment->paid_at->format('d M Y') }} | {{ $payment->paymentMethod->name ?? '—' }} | {{ $payment->mpesa_receipt_number ?? $payment->reference ?? '—' }} | KES {{ number_format((float)$payment->amount, 2) }} | @if($payment->receipt) {{ $payment->receipt->receipt_number }} @else Pending @endif | Reverse{{ $payment->reversal_reason }} @endif |