{{-- Print bar (hidden when printing) --}} {{-- ── HEADER ── --}}

VAT Registration No: {{ config('ppsa.vat_number', '4400000000') }}
{{ config('ppsa.address_line1', '123 Performance Drive') }}
{{ config('ppsa.address_line2', 'Cape Town, 8001') }}
South Africa
{{ config('mail.from.address') }}

Tax Invoice

{{ $invoice->invoice_number }}

Invoice Date: {{ $invoice->invoice_date->format('d F Y') }}
Order Reference: #{{ $order->id }}
Order Date: {{ $order->created_at->format('d F Y') }}

{{-- ── ADDRESSES ── --}}
{{-- Delivery / Bill-to --}}

Delivery / Ship To

@if($order->billing_company_name) {{ $order->billing_company_name }}
@endif {{ $order->shipping_name }}
{{ $order->shipping_email }}
@if($order->shipping_phone){{ $order->shipping_phone }}
@endif {{ $order->shipping_address }}
{{ $order->shipping_city }}@if($order->shipping_province), {{ $order->shipping_province }}@endif {{ $order->shipping_postal_code }}
{{ $order->shipping_country ?? 'South Africa' }} @if($order->is_export)
Export / International @endif

{{-- Seller (always PPSA) --}}

Billing (Buyer Details)

@if($order->billing_company_name) {{ $order->billing_company_name }}
@if($order->billing_vat_number) VAT No: {{ $order->billing_vat_number }}
@endif @if($order->billing_reg_number) Reg No: {{ $order->billing_reg_number }}
@endif @else {{ $order->user->name ?? $order->shipping_name }}
@endif {{ $order->user->email ?? $order->shipping_email }}

{{-- ── LINE ITEMS ── --}} @php $vatRate = $order->is_export ? 0 : 15; $taxLabel = $order->is_export ? '0% (Export)' : '15%'; $shippingExcl = $order->is_export ? $order->shipping_cost : round($order->shipping_cost / 1.15, 2); $shippingVat = $order->is_export ? 0 : round($order->shipping_cost - $shippingExcl, 2); @endphp
Invoice Line Items
@foreach($order->items as $item) @php $lineExcl = round($item->unit_price_excl * $item->qty, 2); @endphp @endforeach @if($order->shipping_cost > 0) @endif
Product / Description Reference Qty Tax Rate Unit (excl.) Total (excl.)
{{ $item->product_name }}
@if($item->brand_name)
{{ $item->brand_name }}
@endif
{{ $item->part_number ?: '—' }}
{{ $item->qty }} {{ $taxLabel }} R {{ number_format($item->unit_price_excl, 2) }} R {{ number_format($lineExcl, 2) }}
Shipping & Handling
{{ $order->shipping_carrier ?? 'The Courier Guy' }}
1 {{ $taxLabel }} R {{ number_format($shippingExcl, 2) }} R {{ number_format($shippingExcl, 2) }}
{{-- ── TOTALS + TAX SUMMARY (side-by-side) ── --}} @php $productsExcl = $order->subtotal_excl; $productsVat = $order->is_export ? 0 : $order->vat_amount; $totalExcl = $productsExcl + $shippingExcl; $totalVat = $productsVat + $shippingVat; @endphp
{{-- LEFT: Tax Summary --}}

Tax Summary

@if($order->is_export) @else @if($order->shipping_cost > 0) @endif @endif
Tax Category Base (excl.) Rate Tax Amt
Zero-rated (Export — VAT Act s11(1)(a)) R {{ number_format($totalExcl, 2) }} 0% R 0.00
Standard Rate — Products R {{ number_format($productsExcl, 2) }} 15% R {{ number_format($productsVat, 2) }}
Standard Rate — Shipping R {{ number_format($shippingExcl, 2) }} 15% R {{ number_format($shippingVat, 2) }}
Total VAT R {{ number_format($totalExcl, 2) }}   R {{ number_format($totalVat, 2) }}
@if($order->is_export)
Zero-rated Export: Goods exported outside the Republic of South Africa are subject to VAT at 0% in accordance with Section 11(1)(a) of the Value-Added Tax Act, No. 89 of 1991. The supplier's VAT registration number is {{ config('ppsa.vat_number', '4400000000') }}.
@endif
{{-- RIGHT: Totals --}} @if($order->is_export) @else @endif @if($order->credit_applied > 0) @endif
Products (excl. VAT) R {{ number_format($productsExcl, 2) }}
Shipping (excl. VAT) R {{ number_format($shippingExcl, 2) }}
Total (excl. VAT) R {{ number_format($totalExcl, 2) }}
VAT — Zero-rated (Export) R 0.00
VAT (15%) R {{ number_format($totalVat, 2) }}
Store Credit Applied − R {{ number_format($order->credit_applied, 2) }}
Total {{ $order->is_export ? '(Zero-rated Export)' : '(incl. VAT)' }} R {{ number_format($order->total_incl, 2) }}
{{-- ── PAYMENT & SHIPPING ── --}}

Payment

Method: {{ strtoupper($order->payment_method ?? 'Card') }}
@if($order->payment_ref)Reference: {{ $order->payment_ref }}
@endif @if($order->yoco_charge_id)Yoco Charge ID: {{ $order->yoco_charge_id }}@endif @if($order->credit_applied > 0)
Store Credit: R {{ number_format($order->credit_applied, 2) }} applied @endif

Shipping

Carrier: {{ $order->shipping_carrier ?? 'The Courier Guy' }}
@if($order->shipping_service)Service: {{ $order->shipping_service }}
@endif @if($order->waybill_number) Waybill: {{ $order->waybill_number }} @else Waybill: Pending dispatch @endif

{{-- ── FOOTER: Disclaimer + Banking Details ── --}}
This document constitutes a valid tax invoice as required by Section 20 of the Value-Added Tax Act, No. 89 of 1991 (South Africa). @if($order->is_export) Zero-rated in terms of Section 11(1)(a). @endif  |  {{ $invoice->invoice_number }}  |  SARS-compliant tax invoice.