Invoice Generator
New Invoice
Saved
Settings
Invoice Details
Invoice To
Services
Total
0/-
Saved Invoices
Your Business
Your Details (From)
Bank Details
Contact Info
Google Sheets Sync
Every invoice you generate will be logged to your sheet automatically.

Setup (one-time):
1. Open Google Sheets → Extensions → Apps Script
2. Paste the code below → Save (Ctrl+S)
3. Deploy → New deployment → Web App
   • Execute as: Me
   • Who has access: Anyone
4. Copy the Web App URL and paste it above
function doPost(e) { try { var data = JSON.parse(e.parameter.data); var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); if (sheet.getLastRow() === 0) { sheet.appendRow([ 'Invoice No','Date','Client','Address', 'GST No','Services','Total (INR)','Logged At' ]); } var svcs = (data.services || []) .map(function(s){ return s.desc + ': ' + s.amount; }) .join(' | '); sheet.appendRow([ data.invoiceNo, data.date, data.clientName, data.clientAddress || '', data.clientGST || '', svcs, data.total, new Date().toLocaleString('en-IN') ]); return ContentService .createTextOutput(JSON.stringify({ok:true})) .setMimeType(ContentService.MimeType.JSON); } catch(err) { return ContentService .createTextOutput(JSON.stringify({error:err.toString()})) .setMimeType(ContentService.MimeType.JSON); } }
GENERATING PDF…