Local business management for freelancers and small businesses. business.liberacode.dev
README.md

business #

business is a local business management application for freelancers and small businesses. It runs in its own window and starts from the application menu. The Debian package and the command are named liberacode-business. It keeps client, product, offer, invoice, credit-note, payment, tax-report, and configuration data on the user's own device in a SQLite database.

The application does not include an account system, a cloud backend, or a full accounting suite, and it does not depend on external services. It makes no requests to other hosts. Releases and the newest version are published at business.liberacode.dev.

Screenshots #

Dashboard with upcoming recurring invoices, recent invoices and recent payments Detail page of a partly paid invoice with totals, seller, buyer and lines Statistics with current figures and charts per month

More screenshots in light and dark theme are in docs/screenshots/.

Highlights #

Always available:

  • Clients and products with configurable automatic numbering, and PDF documents per client
  • Business fields, tax rates with VAT categories, and units with UN/ECE codes
  • Invoices, credit notes, and cancellations that cannot be changed after creation
  • E-invoices: every document is a PDF/A-3 with embedded XML in the ZUGFeRD/Factur-X format (profile EN 16931) or, per client, as XRechnung 3.0 for German public authorities; the XML can also be downloaded as a separate file
  • Automatic financial calculations in exact cent amounts, without floating-point rounding errors
  • Partial payments and credit-based settlement tracking
  • English and German application and document languages
  • Product translations and configurable document terminology
  • A stored PDF for each invoice, credit note, and cancellation created in the application, which does not change after creation, with optional company logo and a selectable font
  • CSV import and export, including the import of invoices and payments created before using the application (with optional upload of their original PDFs)
  • Local SQLite storage; the database is updated automatically on startup
  • Backup of the complete database with one click, and restore of such a backup
  • System, dark, and light themes

Modules, turned on and off in Configuration > Modules; a new installation starts without them:

  • Offers: offers with the statuses draft, sent, accepted and declined, a PDF in the invoice layout, and an invoice created from an accepted offer
  • Inventory: stock per product with goods receipts, corrections and a movement history, and delivery notes without prices, which move the stock when they are issued, with a PDF, returns, and invoices created from one or more delivery notes
  • Recurring Invoices: manual recurring-invoice plans
  • Reports: the tax report with CSV export
  • Statistics: figures and charts with amounts per month

Scope #

The application tracks business data and invoices. It is not a double-entry accounting application. Automatic email delivery, banking integrations, cloud synchronization, multi-user access, and automated recurring issuance are outside the current scope. Stock is tracked per product through delivery notes, goods receipts and corrections; warehouses, purchase prices, suppliers and purchase orders are not included. Payment reminders, discounts on the document total (discounts are per line), and the recording of refunds are also not included.

For users #

On Debian, Ubuntu and other distributions based on them (x86_64), download the .deb package from business.liberacode.dev and install it with sudo apt install ./liberacode-business_<version>_amd64.deb. apt also installs the system libraries that the application window needs. Start the application from the application menu or in a terminal with liberacode-business. Closing the window ends the application. On other systems, run the application from source.

The user manual describes the setup, the screens and the workflows. It is in the application under Configuration > User Manual and in the repository as docs/user-manual.md. Section 2 describes the installation, and Appendix A.1 the database location.

This README and the user manual describe the current state of the main branch. The main branch can contain changes that are not released yet; they are listed in CHANGELOG.md, section Unreleased. The manual in the application describes the installed version.

Build and run from source #

The source is tested on Linux only. It contains the database paths for macOS and Windows and the window menu for macOS, but it is not tested on these systems, and there are no packages for them.

Requirements on every system:

  • Node.js 24.2 or later, with npm
  • Git
git clone https://tangled.org/liberacode.dev/business
cd business
npm install
npm run build:frontend
npm run dev

Open the printed address in a browser, by default http://127.0.0.1:47111/#token=…. The part after #token= is a secret of this start; after a restart, open the newly printed address. The browser mode is only for development; the release contains only the desktop application. npm run dev uses the database dev-data/app.db and the port 47111, not the data of an installed release. It restarts the server after every source change. LIBERACODE_DB_PATH and LIBERACODE_PORT override the database and the port, for example LIBERACODE_PORT=47112 npm run dev. On Windows, set the variables in the syntax of your shell, for example $env:LIBERACODE_PORT = "47112" in PowerShell.

npm run dev:desktop builds the frontend and the desktop application and starts it in an Electron window with the same database. It needs the Electron binary; npm does not run the install script of the package, so download the binary once with npx install-electron. Use it to test the behavior of the application window. It is not rebuilt after a source change.

To use the desktop application with the database of your user account instead of the development database, build it and start Electron directly:

npm run build:frontend
npm run build:desktop
npx electron .
System Database
Linux ${XDG_DATA_HOME:-$HOME/.local/share}/liberacode-business/app.db
macOS $HOME/Library/Application Support/liberacode-business/app.db
Windows %LOCALAPPDATA%\liberacode-business\app.db

On Linux, this is the database that an installed release uses. LIBERACODE_DB_PATH sets another database file.

Development #

npm run dev              # development server for a browser
npm run dev:desktop      # desktop application with the development database
npm run check            # formatting, lint and type check
npm test                 # unit and integration tests
npm run build:frontend   # frontend build into dist/frontend/
npm run build:desktop    # main process and preload script into dist/desktop/
npm run package          # Debian package into dist/release/ (Linux)

Tests use in-memory or temporary databases. npm run package uses electron-builder, which downloads its packaging tools at the first run.

Architecture, rules for the code base, migrations, security model, e-invoice validation and versioning are described in docs/development.md.

License #

business is licensed under the MIT License; see LICENSE. The third-party components in the release binaries and their licenses are listed in THIRD-PARTY-NOTICES.md.