Receipt

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

{{ $header ?? $vendor ?? $invoice->account_name }}
{{ $vendor ?? $invoice->account_name }}
@isset($street) {{ $street }}
@endisset @isset($location) {{ $location }}
@endisset @isset($country) {{ $country }}
@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
Recipient
{{ $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
@if ($invoice->description)

{{ $invoice->description }}

@endif @if (isset($vat))

{{ $vat }}

@endif
@if ($invoice->hasTax()) @endif @foreach ($invoice->invoiceLineItems() as $item) @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->hasAppliedBalance()) @endif
Description Qty Unit priceTaxAmount
{{ $item->description }} @if ($item->hasPeriod() && ! $item->periodStartAndEndAreEqual())
{{ $item->startDate() }} - {{ $item->endDate() }} @endif
{{ $item->quantity }} {{ $item->unitAmountExcludingTax() }} @if ($inclusiveTaxPercentage = $item->inclusiveTaxPercentage()) {{ $inclusiveTaxPercentage }}% incl. @endif @if ($item->hasBothInclusiveAndExclusiveTax()) + @endif @if ($exclusiveTaxPercentage = $item->exclusiveTaxPercentage()) {{ $exclusiveTaxPercentage }}% @endif {{ $item->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() }}