@extends('layouts.master') @section('css') @endsection @section('title') E-Invoice @endsection @section('content')

E-Invoice

@if ($ewayBill->status == 'CNL') Cancelled @else Active @endif

@if ($ewayBill->EWBNo != null) E-way Bill @else E-way Bill @endif Print

{{ $einvoice['DocDtls']['Typ'] == 'CRN' ? 'Credit Note' : 'Tax Invoice' }}

IRN: {{ $einvoice['Irn'] }}

Ack No.: {{ $einvoice['AckNo'] }}

Ack Date: {{ $einvoice['AckDt'] }}

{!! QrCode::size(125)->generate($qrCode) !!}

Seller:

{{ $einvoice['SellerDtls']['LglNm'] }}

{{ $einvoice['SellerDtls']['Addr1'] }}

GSTIN: {{ $einvoice['SellerDtls']['Gstin'] }}

Buyer:

{{ $einvoice['BuyerDtls']['LglNm'] }}

{{ $einvoice['BuyerDtls']['Addr1'] }}

GSTIN: {{ $einvoice['BuyerDtls']['Gstin'] }}

Document Details:

Type : {{ $einvoice['DocDtls']['Typ'] }}

No : {{ $einvoice['DocDtls']['No'] }}

Date : {{ $einvoice['DocDtls']['Dt'] }}

Eway Bill Details:

Ewb No : {{ $ewayBill->EWBNo }}

Ewb Date : {{ $ewayBill->EWBDt }}

Ewb Valid till : {{ $ewayBill->EWBValidTill }}


@foreach ($einvoice['ItemList'] as $item) @endforeach
Sl No. Description of Goods HSN/SAC Quantity Rate Amount
{{ $loop->iteration }} {{ $item['PrdDesc'] }} {{ $item['HsnCd'] }} {{ $item['Qty'] }} {{ $item['UnitPrice'] }} {{ $item['TotAmt'] }}
Taxable {{ $einvoice['ValDtls']['AssVal'] }}
CGST {{ $einvoice['ValDtls']['CgstVal'] }} SGST {{ $einvoice['ValDtls']['SgstVal'] }}
IGST {{ $einvoice['ValDtls']['IgstVal'] }} CESS {{ $einvoice['ValDtls']['CesVal'] }}
Discount {{ $einvoice['ValDtls']['Discount'] }} Oth Chrg {{ $einvoice['ValDtls']['OthChrg'] }}
Rnd Off {{ $einvoice['ValDtls']['RndOffAmt'] }} Grand Total {{ $einvoice['ValDtls']['TotInvVal'] }}

Amount Chargeable (in words): {{ $total }}

@foreach ($einvoice['ItemList'] as $item) @endforeach
HSN/SAC Taxable Value CGST SGST/UTGST Total Tax Amount
Rate Amount Rate Amount
{{ $item['HsnCd'] }} {{ $item['TotAmt'] }} {{ $item['GstRt'] / 2 }}% {{ $item['CgstAmt'] }} {{ $item['GstRt'] / 2 }}% {{ $item['SgstAmt'] }} {{ $item['CgstAmt'] + $item['SgstAmt'] + $item['IgstAmt'] + $item['CesAmt'] }}
Total {{ $einvoice['ValDtls']['AssVal'] }} {{ $einvoice['ValDtls']['CgstVal'] }} {{ $einvoice['ValDtls']['SgstVal'] }} {{ $taxamount }}

Tax Amount (in words) : {{ $taxamountInwords }}


Declaration: We declare that this invoice shows the actual price of the goods described and that all particulars are true and correct.

for {{ $einvoice['SellerDtls']['LglNm'] }}

Authorised Signatory

This is a Computer Generated Invoice

@if ($ewayBill->status != 'CNL')
@endif
Important Notes:
  • Once IRN is cancelled, it cannot be reverted.
  • if you need to cancel e-invoice, you need to cancel E-way first (if generated).
@endsection @section('script') @endsection