{{ $header ?? $vendor ?? $invoice->account_name }}
Receipt

{{ $vendor ?? $invoice->account_name }}
@isset($street) {{ $street }}
@endisset @isset($location) {{ $location }}
@endisset @isset($phone) {{ $phone }}
@endisset @isset($email) {{ $email }}
@endisset @isset($url) {{ $url }}
@endisset @isset($vendorVat) {{ $vendorVat }}
@else @foreach ($invoice->accountTaxIds() as $taxId) {{ $taxId->value }}
@endforeach @endisset

Bill to:
{{ $invoice->customer_name ?? $invoice->customer_email }}
@if ($address = $invoice->customer_address) @if ($address->line1) {{ $address->line1 }}
@endif @if ($address->line2) {{ $address->line2 }}
@endif @if ($address->city) {{ $address->city }}
@endif @if ($address->state || $address->postal_code) {{ implode(' ', [$address->state, $address->postal_code]) }}
@endif @if ($address->country) {{ $address->country }}
@endif @endif @if ($invoice->customer_phone) {{ $invoice->customer_phone }}
@endif @if ($invoice->customer_name) {{ $invoice->customer_email }}
@endif @foreach ($invoice->customerTaxIds() as $taxId) {{ $taxId->value }}
@endforeach

@isset ($product) Product: {{ $product }}
@endisset Date: {{ $invoice->date()->toFormattedDateString() }}
@if ($dueDate = $invoice->dueDate()) Due date: {{ $dueDate->toFormattedDateString() }}
@endif Invoice Number: {{ $id ?? $invoice->number }}

@if ($invoice->description)

{{ $invoice->description }}

@endif @if (isset($vat))

{{ $vat }}

@endif

@if ($invoice->hasTax()) @endif @foreach ($invoice->invoiceItems() as $item) @if ($invoice->hasTax()) @endif @endforeach @foreach ($invoice->subscriptions() as $subscription) @if ($invoice->hasTax()) @endif @endforeach @if ($invoice->hasDiscount() || $invoice->hasTax() || $invoice->hasStartingBalance()) @endif @if ($invoice->hasDiscount()) @foreach ($invoice->discounts() as $discount) @php($coupon = $discount->coupon()) @endforeach @endif @unless ($invoice->isNotTaxExempt()) @else @foreach ($invoice->taxes() as $tax) @endforeach @endunless @if ($invoice->rawAppliedBalance() > 0) @endif
Description DateTaxAmount
{{ $item->description }} @if ($inclusiveTaxPercentage = $item->inclusiveTaxPercentage()) {{ $inclusiveTaxPercentage }}% incl. @endif @if ($item->hasBothInclusiveAndExclusiveTax()) + @endif @if ($exclusiveTaxPercentage = $item->exclusiveTaxPercentage()) {{ $exclusiveTaxPercentage }}% @endif {{ $item->total() }}
{{ $subscription->description }} {{ $subscription->startDateAsCarbon()->toFormattedDateString() }} - {{ $subscription->endDateAsCarbon()->toFormattedDateString() }} @if ($inclusiveTaxPercentage = $subscription->inclusiveTaxPercentage()) {{ $inclusiveTaxPercentage }}% incl. @endif @if ($subscription->hasBothInclusiveAndExclusiveTax()) + @endif @if ($exclusiveTaxPercentage = $subscription->exclusiveTaxPercentage()) {{ $exclusiveTaxPercentage }}% @endif {{ $subscription->total() }}
Subtotal {{ $invoice->subtotal() }}
@if ($coupon->isPercentage()) {{ $coupon->name() }} ({{ $coupon->percentOff() }}% Off) @else {{ $coupon->name() }} ({{ $coupon->amountOff() }} Off) @endif -{{ $invoice->discountFor($discount) }}
@if ($invoice->isTaxExempt()) Tax is exempted @else Tax to be paid on reverse charge basis @endif
{{ $tax->display_name }} {{ $tax->jurisdiction ? ' - '.$tax->jurisdiction : '' }} ({{ $tax->percentage }}%{{ $tax->isInclusive() ? ' incl.' : '' }}) {{ $tax->amount() }}
Total {{ $invoice->realTotal() }}
Applied balance {{ $invoice->appliedBalance() }}
Amount due {{ $invoice->amountDue() }}