- 1
- 273 066
Automagic
United States
เข้าร่วมเมื่อ 7 ก.พ. 2021
Learn how to build cool things that save you time (mostly in python).
How to Automate Invoice Creation with Google Sheets, Docs and Forms
Automate invoice (and other document) creation using Google Forms, Sheets and Docs.We’ll use Apps Script to create a workflow that automatically populates a document template using responses from a Google Form.
Template: docs.google.com/document/d/1ZjogMs3I4HhA8OjkopABjaxFL5_i5Li-fv7XU0FDhrM/copy
Google Forms Phone Regular Expression Pattern: \+?\(?\d{2,4}\)?[\d\s-]{3,}
Google Forms Email Regular Expression Pattern: [a-zA-Z0-9_\.\+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-\.]+
Apps Script Code: gist.github.com/automagictv/48bc3dd1bc785601422e80b2de98359e
Template: docs.google.com/document/d/1ZjogMs3I4HhA8OjkopABjaxFL5_i5Li-fv7XU0FDhrM/copy
Google Forms Phone Regular Expression Pattern: \+?\(?\d{2,4}\)?[\d\s-]{3,}
Google Forms Email Regular Expression Pattern: [a-zA-Z0-9_\.\+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-\.]+
Apps Script Code: gist.github.com/automagictv/48bc3dd1bc785601422e80b2de98359e
มุมมอง: 273 103
Using Google Sheets, Docs, and Forms to automate invoices is a creative approach, but for those who want a simpler and more professional solution, InvoiceBerry is worth checking out. It offers ready-to-use templates and automation features that make invoicing hassle-free for freelancers and small businesses.
hi, I'd like to find out if I have a Google Sheets (Excel) with some price for a list of products, is it possible if I already have created a Google Forms working as an order taking system for users to input variables (quantity) thereby automating invoice creation and total amount purchased for the user?
How to change the currency symbol in the final print??
How do I get the download of your template
oh dear. I recreated it for a 6th time, identical and with zero changes, and although the script almost works, I have the following error message in my email: " Exception: Document is missing (perhaps it was deleted, or you don't have read access?) "
What a great tutorial! Thanks so much for this! Do you know why I keep getting a debug error on var last_row = sheet.getLastRow() - 1 which stops the 'on submit form' option from appearing. I have been trying to solve this for about 3 hours now.
There is entire product sheetifycrm, that used this as basis exactly and made it used.
How would you add ONE MORE STEP at the end of auto invoice creation, and add a required signature for both parties to sign?
Can the template be used without Forms? Meaning directly pull information from database google sheets into the invoice template and automate the document creation of the invoices?
ARGH! I've been able to follow all the instructions up to about 7:30 minutes into the video. When I click "Debug" I get the following error code: "4:06:50 PM Error An unknown error has occurred, please try again later." Any suggestions? I'm so excited about being able to set up this invoicing system. Would hate to scrap it at this point. Thanks!
This is amazing. Is there a way that you can have the invoice automatically sent to a designated email once it's generated?
How about a way to automatically email the invoice?
@automagic - This tutorial is super clear and the step by step is really helpful. One hiccup - in GitHub, the file and folder template names we are to replace with URL excerpt are not editable. Not sure if someone modified the script or what, but without that, seems there's a big blocker! Help, please!
It didn't show the menue on my macbook named, createDocFromForm only myFunction. Where should I find it?
how do i change curreny
Hi! I am automating a SoW creation process by adding titles and subtitles sections (three per section) but the qty of sections can vary dynamically. I need to put these sections within the doc but I only manage to put them at the beginning of it. Is there a way that the script can read and interpret the text through a "flag" or "placeholder"?
i dont have script editor what do i do
Spent an hour on it. Filled out the form. response recorded. Nothing shows up in google drive.
I tried to add the tax script but keep getting error
Thank you - your video is great and very helpful! At the end of the video you mentioned you welcome thoughts/comments/questions - so I'd like to ask about the following: I'm wondering whether issuing invoices could be automated in a way that when I rent office and want to issue a new invoice each month automatically (i.e. every 25th of a month) with new invoice number (+1) with the same parameters - and possibly automatically send to customer (predefined email address)? Thanks a lot.
@Automagic What do you do to change discount to tax and how do you get the subtotal and tax to add to the Balance Due?
I tried to adjust the appscript to indicate the addition of tax, versus the subtraction of discount with subtotal, but now it adds an additional 0's in the balance. (Ex: $200.00 price, tax 19.95; Total comes to $20019.95. Subtotal $200.00 Tax $19.95 Balance Due $20019.95 Can someone help me fix this issue? Otherwise I find this invoice amazing! Thank you
YOU ARE AGREAT PERSON TOP MIND GOOD SET
If you have done this work only to teach people, then you would have given complete ease How to enter the values you have entered in the pattern section and the video is forwarded in the middle Company name Email and address options How to fill No SIM
question, IS it possible to grab data from a google sheet and have it sent to a form such as a bill of sale in my case? I would need to data enter into the google sheet and when filles out select a trigger to send it to the bill of sale so it can be printed for customer to sign.
Thank you for the video it was really helpful. I have a question for you. How can I add customer name and address to the form and also remove due date. Thank you
Please how can I download the template?
Thank You so much
Ya wondering how to get the totals to add up on the invoice..you said not to add them to the form but never said how to add that function..& as well as how do you get your new invoice (when saved in my drive folder) automatically titled with date stamp and invoice number? 😮😮 NEED HELP PLEASE RESPOND! lol
Hey great video, curious how you add the subtotal and total features?
Gah! Mine didn't work. Back to the drawing board.
@Automagic Thank you very much for this, it help a lot
I am trying to simplify my small business workflow, we have two shops in different towns and want to use the Google suite to share all data between the two shops. ideally, we would want to use a google form for initial data entry of customer details and products wanted, then later edit that data in the Google sheet created with either a form which can be linked to a row or a doc linked to a row. simply put is there a way to open a form or doc which relates to one customer, then edit that data in that form or doc and then have that data saved automatically back to the Google sheet before invoice creation?
I know this is an old video. However is there a way to have the invoice number auto-generate for the next available number? I am trying to make this super easy for someone who doesn't have the greatest computer skills.
Did anyone figure this out?
❤❤❤Thank you.
Best video I've found as a beginner. I am having trouble, in Apps Script the only function option is MyFunction, not createdocfromform. Is there something I need to do to make this accessible?
Hi, can i use my own invoice template?
This is wonderful! How would you change it so that people can order multiple numbers of each product? I sell books. Also can the discount be done in a percentage? Thanks!
Hello Author: When adding trigger. The Option on submit does not appear. Is this option been moved. Please help
Litterally not helpful at all. What the difference in typing the information intho the form instead of typing the information into the template?
I would like to include quantity and have that add up with the option to add VAT is this possible?
I have difficult with adding discount options,price, & seeing script showing excel attachments.
6:07 there's no Tools -> Script Editor in the menu anymore. Why! Why!?? F'ing google do you think it's OK to change the UI of a perfectly working app???? I had this thing working for years and now my scripts aren't saving because permissions. Arghhhh!!!!! Seriously, how many people get hurt because their sh*t gets stolen vs how many get inconvenienced by some dumba** company that thinks it's ok to reset your password or to remove permissions from something that was perfectly working before. Arghhhh!
heya! i just got this working today. instead of [ Tools > Script Editor ] it's now under [ Extenstions > Apps Script ]
Is there a way to automate an invoice line item from a database by using a part number in the form?
When I hit debug, I just got an error message that says "Exception: Invalid argument: parent.mimeType createDocFromForm @ Code.gs:121". What should I do?
AutomagicTV, the new doc showed up in the correct Drive (yay!), but it's showing all the original template information, not the Form responses. Is there a way to use/modify your code with a template that I created based on (but not using) your template link?
Thank you for sharing , can I include terms and conditions ?
This is a great vid. So I have about 4 or 5 regular clients who I invoice regularly. Is it possible to adapt this so that when it comes to enter the client's details, rather than have to type in first name, last name, address etc, I can just type "Bob" and all of Bob's details will be auto-filled? Or maybe just choose the client from a drop down with their details pre-loaded?
Is there a way to automate a pdf document and send via email?
what is the script code
where is the app script code?