@if ($logoDataUri) @endif

{{ $profile->supplierDisplayName() ?: ($team->name ?? 'Invoice') }}

@if ($template->header_text)

{{ $template->header_text }}

@endif
Invoice {{ $jobCard->display_number }}
From
{{ $profile->supplierDisplayName() ?: ($team->name ?? '-') }}
@if ($profile->supplierAddress())
{!! nl2br(e($profile->supplierAddress())) !!}
@endif @if ($profile->invoice_contact_phone)
Tel: {{ $profile->invoice_contact_phone }}
@endif @if ($profile->invoice_contact_email)
Email: {{ $profile->invoice_contact_email }}
@endif @if ($amounts['vat_registered'] && $amounts['vat_number'])
VAT Reg No: {{ $amounts['vat_number'] }}
@endif
Invoice To
{{ $jobCard->customer?->name ?? 'Customer' }}
@if ($customerAddress)
{{ $customerAddress }}
@endif @if ($template->show_vehicle && $jobCard->vehicle?->registration)
Vehicle: {{ $jobCard->vehicle->registration }}
@endif @if ($template->show_order_number && $jobCard->customer_order_number)
Order No: {{ $jobCard->customer_order_number }}
@endif
Invoice date: {{ $invoiceDate->format('d/m/Y') }}
Supply date: {{ optional($supplyDate)->format('d/m/Y') }}
Description: {{ trim((string) $jobCard->summary) ?: ('Job card '.$jobCard->display_number) }}
@if ($amounts['vat_registered']) @endif @forelse ($amounts['line_items'] as $line) @if ($amounts['vat_registered']) @endif @empty @endforelse
Description Qty Mode Net (GBP)VAT % VAT (GBP) Gross (GBP)
{{ $line['description'] }} {{ $line['quantity'] }} {{ $line['mode'] === 'inclusive' ? 'Inc VAT' : 'Ex VAT' }} {{ number_format($line['net'], 2) }}{{ number_format($line['vat_rate'], 2) }} ({{ $line['tax_code'] }}) {{ number_format($line['vat'], 2) }} {{ number_format($line['gross'], 2) }}
No line items
@if ($amounts['vat_registered']) @foreach ($amounts['vat_breakdown'] as $group) @endforeach @endif
Net GBP {{ number_format($amounts['net_amount'], 2) }}
VAT @ {{ number_format($group['rate'], 2) }}% ({{ $group['tax_code'] }}) GBP {{ number_format($group['vat'], 2) }}
Total VAT GBP {{ number_format($amounts['vat_amount'], 2) }}
Total owed GBP {{ number_format($amounts['gross_amount'], 2) }}
@if ($template->payment_block_placement === 'footer' || $template->payment_block_placement === 'both' || $template->payment_block_placement === 'after_totals')
Payment details
@if ($profile->show_bacs_on_invoice && ($profile->bacs_account_name || $profile->bacs_sort_code || $profile->bacs_account_number))
BACS
@if ($profile->bacs_account_name)
Account name: {{ $profile->bacs_account_name }}
@endif @if ($profile->bacs_sort_code)
Sort code: {{ $profile->bacs_sort_code }}
@endif @if ($profile->bacs_account_number)
Account number: {{ $profile->bacs_account_number }}
@endif @if ($profile->bacs_payment_reference_instructions)
{{ $profile->bacs_payment_reference_instructions }}
@else
Please use invoice {{ $jobCard->display_number }} as your payment reference.
@endif @endif @if ($profile->show_stripe_on_invoice && $profile->isStripeConnectConnected() && $profile->stripe_connect_payment_url)
Pay by card: {{ $profile->stripe_connect_payment_url }}
@endif @if ($profile->show_paypal_on_invoice && $profile->isPayPalConnected() && $profile->paypal_payment_url)
Pay with PayPal: {{ $profile->paypal_payment_url }}
@endif
@endif @if ($template->show_late_payment_text)
Late payment: We reserve the right to charge interest and compensation under the Late Payment of Commercial Debts (Interest) Act 1998.
@endif @if ($template->footer_text) @endif @if (!empty($showSentViaJctcrm))
Sent via jctcrm.co.uk
@endif