@extends('layouts.app') @section('title', 'GSTR-1') @section('page-title', 'GSTR-1 — Outward Supplies') @section('content')
Download PDF
{{-- Summary cards --}}

Total Invoices

{{ $data['total_invoices'] }}

Taxable Value

₹{{ number_format($data['total_taxable'], 2) }}

Total GST

₹{{ number_format($data['total_cgst'] + $data['total_sgst'] + $data['total_igst'], 2) }}

Total Invoice Value

₹{{ number_format($data['total_value'], 2) }}

{{-- B2B / B2C breakdown --}}

B2B (Registered)

{{ $data['b2b_count'] }}

₹{{ number_format($data['b2b_taxable'], 2) }}

B2C Large

{{ $data['b2c_large_count'] }}

Inter-state > ₹2.5L

B2C Small

{{ $data['b2c_small_count'] }}

All other B2C

{{-- Invoice list --}}

Invoice Details — {{ \Carbon\Carbon::parse($period)->format('F Y') }}

@forelse($data['invoices'] as $inv) @empty @endforelse
Invoice # Date Customer GSTIN Supply Type Taxable CGST SGST IGST Total
{{ $inv->invoice_number }} {{ $inv->invoice_date->format('d M Y') }} {{ $inv->customer_name }} {{ $inv->customer_gstin ?: '—' }} {{ $inv->supply_type === 'inter_state' ? 'Inter' : 'Intra' }} ₹{{ number_format($inv->taxable_amount, 2) }} ₹{{ number_format($inv->cgst_amount, 2) }} ₹{{ number_format($inv->sgst_amount, 2) }} ₹{{ number_format($inv->igst_amount, 2) }} ₹{{ number_format($inv->total_amount, 2) }}
No invoices for this period
Totals ₹{{ number_format($data['total_taxable'], 2) }} ₹{{ number_format($data['total_cgst'], 2) }} ₹{{ number_format($data['total_sgst'], 2) }} ₹{{ number_format($data['total_igst'], 2) }} ₹{{ number_format($data['total_value'], 2) }}
{{-- HSN Summary --}} @if(count($data['hsn_summary']) > 0)

HSN/SAC Summary

@foreach($data['hsn_summary'] as $row) @endforeach
HSN/SAC Description Qty Taxable Value CGST SGST IGST
{{ $row['hsn_code'] }} {{ $row['description'] }} {{ number_format($row['total_quantity'], 2) }} ₹{{ number_format($row['taxable_value'], 2) }} ₹{{ number_format($row['cgst'], 2) }} ₹{{ number_format($row['sgst'], 2) }} ₹{{ number_format($row['igst'], 2) }}
@endif @endsection