You are currently viewing Get Paid Fast: Creating an Automated Invoicing System
Get Paid Fast: A Do-It-Yourself Automated Invoicing System by Robotics Ready

Get Paid Fast: Creating an Automated Invoicing System

We will show how to create an automated invoicing system that will do the following for you:

  1. Calculate hours worked
  2. Create an invoice
  3. Store the invoice in Google Drive
  4. Send the invoice via email to the relevant party (i.e., HR, accounting)

This invoice automation solution will prove useful for freelancers and small business who wish for a standardized process capable of delivering instant productivity gains. Invoicing software for small business need not be expensive as this example will show you. There are many advertisements for free invoicing software for small business, but they provide extremely limited capability, and eventually the user is forced to upgrade. As you see from this example below – additional custom functionality can be easily built to suit your needs as well.

Step 1: Create Timesheets

  • The first step is to create a couple of timesheets (here we are using an application called Harvest)
Step 0 - Timesheet in Harvest

 

Step 2: Create a new scenario to pull in timesheet data

  • Next, we create a new scenario & configuring the Harvest module to pull in the timesheet data
Step 1 & 2 - New Scenario Creation & Configuring the Harvest module

 

Step 3: Do the maths!

  • Here we figure out the total number of hours worked and multiply by our hourly rate to get the total amount for our invoice.
Step 3 - Total hours by hourly rate calculation

Step 4: Set up filters to pull proper data

  • Next, we set up a filter to pull in only the entries that were created in the previous month. This filter is set up between the two modules we created above
  • We also set up some variables to calculate the due. These variables will be used in later steps
Step 4 & 5 - Setting up filters and variables

 

Step 5: Create a custom invoice from the invoice template

  • We now create an invoice from a Google Doc template located in our Google Drive
Step 6 Creating the invoice
Step 7 Connecting Invoice Template to the bot

 

Step 6: Setup Google Drive for OAuth permissions

  • Next, we will create automation to fill up the above template with relevant data, and download it so that it can be emailed to the customer. But before we are able to download we will need certain special permissions to be granted to our bot. Both steps are shown below
Set up OAuth for Google Drive
Download and email the invoice

 

Step 7: Email invoice to the customer

  • Next, we will configure Gmail to send the invoice to the customer
Step 8 Configuring the Gmail module

 

Step 8: Testing Run!

  • Testing time – This is where the rubber meets the road! We will run the scenario once and see if everything works out fine.
Automated Invoicing System

 

Step 9: Test Results

  • Seems like we are all set! The scenario was executed without a hitch. Below screenshots show the email received, the invoice in pdf format that was attached, and the original invoice copy that was created and stored in our Google Drive
Step 9 Test Run Results - Email Received
Step 9 Test Run Results - Invoice Received
Step 9 Test Run Results - Invoice Stored in Google Drive

 

This is a simple use case where we demonstrated how to create an automated invoice generation bot without needing to buy some expensive software to do the same work and with barely any coding. I hope you have enjoyed this case study! Happy automating!

Robotics Ready offers cloud-based bots that make RPA open to all small businesses. We assist you with getting everything rolling with RPA rapidly, effectively, and with minimal charge: and with the right toolset. Contact us today!