@php $isEdit = $invoice->exists; $items = old('items', $items); @endphp
@csrf @if ($isEdit) @method('PUT') @endif
@unless ($isEdit)
Assigned on save for the invoice date’s financial year (1 Apr – 31 Mar), e.g. 2026-27/3.
@endunless
@error('client_id')
{{ $message }}
@enderror
@error('kind')
{{ $message }}
@enderror
@error('amc_contract_id')
{{ $message }}
@enderror
@error('purchase_order_id')
{{ $message }}
@enderror
Optional. Saved POs for the selected client.
@error('invoice_date')
{{ $message }}
@enderror
@error('due_date')
{{ $message }}
@enderror
@error('tax_rate_gst')
{{ $message }}
@enderror
@error('status')
{{ $message }}
@enderror
@error('currency')
{{ $message }}
@enderror
Used only for dashboards and income posting.
@error('exchange_rate')
{{ $message }}
@enderror

Line items

@error('items')
{{ $message }}
@enderror
@foreach ($items as $index => $item) @endforeach
Description HSN/SAC Qty Unit price Amount
@error('items.'.$index.'.hsn_code')
{{ $message }}
@enderror
{{ money((float) ($item['quantity'] ?? 0) * (float) ($item['unit_price'] ?? 0)) }}
Subtotal {{ money(0) }}
GST {{ money(0) }}
Total {{ money(0, 2, old('currency', $invoice->currency?->value ?? 'INR')) }}
INR equivalent {{ money(0) }}
@include('partials.gst-split', [ 'igstRate' => $invoice->tax_rate_igst ?? $setting->igst_rate ?? 0, 'cgstRate' => $invoice->tax_rate_cgst ?? $setting->cgst_rate ?? 9, 'sgstRate' => $invoice->tax_rate_sgst ?? $setting->sgst_rate ?? 9, 'igstAmount' => $invoice->tax_amount_igst, 'cgstAmount' => $invoice->tax_amount_cgst, 'sgstAmount' => $invoice->tax_amount_sgst, 'currencySymbol' => $invoice->currencyEnum()->symbol(), 'help' => 'Calculated from the invoice subtotal using company defaults. You can override the % or the amount. Prints still show GST '.$setting->default_tax_rate.'% as a single line.', ])
@error('notes')
{{ $message }}
@enderror
@push('scripts') @endpush