Kraft helps small companies keep track of invoices and other docs
Essential Craft

© Lead Image © Erwin Wodicka, Fotolia.com
If you're running a small company, and you can't seem to keep up on invoices, orders, and other business documents, time to have a look at Kraft.
After a few years of silence, 2018 has seen several releases of Kraft [1], an application for the Linux desktop that was designed to help small businesses create quotes, invoices, and other business documents. Kraft is a free, GPL-licensed application that runs on Linux and is built with Qt – thus, it works best on KDE desktop systems. And, as stated on the project's welcome page: You don't need a cloud. Kraft lets you keep control of your data and the data of your customers.
Kraft is highly customizable. It supports two database options, and many of its settings are easily configured through a settings dialog or config file. By predefining hourly rates, units, and wages, and by building a logical structure of the item templates, you can greatly reduce the non-billable hours you spend tending to accounting details. Output appears as a high-quality PDF that you can print on company stationery (paper) or send directly to the customer.
The Kraft project was initiated by the ownCloud developer and former SUSE manager Klaas Freitag in 2007. Since then, Kraft has seen lots of releases and updates. The developers took a long pause starting in 2015, and active work resumed again in 2018. The name Kraft is a pun on "craft" and the German word kraft, which means "physical strength" – hence the logo (Figure 1).
Freitag is still in charge of large parts of the work, but a growing community is there to help him, and some of the Kraft users have become his customers. See the box entitled "Interview with Kraft Founder Klaas Freitag."
Interview with Kraft Founder Klaas Freitag
Linux Magazine: Why and when did you initiate Kraft?
Klaas Freitag: I started Kraft around 2004. My brother, who owns a landscaping company, has used it since the early days, and beside that motivation, I think I started Kraft because this kind of software is lacking in the FOSS portfolio.
Before Kraft, there have been two other versions of comparable software, one on Atari ST and one based on Microsoft Access 2.0. Neither was open source. In 2006, I gave a presentation about Kraft on Akademy in Dublin.
LM: Do you know companies that actually use Kraft?
KF: Yes, I know around 10 companies that use it on a daily basis. It is handcrafters, farmers, and also freelancers in the IT area. A pretty big range, also geographically. There is even somebody in New Zealand working with Kraft.
LM: What are the coolest features?
KF: My favorite features are the templates, the great PDF output, [and] the tagging to support discounted items.
LM: What is missing; where do you need cooperation?
KF: It's a lot of details, small things that kill productivity. And since Kraft is for saving people time, the small details matter. Apart from that, the Kraft project is missing promotion. The target group of users is not too deep into Linux yet, and that has to change, because the Linux world has a lot to offer.
LM: Do you have a business model in mind? Support? Services?
KF: No business motivation from my side. There was once some consulting around Kraft, but I am not sure how active that is at the moment.
LM: How big is the community?
KF: Too small. Developers prefer to work on media players.
LM: Well, community size and software quality does not seem to be correlated – what were your guiding principles when you started the project? How can you develop a stable, functional open source application without a large community behind it?
KF: I do not know if this can be generalized, but five guiding principles led our development – and they are inspired by the needs of the customers in the small-medium business enterprise:
1) Do not try to provide all features one can think of; stay real; KISS.
2) Do not solve problems that are too big (Datev interface, complex XML formats for catalogs, etc.).
3) Do not expect the users to be interested in software in general or even in Linux or open source. Kraft is a tool they can use to give them more time for their profession and company. Nobody should have to deal with office programs.
4) Make the features that exist easy and intuitive to use.
5) Run on the users' computer to protect important data. If it runs in the cloud, it should only be a private cloud.
LM: What are your plans on future developments? If you could dream, what would you like to have?
KF: I would like to see some kind of management for down payments, partial payment, and installments, [and] then integration with Cloud – best in ownCloud. Also on my list are catalog sharing, publishing documents online, much more reporting, and, last but not least, more cross platform stuff, including a Mac OS X version.
LM: What is a question about Kraft?
KF: How can Kraft be better known and grow the community?
Features
The Kraft project was designed with the assumption that the companies who are using Kraft also work with a tax consultant. Even though Kraft stores all documents, the assumption is that most users will have the docs stored on paper as well. When it comes to document creation or address management, Kraft does not attempt to reinvent the wheel. Wherever possible, Kraft depends on existing solutions, such as KDE's KAddressBook, which makes it easy to have Google, ownCloud/Nextcloud address books attached without the need for address book adapters. The address management interface has recently been redesigned to make it easier to integrate with other sources, like Mac OS X.
Kraft keeps a plain list of documents in its main view, with the most recent ones on top of the list. If you want to know how much business happened in a certain year or month, just click on the month or year in the tree view (Figure 2). Clicking on a document in the list will reveal the most relevant details about a document.
Installation
If you are running openSUSE, a simple zypper in kraft
will install Kraft, at least for those who agree to install its dependencies. On an up-to-date Tumbleweed system, the dependencies are:
kraft libctemplate3 python2-libxml2-python python2-olefile python2-Pillow python2-PyPDF2 python2-reportlab
Kraft is also packaged for Mageia and Ubuntu and available for Arch Linux. Everybody else should be served with the AppImage from the website or by building the sources.
After installation, a simple kraft
will start the program – and a wizard (Figure 3) will guide you through the setup process. All local data will be stored in $HOME/.local/share/kraft
, and a config file called kraftrc
in your local .config
directory will look like the file in Listing 1. Remember: Kraft is highly integrated in your desktop; thus, if you end up with euros as a currency for your installation, you can wish to change to another currency; you can make the change through your desktop settings – in my case, the control center of my KDE system.
Listing 1
kraftrc
If you want to use a MySQL database as back end for Kraft, all you have to do is log in as root on your mysqld
(mysql -u root
) and type CREATE DATABASE kraft;
. All you need to do now is hand over the database server's address or name plus login credentials to the setup wizard, and there you go.
Some changes and new features may require changes in the kraftrc
file. For instance, you can configure a different mail client for the "send invoice" function of Kraft. (KDE Kontact/KMail is the default.) If you prefer Thunderbird or another mail client, just add mailUA=xdg
to the [system]
section. If the [system]
section doesn't exist, you will have to create it.
Starting Kraft
When you start Kraft for the first time, a wizard guides you through the setup process. The wizard is simple, clear, and focused – and since the GUI also offers a Reset
function, first time users can play around without risk.
The wizard picks up and sets up the database, tests it, asks for a schema (if needed), and takes on the address book integration.
To create a document in Kraft, the user works in a simple editor that has entries for the document header, the items, and the document footer. Users do not need to care about the layout and can concentrate on the document contents. Kraft does the rest and even enables document workflows from offer to invoice with several steps in between.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
News
-
Fedora 39 Beta is Now Available for Testing
For fans and users of Fedora Linux, the first beta of release 39 is now available, which is a minor upgrade but does include GNOME 45.
-
Fedora Linux 40 to Drop X11 for KDE Plasma
When Fedora 40 arrives in 2024, there will be a few big changes coming, especially for the KDE Plasma option.
-
Real-Time Ubuntu Available in AWS Marketplace
Anyone looking for a Linux distribution for real-time processing could do a whole lot worse than Real-Time Ubuntu.
-
KSMBD Finally Reaches a Stable State
For those who've been looking forward to the first release of KSMBD, after two years it's no longer considered experimental.
-
Nitrux 3.0.0 Has Been Released
The latest version of Nitrux brings plenty of innovation and fresh apps to the table.
-
Linux From Scratch 12.0 Now Available
If you're looking to roll your own Linux distribution, the latest version of Linux From Scratch is now available with plenty of updates.
-
Linux Kernel 6.5 Has Been Released
The newest Linux kernel, version 6.5, now includes initial support for two very exciting features.
-
UbuntuDDE 23.04 Now Available
A new version of the UbuntuDDE remix has finally arrived with all the updates from the Deepin desktop and everything that comes with the Ubuntu 23.04 base.
-
Star Labs Reveals a New Surface-Like Linux Tablet
If you've ever wanted a tablet that rivals the MS Surface, you're in luck as Star Labs has created such a device.
-
SUSE Going Private (Again)
The company behind SUSE Linux Enterprise, Rancher, and NeuVector recently announced that Marcel LUX III SARL (Marcel), its majority shareholder, intends to delist it from the Frankfurt Stock Exchange by way of a merger.