Websites, apps & code / Automation
Auto-numbered invoices and slips
Every invoice means copying numbers and adding totals by hand, which invites mistakes.
Fill in your details
Leave blank to use the example. Names are remembered for other prompts too (stored only on your device).
Prompt
Help me auto-number and generate documents. Documents: Delivery orders and receipts numbered like DO-2025-0001 What goes on them: Shop name, customer name, items, quantity, unit price, total Approach: Fill in details and totals and numbers calculate themselves, then print or save as PDF. Please: 1. First ask me 3–5 questions, then list the approach and steps (any cost, which data it touches). Only start after I say OK, and test with fake data only. 2. First sketch the document layout with fake data and build only after I approve. 3. State the numbering rule clearly, including whether it restarts each year or month, which I decide. 4. Totals and subtotals use formulas; teach me to check them once. 5. Put tax rates and company registration details in a settings area that I fill in; do not invent them. 6. Remind me that legal and tax requirements for official documents should be confirmed with the authorities or an accountant. Never ask me to paste passwords, API keys or bank details; if needed, show me where to store them safely (environment variables or the service settings page), not in code or sheets.
Paste it into ChatGPT, Gemini, Claude or Meta AI.
Test result
What we noticed
The AI asked 5 questions and drew a fake-data layout. The yearly restart choice was left to me, and tax rate and registration number stayed as placeholders. The check taught was a hand calculation, 10 x 3 + 2 x 25 = 80.
See what the AI actually wrote
Good, no building yet. First some questions.
Please answer 5 questions:
- Google Sheets or Excel?
- Should delivery orders and receipts have separate number series (DO-2025-0001 for delivery orders, OR-2025-0001 for receipts)?
- Does numbering restart at 0001 each year, or keep counting? A monthly restart is also possible; you decide.
- Does the total include tax or discounts? Any delivery fee?
- Will you print them, or save a PDF to send to customers?
Approach and steps:
- A "Settings" tab: shop name, address, contact, tax rate, company registration number. You fill these in; I do not invent them.
- A "Document" tab: enter customer name, items, quantity and unit price, and the subtotals, total and number appear by themselves.
- A "Log" tab: one row per issued document (number, date, customer, total) for lookup and to prevent duplicate numbers.
- Output: File > Download > PDF, or print directly.
Cost: none. Data touched: only inside this spreadsheet; no outside services.
Layout (fake data):
[Shop name] Delivery Order No: DO-2025-0001 Date: 2025-04-03
Customer: Ah Ming (fake)
| Item | Qty | Unit price | Subtotal |
|---|---|---|---|
| Red bean bun (fake) | 10 | RM 3.00 | RM 30.00 |
| Cheese cake (fake) | 2 | RM 25.00 | RM 50.00 |
Total: RM 80.00
Tax rate: [fill in Settings] Company reg. no.: [fill in Settings]
I only build once you confirm this layout.
Numbering rule (your decision): format "DO-year-4 digits". Option A restarts at 0001 each January; option B keeps counting. I would suggest A, but it is your call. Duplicate prevention: each issued document adds a row to the "Log" tab, and the next number is the largest number in the same year plus 1.
How to check the totals: each subtotal = quantity x unit price; total = sum of subtotals. Work the fake example by calculator: 10 x 3 + 2 x 25 = 80, and the sheet must show the same. Do this check the first time with any new template.
Legal and tax: what an official document must contain (tax number, registration number, retention period and so on) should be confirmed with the authorities or an accountant; I cannot decide it for you. I will not fill in the tax rate; you will.
You never need to give me a password. Answer the questions and confirm the layout and I will build it.
AI tools that suit this
- Gemini Suggested tool Free plan
Google's AI; generates and edits images, works with Gmail and Docs
- ChatGPT Suggested tool Free plan
The most widely used AI chat, for writing, questions and images
- Claude Suggested tool Free plan
Strong at long documents, editing and code
Recommendations only, not sponsored. Check each site for what the free plan includes.
This site is made by FullMark Tech
Want your own website, or your shop spreadsheets automated? FullMark Tech builds business websites and custom Excel tools.