AI Sales & Inventory System – Google Sheets Apps Script
- Google Sheet link
- Source code file
- Resale rights
- Edit rights
- Setup guide
- AI setup help

Mohammad Rameez Imdad
Founder of Rameez Scripts. I build these systems myself and help you set them up.
- 33K+YouTube subscribers
- 348+free tutorials
- 4+ yrsbuilding since 2022
Key Features
Description
A sales and inventory ERP that runs on Google Sheets, covering the full trading cycle — quotation, sales order, invoice, payment, ledger — with an AI chat assistant sitting on top of your own data. Built as an Apps Script web app, so there is no server to rent and no database to configure.
What it does
A customer asks for a price: you build a quotation with searchable customer and product pickers, apply discounts per line or across the total, and watch the document render live beside the form. Print it, email it, or mark it accepted and convert it to a sales order in one click — and only then does stock move. Confirmed orders become invoices with your tax rate applied, and every transaction posts to the customer ledger, which you can filter by date range and print. Suppliers work the same way in reverse: purchase orders, supplier ledgers and payments recorded against a balance.
Highlights
- Stock deducts on the sales order, never on the quotation — the distinction that keeps inventory honest
- Products in pieces, kilograms, litres or boxes, with plus/minus stock adjustments that record a reason
- Reports for sales, top customers, top products, inventory, receivables and profit and loss
- Tax settings for GST, service tax and sales tax, editable rather than hard-coded
- Three roles — admin, sales manager, sales staff — with an About App page documenting what each one can do
- Currency symbol, app name and logo set once and applied everywhere, including printed documents
- SWR loading: data caches locally and refreshes silently in the background instead of reloading the page
The AI chat assistant
Add your own OpenAI API key in settings, pick a model, and ask questions in plain English — "top five customers by revenue", "unpaid invoices over 30 days". It reads your sheets and answers from the real figures. The key is yours, so you control the model and the spend.
Who it is for
Distributors, wholesalers and trading businesses that quote before they sell and need stock, receivables and profit in one place. The five AI prompts used to build it are included if you want to extend it yourself.
Requirements 6
- A Google account (Gmail or Google Workspace)
- Google Sheets as the database — no server or MySQL needed
- Google Apps Script web app deployment access
- Modern browser (Chrome, Edge, Firefox or Safari)
- Optional: an OpenAI API key if you want the AI chat assistant
- No AI subscription needed to run the app itself
What's Included 11
- Full Apps Script source code (Code.gs + index.html)
- Google Sheets database structure with demo data
- Quotation, sales order and invoice modules
- Customer and supplier ledgers with print
- Products, inventory and stock adjustment
- Purchase orders and expenses
- Reports suite including profit and loss
- AI chat assistant wiring for your own OpenAI key
- The 5 AI prompts used to build the system
- Full video walkthrough
- Free support and paid customization on request
Item Details
| Version | v1.0 |
| Published | Apr 17, 2026 |
| Platform | Google Apps Script |
| Database | Google Sheets |
| Category | CRM & Sales, Inventory & Warehouse |
| Video | Watch walkthrough |
| License | Regular License |
Need this customized for your business?
Extra modules, your branding, integrations or reports built on top of this file. You get a clear quote and timeline before any work starts, and support after delivery.
20–30% advance to start · Clear quote before work begins · Support after delivery
What we customize
- Features & functionsNew features, changes to existing scripts, custom formulas and automations
- API & integrationsWhatsApp, payment gateways, CRM and more
- Design & UI changesYour branding, layout redesign, dark mode, mobile layout
- Full custom projectsDashboards, billing, inventory, CRM, built from scratch
People choose these
What buyers of this file added to the same order
Build a Full ERP System From Google Sheets in Minutes (No Code AI App Builder)
3 buyers took both
Vibe Coding Just Got FREE: This AI Builds Full Apps AND Dashboards From One Prompt (Google Sheets)
2 buyers took both
How to Build an ISP Billing System: Automated WhatsApp & Call Features
2 buyers took both
Reviews & Feedback
What buyers and YouTube viewers say about this project.