Using SQL-Ledger for Your Business
Back in the late 1990s, I started looking for a good accounting software package for Linux. I was disappointed by all the offerings I found; none was up to snuff or even looked like it might ever be. Then, about three and a half years ago, I stumbled on SQL-Ledger (SL) written by Dieter Simader (see the “Making Open Source Work” sidebar).
Making Open Source Work
Dieter Simader is the author of SQL-Ledger. He started the project four years ago. His software has taken off since then, and he now works on SL full-time. He's made his open-source project, released under the GPL with no cost to others to use, his primary source of income.
So how does one make a living off free software? If you visit the SL site, you can see that Dieter offers support contracts, which are all reasonably priced. His software is of high quality, and his offerings include data conversion, pay-as-you-play support and support for the development version if you need the more advanced features. He also sells the software manual that tells you not only how to use his program but how to customize screens for all users or for certain users, using SL's API.
These value-added features are well worth the price and should be considered essential for any business. Although businesses can hire someone else to do what Dieter does, including supporting the software, customizing templates and importing data, few could do the work as well as Dieter.
As a consultant, my clients usually want to deal with me, not someone on another continent whom they don't know. For that convenience, they are willing to pay a premium. So I tack a small percentage on to Dieter's price, pay Dieter and we're both happy. He gets work and is paid for supporting his program. I get an annoyance fee, because my clients will annoy me if the software doesn't work to their satisfaction. This model also serves as a good way to expand into markets where the author doesn't speak the language, so additional revenue also serves as a translation fee. SQL-Ledger is proof that open-source business models can work.
To be honest, at first glance I thought SQL-Ledger wasn't yet an offering for a serious business. It lacked point of sale (POS), payroll and a number of other features. But, based on its ease of installation, its flexibility and a number of other factors, not the least of which was the author's rather ambitious to-do list, I tried it out.
I used SQL-Ledger for my IT consulting business, Pananix, SA, and it proved to be more than adequate. I could input customers and vendors, create invoices and orders, and print basic reports, including trial balance, income statement and balance sheet. SL even had rudimentary support for goods and services reports covering product inventory and services.
Because I currently live in a Spanish-speaking country, I anticipated problems. I'm not familiar with Spanish accounting terms, but the laws of this country require that the program interface and all statements and reports be in Spanish for the natives and tax auditors. Fortunately, SL is written in such a way that users can choose the language they require. That means I can see everything in English, while my accountant and the local tax authorities see Spanish—perfectly legal. If a language doesn't exist, it can be added easily. This feature was not well supported in any other accounting package I looked at and was a major factor for me in choosing SL.
Installation was a breeze back when I first looked at SL, but it's even easier now. The biggest stumbling block for most people involves the few requisite Perl modules for database support. A second stumbling block comes with the configuration of PostgreSQL itself, but all these are covered in the instructions and FAQ. As long as they are followed to the letter, even newbies shouldn't have any difficulty. The problems seem to arise when folks wander off on their own and deliberately or accidentally make changes affecting permissions, occasionally permissions on the database itself.
Once Perl and whatever supported database you want to use are set up, the rest is easy. MySQL is not supported and will be only when it provides certain parts of the SQL-92 standard it is now missing. PostgreSQL is the database used for design and testing, but Oracle and DB2 also work.
You also need to configure your Web server of choice to access SL, but that involves only copying a few lines to httpd.conf and restarting it. If you install SL under your DocumentRoot, even this step can be omitted, as long as you can run CGI scripts from below your DocumentRoot. If you want to print reports to disk as PDF files, you need to make sure you have LaTeX installed.
The currently recommended installation practice for SL itself is to use the author's supplied setup.pl file to handle everything for you. This makes it difficult to go wrong, and the script also is used to upgrade SL. The author recently included code to test the database itself during upgrades to ensure you don't have version mismatches between the database and the code. If you do, it automatically upgrades it (nice touch, that).
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
- RSS Feeds
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- Dynamic DNS—an Object Lesson in Problem Solving
- New Products
- Validate an E-Mail Address with PHP, the Right Way
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- Download the Free Red Hat White Paper "Using an Open Source Framework to Catch the Bad Guy"
- Tech Tip: Really Simple HTTP Server with Python
- Keeping track of IP address
1 hour 36 min ago - Roll your own dynamic dns
6 hours 49 min ago - Please correct the URL for Salt Stack's web site
10 hours 1 min ago - Android is Linux -- why no better inter-operation
12 hours 16 min ago - Connecting Android device to desktop Linux via USB
12 hours 45 min ago - Find new cell phone and tablet pc
13 hours 43 min ago - Epistle
15 hours 12 min ago - Automatically updating Guest Additions
16 hours 20 min ago - I like your topic on android
17 hours 7 min ago - This is the easiest tutorial
23 hours 42 min ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




Comments
Timely review of SQL-Ledger
I've always known about SQL-Ledger and I'm hoping that it's still doing well. I really feel that business owners need to wake up a bit and ditch the QB addiction -- just as a lot of people are waking up to Linux (especially Mandriva 2010, Linux Mint 8, PCLinuxOS 2009, SimplyMEPIS, and Ubuntu).
And why doesn't Intuit have the foresight to make a QB client for Linux? Surely they can see the writing on the wall and knowing that Windows is a pain in the a#s for many users.
Cheers!
- Max (aka Max "The IT pro")
SQL-Cheque
If we can send cheque's through SQL-Ledger directly will be great and also uploading a file option to upload checks and all necessary statement would be great.
Don't Think About Using SQL-Ledger - Just Do It !
After using Quickbooks for a year I was really annoyed to find it stops working when the year is up and you are expected to buy the 'latest' version.
Even if you don't need the latest features you have to buy it in order to get to you last years data! Needless to say I exported the lot and transferred it software that isn't run by a money hungry company wanting to keep its shareholders happy - no I switched to SQL-Ledger and haven't looked back.
Installation was straight forward, but I must say I was new to Ubuntu Linux so its probably a complete doddle for anyone who knows what they're doing!
Everything is there you need from a standard accounting base. It does force you to work with the accounts without any of the pretty screens I was used to in Quickbooks but considering how much I'm saving (plus I'm learning how accounting actually works), its well worth it.
Backing up your data is a necessity for any accounting system and SL has a brilliant feature for emailing a copy of the file to yourself. Considering my 2 years of data occupies about 100kb zipped its never a problem regarding size. This way even if your complete system dies, there will be a copy on your mail server (when "Leave on server" is enabled in your mail client).
Adjusting the templates for your own use is fairly easy. The HTML ones are fine and the PDF ones just need a bit of thought before you plough in... Backing these up is also very handy as I've been known to install a new version and forget that templates are not part of the routine backup plan.
There is a manual available which is worth getting but not essential from day one. It gives very in depth details on how the system works and how to modify it for your needs. I'd try the system out first then buy the manual when you are ready. Either way its worth it!
Updates are regular and bug fixes - when there are any - appear quite promptly.
Being web based makes deployment much easier when you have lots of machines and printing isn't a problem. Just remember to turn off header and footer information in the browser so it doesn't stick a horrible "Page 1 of 1" and URL on everything!
Sending emails of invoices is quite useful but not all customers are geared up for e-commerce yet. Its sometimes easier to post an invoice as they can cope with a paper copy! For those that have the inclination however, it does mean you get paid a little quicker...
Any way thats my two penny worth (or two cents for our kind friends in the US!)
Brian Clark
Re: Using SQL-Ledger for Your Business
I have been using this great program under mandrake linux for a multisite consulting business, because it works. The constant improvements and ability to modify it, should convert any quickbooks power user. The latest round of improvements leave out really only CRM and Payroll functions to round out a near mature product.
Re: Using SQL-Ledger for Your Business
We use it for a small multnational company, and the login being available via the internet (and adequate security of course!!) makes it a breeze to use. A truly excellent function system - and with the blessing that it is flexible enough to be altered in those "little ways" by someone with a modest amount of knowledge to make it a truly useful system for small businesses.
Re: Using SQL-Ledger for Your Business
How many concurrent users can SL support?
SQL-Ledger stores it's data i
SQL-Ledger stores it's data in a database and runs through a webserver app of your choice (apache is common)
The easiest database to use is PostgresQL, but Oracle and others have been supported in the past.
MySql is not currently supported since Mysql lacks features that SQL-Ledger requires.
That said.... the number of concurrent users is really dependent on the speed of your webserver and database server, not on a limitation of the SQL-Ledger software.
Many people run it on older hardware and have a lot of users accessing it with no speed problems.
There is a lot of good info available from users on the SQL-ledger mailing list.
You can access it via www.sql-ledger.org
Re: Using SQL-Ledger for Your Business
Thanks David for such an informative article.
SQL-Ledger country specifics
Hello,
I am browsing software to find an open source accounting solution for our small company. My question is wether sql-ledger supports accountancy rules specific to Belgium?
Hello Hakem. It depends on
Hello Hakem.
It depends on what you mean specifically.
Go to www.sql-ledger.org and join the mailing list.
That way you can ask any Belgian users how they are implementing it.
I am looking for something ju
I am looking for something just like this to help run my business but at the moment I use Quick Books Pro 2003 for all my fincancials. Is it possible to integrate the two?
Using SQL-LEDGER for your business
I am considering the question of "integrating": QuickBooks and SQL-Ledger but only because my CPA uses QuickBooks, and I have 5 years records in MySQL If the question were one of "porting" data between QB and SQL, if INTUIT are still using an XML format for their ledger dumps
it might not be hard to do. But I don't know yet whether Intuit still
use QBXML and how different their parser is from the standard ones.
But I do not really understand why one would wish to integrate the two systems. If it's a question only of retraining personnel used to QB to use SQL-L, then perhaps it makes sense to have the two sysems
intercommunicate. As long as Intuit still uses XML to describe the
semantics of the numbers and phrases in a dump of the ledger, it
seems to me perhaps that one would need to only to write an XML
schema of their dump, and another for the way you want your chart of accounts to be in SQL-L, and then use XMLT to translate from one to the other.
But I haven't actually tried anything, so readers should take what I say with a grain (if not at least a tespoon) of salt).
John Gabriel
PS I'm at present busy putting 5 years of data in SQL into QuickBooks (If it turns out that I can) so that I can give all of our accounting to somebody who is trained to do it. So, I'm unlikely
to answer any E-mail until I have found my way through that problem.
It also seems possible by judicious use of XML to make a simple
minded SQL General Ledger, or other accounting procedure have the
"look and feel" of QuickBooks. Many years ago I helped convert
a G/L A/P A/R written in BASIC for a WANG? microprocessor running
what I think was an INTEL 8008 to CP/M BASIC for an 8080, and until
DBASE appeared on the scene It was quite fairly popular among the brave folks who did their accounting on an ALTAIR instead of an IBM 7090 or 360/20
Thanks for the answer John. I
Thanks for the answer John. I currently use the payroll service amongst other things and I am not 100% ready to cut the cord and leave QB. Let us know how your latest project went.
Thanks again for taking the time. It is appreciated.
A few of my clients using SQL
A few of my clients using SQL-Ledger have out source pay roll. I can't remember the name of the company they are using but it's costing them less to have a third party do pay roll, plus they get direct deposit. I hate QB, it has cost most of my client $1000's over the years to maintain everything and since it runs on Windows it's cost money to keep updating the OS. The only reason they run is because their CPA wants it.
My $0.02
In Canada the payroll company
In Canada the payroll company is called Ceridian.