Elastix Invoicing
12 months ago I was searching around for a simple invoicing module. I didnt want to setup a2billing and I just wanted to be able to rate the calls of my existing extensions in FreePBX. Elastix already had a way to rate calls so this module puts everything together. The features of the module are
- Create PDF invoices for your FreePBX extensions.
- Create a template with your company name and logo.
- Have multiple company templates to bill multiple customers on 1 phone system.
- Automate your invoicing by having the invoices automatically generated and emailed to you each month.
This module was built for Elastix 1.6. It is loaded through the Elastix interface, not through freePBX. Log into elastix and go to system, then load module. Click browse and select the module. Once you have selected the module, upload it and it should say module loaded successfully. In your tabs across the top there should be a new invoicing tab next to the agenda tab. This module wont work with Trixbox.
When installing you may find yourself with an error saying this module isnt the call centre. Simply edit file /var/www/html/modules/load_module/index.php and remove this line
$file_name = “elastix-callcenter_1.5-1.zip”;
Download the file here http://www.mbit.com.au/ict-invoice_1.2.0-mbit.tar.gz
If you have any feedback please send it to mail@mbit.com.au
Screenshots






April 29th, 2010 at 4:58 am
Very nice, I will test it
Will it also work with Trixbox?
April 29th, 2010 at 9:53 am
The following error(s) occurred processing the uploaded file:
* Filename not in correct format: must be modulename-version.tar.gz (eg. custommodule-0.1.tar.gz)
You should fix the problem or select another file and try again.
April 29th, 2010 at 3:12 pm
I uncompress this file then make tar zcvf invoice-1.2.0.tar.gz dirinvoice but still get error.
The following error(s) occurred processing the uploaded file:
•File extracting to invalid location: ict-invoice/
•File extracting to invalid location: ict-invoice/modules/
•File extracting to invalid location: ict-invoice/modules/invoice_create/
.
.
.
•File extracting to invalid location: ict-invoice/.svn/all-wcprops
•File extracting to invalid location: ict-invoice/menu.xml
You should fix the problem or select another file and try again.
April 30th, 2010 at 7:24 pm
I just installed it with Elastix 1.6.2-1 and it installed successfully. To troubleshoot the issues you will need to post your version of elastix.
Oscar you will need to do a lot of work to make it compatible with trixbox.
April 30th, 2010 at 9:26 pm
Hi Mark
I’m using elastix 1.6.2-1 with freepbx 2.7.0.2.
In freepbx-module admin – upload module, it wouldn’t have it, just gave the filename not in correct format message. I think it doesn’t like the hyphen or the underscore in the filename. Since the installation stopped there, I didn’t look any further.
.
April 30th, 2010 at 10:24 pm
Hope we can have an installation procedure like the one you published for the Hotel Mangement System for Elastix.
April 30th, 2010 at 11:33 pm
The module is a elastix module not a freePBX module.
In Elastix go to the system tab, then there is a load module button. Go into it and load the module in there.
April 30th, 2010 at 11:46 pm
I have updated the post with more instructions if you are having issues.
May 1st, 2010 at 12:52 am
I had always assumed that the elastix Load Module tab replicated the freepbx function, dumb me!, should have realized that it uses Elastix Billing, . Thanks, it installed fine.
May 2nd, 2010 at 2:27 pm
Hi,
I’m uploading the file tar.gz but this error is showed after the upload is completed:
Archivo installer.php no existe en el paquete
File installer.php does not exits on the package.
I’m using elastix 1.6 version.
Regards,
May 2nd, 2010 at 4:42 pm
Did you edit the file stated in the post?
May 2nd, 2010 at 5:10 pm
Hi there, I installed the invoice module but when trying to create the New Company Template I got an sql error, I tried different ways without success.
May 2nd, 2010 at 5:13 pm
Try making sure all the fields have data in them. There seems to be an issue in the database and one of them cant be left empty.
May 2nd, 2010 at 8:26 pm
I filled all the fields in different ways and couldn’t find the way to create the Company Template and couldn’t find the way to open the invoice database with mysql either.
May 6th, 2010 at 8:45 am
This is just what I’m looking for. When I to install the package through the elastix wui I get the error that this packages does not have an install.php file. I’m using v1.6 (29-10-2009 iso file). Can you post a work around or a manual way of installing this package?
Thanks.
May 6th, 2010 at 4:24 pm
Have you edited /var/www/html/modules/load_module/index.php as per the original post?
May 7th, 2010 at 5:01 am
[...] This post was mentioned on Twitter by Fonlogic. Fonlogic said: Elastix Invoicing http://goo.gl/BtgA [...]
May 7th, 2010 at 6:33 am
Yes I edited the file and removed the line. I still get the error “File installer.php doesn’t exist in package”. I un-tarred and re-zipped the file with no luck.
May 7th, 2010 at 10:36 pm
I would do a yum update to take your version to 1.6.2-1
May 8th, 2010 at 11:06 am
Thank you. Updated to 1.6.2-2 and the module installed just fine.
May 19th, 2010 at 2:32 pm
It is nice to see that you have provided access of ictinovice code to community but it would be more appreciated if you give some credit to its developer Nasir Iqbal from ICT Innovations too
regards
Tahir Almas
ICT Innovations
May 20th, 2010 at 7:13 am
I also receive the Elastix error: ‘File installer.php doesn’t exist in package.
1. I am unable to find the file /var/www/html/modules/load_module/index.php after opening the download in an unzip program.
2. Also, I cannot find an update from Elastix 1.6-12 on the Elastix website?
Please assist on how to locate the file to be edited.
Thanks to the developer
June 14th, 2010 at 9:15 pm
My Elastix Version is ,Linux elastix.example.com 2.6.18-164.el5.When i upload Module through Elastix Module i get error
File installer.php doesn’t exist in package ??
how to resolve issue.
thanks in advance .
June 14th, 2010 at 9:44 pm
Please update elastix to the latest version and it should install.
June 22nd, 2010 at 7:55 am
This sounds like a great feature. Does this mean that the Elastix PBX can be used as a multi-tenant solution?
June 25th, 2010 at 11:36 am
Happy to announce new release of ICT Invoice with some bug fixed available at http://sourceforge.net/projects/ictinvoice/
June 28th, 2010 at 12:46 pm
Visit voip info pages for further help
http://www.voip-info.org/wiki/view/ICTInvoice++an+open+source+Elastix+module+for+invoice+managment
July 29th, 2010 at 11:18 pm
Thanks a lot for the blog article.Really looking forward to read more. Fantastic.
August 12th, 2010 at 9:55 pm
ERROR: Query Error: INSERT INTO company (company_name, address1, address2, address3, suburb, state, postcode, logo_path, linerent, company_email, company_web, grace_days, invoice_day, tax_description, tax_percentage) VALUES (’t5252′, ’shenzhen’, ”, ”, ”, ‘China’, ‘518000′, ‘dell1.png’, 12, ‘ttlq@lin.cn’, ”, 20200801, 1, ”, )
Why not database?
August 16th, 2010 at 11:37 am
Hi james , you might missed some input fields however fixed in new version
Try new version available at sourceforge
http://sourceforge.net/projects/ictinvoice/files/ict-invoice_1.2.4-beta.tar.gz/download
August 18th, 2010 at 8:54 pm
INSERT INTO company…this is Mysql process.
But I can’t found company table in database with phpmyadmin.
base: Elastix 1.6.0
August 22nd, 2010 at 3:30 am
you did not mention version of ictinvoice ?, recommended is ictinvoice-1.2.4 with elastix 1.6.2.x
let me know if this does not work ?
August 26th, 2010 at 3:28 am
Sorry!
ict-invoice_1.2.0 & ict-invoice_1.2.4 both dose not work in Elastix 1.6.0
September 1st, 2010 at 12:36 am
@james
You are getting this error due to empty Tax Percentage. You have to enter a valid tax percentage, if tax is not applicable then it must be zero.
And regarding phpmyadmin, ICTInvoice use sqlite db instead of mysql. located at /var/www/db/invoice.db
September 2nd, 2010 at 9:32 pm
Now is working.
Thank you very much!