import React, { useState, useEffect, useRef } from "react"; // Simple GST Billing React component (single-file prototype) // - Uses Tailwind CSS classes for styling // - Features: seller/buyer details, add items with HSN, qty, rate, discount, GST rate // - Auto-calculates taxable value, CGST/SGST or IGST based on states // - Save/Load invoices to localStorage, Print/Export using window.print() // - Default export: React functional component export default function GstBillingApp() { const [seller, setSeller] = useState({ name: "Your Business", address: "", state: "Maharashtra", gstin: "" }); const [buyer, setBuyer] = useState({ name: "Customer", address: "", state: "Karnataka", gstin: "" }); const [items, setItems] = useState([ { id: 1, desc: "Sample Item", hsn: "1001", qty: 1, rate: 100.0, discount: 0, gst: 18 } ]); const [invoiceNo, setInvoiceNo] = useState(() ...
Posts
- Get link
- X
- Other Apps
Meesho E-Commerce GST to GSTR1 JSON Convert Meesho GST Report to GSTR-1 JSON Upload your Meesho GST Excel file below. This tool helps you convert it to GSTR-1 JSON format easily. Upload Meesho Excel File: Generate JSON File ✅ Your GSTR-1 JSON file is ready. Download JSON ⚠ Note: File is processed locally or externally. Add your backend or Google Apps Script to handle the file conversion.