Point of sale

TakePOS cash closing

dolixcloture · version 1.0.0

Bank deposits, withdrawals to the safe, cash in and cash expenses recorded from TakePOS, a count by notes and coins, and the discrepancy booked so that the cash account matches the drawer.

Price
€49 excl. VAT
Dolibarr
19.0 minimum
Version
1.0.0
Licence
GPL v3+
Languages
French, English, German, Spanish

Sold directly to businesses in France

Direct purchase, with immediate download and an invoice by email, is open to businesses and associations established in France, on the French page of this module. From elsewhere, write to support@dolix.fr.

Support and contact

Try it without installing anything: the online demo (login demo, password demo; sample data, reset every night; the demo is in French).

Closing count in the window opened from TakePOS: €185.00 counted, a −€0.80 discrepancy shown in red, and the box to record it in the cash account.
Closing count in the window opened from TakePOS: €185.00 counted, a −€0.80 discrepancy shown in red, and the box to record it in the cash account.
01

What the module does

  • A “Cash” button in the TakePOS action bar opens a window with two tabs: Movement and Count. The terminal is the one of the open till.
  • Four cash movements: bank deposit (drawer to a bank account), withdrawal to the safe, cash in (float, change, from the safe or another account) and expense paid with money from the drawer, with a required label.
  • Deposit, withdrawal and cash in are internal transfers, written like those of the Bank menu (two linked entries). An expense is a miscellaneous payment debited from the cash account.
  • Expected amount = actual balance of the terminal's cash account: sales, movements and any other entry included. The window shows the detail since the last count (or since the start of the day): payments received, transfers, expenses and discrepancies, other entries.
  • Opening or closing count by notes and coins. The counted total and the discrepancy are shown while you type; the server recalculates them when saving.
  • “Record the discrepancy in the cash account” box, ticked by default: the discrepancy becomes a “Cash discrepancy” miscellaneous payment, credited for a surplus, debited for a shortage. The cash account matches the drawer again.
  • Several counts per day are possible, for example at each change of cashier. Each count keeps its cashier and the detail of notes and coins.
  • After a closing count, the window reminds you of the cash amount to declare and offers “Do the Dolibarr cash control”: the core form opens with the terminal already selected. If today's cash control is already done, the window says so.
  • Amounts typed are read the same way in every language: “12,50” means €12.50, even in an English interface.
  • History in the Bank menu: a Counts tab and a Movements tab, filters by terminal and dates, link to each bank entry.
  • Settings: safe account, deposit account, accounting accounts for shortages, surpluses and expenses (optional), list of notes and coins (euros by default).
02

Who it is for

In Dolibarr, the TakePOS cash control computes the expected amount from the terminal's invoice payments only. Bank deposits, withdrawals to the safe and expenses paid in cash during the day are not included, and the discrepancy found when counting is recorded nowhere: the Dolibarr cash account ends up no longer matching the drawer.

In Dolibarr, the TakePOS cash control computes the expected amount from the terminal’s invoice payments only.

Bank deposits, withdrawals to the safe and expenses paid in cash during the day are not included, and the discrepancy found when counting is recorded nowhere. The Dolibarr cash account ends up no longer matching the drawer.

Who it is for: Grocery shops, farm shops, bakeries, direct sales and markets, and any shop that takes cash with TakePOS and wants the Dolibarr cash account to match the drawer.

03

What the module does not do

This section appears on all 29 module pages, without exception.

  • Only cash is counted. Cheques and bank cards are still handled by Dolibarr; no cheque deposit slips.
  • The Dolibarr cash control is not modified: its own calculation still ignores movements. The module shows its own expected amount, then sends you to the Dolibarr cash control with the counted amount to declare.
  • Each terminal needs a cash account in the TakePOS setup, and the window opens from the till (it reads the current terminal).
  • The accounts used must be in the company currency: accounts in another currency are refused.
  • No bank category is set on the module's entries.
  • The history shows at most 500 lines; by default, the last 30 days.
  • From version 19 to 23, expenses and discrepancies, like any miscellaneous payment, are written by Dolibarr to the unalterable log. Under 19.0.4, Dolibarr also writes PHP warnings to its log for each miscellaneous payment, whether entered by the module or by hand (a core defect).
  • The module alone gives no guarantee of compliance with cash register software regulations and has not been reviewed by any body.
  • Not tested: multicompany, browsers other than Chrome, and a mouse walkthrough in TakePOS on versions other than 24.0.2.
04

How it works

A “Cash” button in TakePOS

The module adds a “Cash” button to the TakePOS action bar, for cashiers who have the permission. It opens a window with two tabs, Movement and Count, for the terminal of the open till. At the top of the window: the terminal’s cash account, the expected amount and what happened since the last count.

Cash movements

  • Bank deposit: cash taken out of the drawer and paid into a bank account.
  • Withdrawal to the safe: cash taken out of the drawer and put in the safe.
  • Cash in: cash added to the drawer (float, change), from the safe or another account.
  • Expense: a purchase paid with money from the drawer; the label is required.

Deposit, withdrawal and cash in are internal transfers, written like those of the Bank menu (two linked entries). An expense is a miscellaneous payment debited from the cash account. It is what you would do by hand in the Bank menu, without leaving the till.

The count

Opening or closing count, with a quantity per note and per coin. The counted total and the discrepancy are shown while you type; the server recalculates them when saving.

The expected amount is the actual balance of the terminal’s cash account: sales paid in cash, movements and any other entry on that account. The window details what happened since the last count, or since the start of the day: payments received, transfers, expenses and discrepancies, other entries.

You can count several times a day, for example at each change of cashier. Each count keeps its cashier and the detail of notes and coins.

The discrepancy booked

With the “Record the discrepancy in the cash account” box, ticked by default, the discrepancy becomes a “Cash discrepancy” miscellaneous payment: credited for a surplus, debited for a shortage, with the accounting account chosen in the settings. The cash account matches the drawer again. With the box unticked, the discrepancy is only noted in the history.

Then the Dolibarr cash control

After a closing count, the window reminds you of the cash amount to declare and offers “Do the Dolibarr cash control”: the usual form opens with the terminal already selected. If today’s cash control is already done, the window says so. The closing itself remains Dolibarr’s.

Amounts

“12,50” is read as €12.50 whatever the user’s language, even in an English interface where Dolibarr would take the comma for a thousands separator.

The history

A “Cash counts” entry in the Bank menu, with a Counts tab (expected, counted, discrepancy, booked or not, cashier) and a Movements tab (type, cashier, other account, label, amount, link to the bank entry). Filters by terminal and dates.

A closing count in the window opened from TakePOS, under Dolibarr 24.0.2, with demonstration data: €185.00 counted, a −€0.80 discrepancy shown in red while typing, and the box that records it in the cash account.

The history in the Bank menu, Movements tab: the evening bank deposit, the “Paper bags” expense and the recorded cash discrepancy, each with its link to the bank entry.

The history in the Bank menu, Movements tab: the bank deposit, the expense and the recorded cash discrepancy, each with a link to its bank entry.
The history in the Bank menu, Movements tab: the bank deposit, the expense and the recorded cash discrepancy, each with a link to its bank entry.
05

Settings

The setup page is reserved for administrators. It reminds you of each terminal’s cash account, set in the TakePOS setup.

Setting Default Effect
Safe account none Suggested for withdrawals and cash in. If needed, create a “Cash” type account named “Safe”.
Deposit account none Bank account suggested for cash deposits.
Accounting account for cash shortages empty Optional, copied to the miscellaneous payment of a shortage.
Accounting account for cash surpluses empty Optional, copied to the miscellaneous payment of a surplus.
Accounting account for expenses paid in cash empty Optional, copied to the miscellaneous payment of an expense.
Notes and coins €500 to €0.01 Values separated by commas, with a dot for cents.
The setup page, reserved for administrators: cash account of each terminal (read from the TakePOS setup), safe account, deposit account, optional accounting accounts, notes and coins.
The setup page, reserved for administrators: cash account of each terminal (read from the TakePOS setup), safe account, deposit account, optional accounting accounts, notes and coins.
06

Security and safeguards

  • Two dedicated permissions: “Record cash movements and count the drawer in TakePOS” (button and window) and “View the history of cash counts and movements” (Bank menu). Dolibarr adds the second to anyone who receives the first; the second alone gives no access to the till. Without a permission, no button and no page. Administrators have access to everything.
  • Setup reserved for administrators.
  • Forms protected by the Dolibarr token: a submission with a wrong token is refused (checked on every tested version).
  • Server-side checks: amount above zero, label required for an expense, other account different from the cash account, same currency, terminal with a cash account. On error, nothing is recorded.
  • Nothing else is touched: no sale, invoice, customer payment, Dolibarr cash control or unalterable log line is created, modified or deleted by the module.
07

What you get

What the module writes to your installation
Database tables createdTwo tables. llx_dolixcloture_mvt: one line per movement recorded from the till (terminal, cash account, type, amount, label, other account, linked bank entries and miscellaneous payment, cashier, date). llx_dolixcloture_comptage: one line per count (terminal, opening or closing, start of the period, expected amount, counted amount, discrepancy, booked or not, detail by note and coin, comment, cashier, date). The entries themselves are Dolibarr's own (internal transfers and miscellaneous payments). Settings are Dolibarr constants: DOLIXCLOTURE_ACCOUNT_SAFE, DOLIXCLOTURE_ACCOUNT_BANK, DOLIXCLOTURE_ACCOUNTANCY_LOSS, DOLIXCLOTURE_ACCOUNTANCY_GAIN, DOLIXCLOTURE_ACCOUNTANCY_EXPENSE and DOLIXCLOTURE_DENOMINATIONS.
PermissionsTwo permissions: “Record cash movements and count the drawer in TakePOS”, which shows the “Cash” button and opens the window, and “View the history of cash counts and movements”, which opens the history in the Bank menu. Dolibarr adds the second to anyone who receives the first; the second alone gives no access to the till. Administrators have access to everything. The module setup is reserved for administrators.
Uninstalling
  • Disable the module in SetupModules/Applications. The TakePOS button and the Bank menu entry disappear.
  • Transfers, miscellaneous payments and bank entries already created remain: they are ordinary entries in your database, visible in the Bank menu.
  • The module's two tables (movements and counts) and its settings are not deleted when it is disabled.

The dolixcloture folder, in readable PHP, under the GPL v3 or later licence: the module descriptor, the till window, the history, the setup page, the module class, the hook that adds the button to TakePOS and the SQL files of the two tables.

  • Languages: French (fr_FR), English (en_US), German (de_DE) and Spanish (es_ES).
  • A ChangeLog.md.
  • No Dolibarr core file modified, nothing to add to conf.php.
  • Two tables: llx_dolixcloture_mvt (movements recorded from the till, with their linked entries and the cashier) and llx_dolixcloture_comptage (counts: expected, counted, discrepancy, detail by note and coin, cashier).
  • Ordinary bank entries in your accounts: internal transfers and miscellaneous payments, visible in the Bank menu as if entered by hand. From version 19 to 23, Dolibarr itself writes every miscellaneous payment to the unalterable log.
  • Settings are Dolibarr constants (DOLIXCLOTURE_…).
  • Nothing leaves your server.
08

Compatibility

The module descriptor only declares a minimum version. No upper bound is written in the code: the versions below are those on which the module has actually been run.

Compatibility of the TakePOS cash closing module
Dolibarr versionsDolibarr 19.0 minimum. Installed and run on 19.0.4, 20.0.4, 21.0.4, 22.0.5, 23.0.4, 24.0.1 and 24.0.2 (MariaDB), on 24.0.2 with PostgreSQL, and on 23.0.4 and 24.0.2 in Dolibarr's LNE mode.
Minimum PHP7.4
Dolibarr modules to enableBanks | Cash, Invoices, POS TakePOS
LicenceGPL v3 or later, full source code
LanguagesFrench, English, German, Spanish
Menu“Cash” button in the TakePOS action bar, for users allowed to record. “Cash counts” entry in the left menu of Bank, for users allowed to view. Setup page in the module list.

The test results, Dolibarr version by version, are on the Compatibility tested page.

09

Installation

  1. Buy the module on dolix.fr (module page, “Buy directly”), then download the zip.
  2. In Dolibarr: HomeSetupModules/Applications“Deploy/install external app/module” tab, then upload the zip. Otherwise, unzip the dolixcloture folder into htdocs/custom/.
  3. Enable “TakePOS cash closing” in the module list. It requires the Banks | Cash, Invoices and POS TakePOS modules. The module's two tables are created at that point.
  4. Check that each terminal has a cash account in the TakePOS setup: this is the account the module reads and moves money from.
  5. In the module setup, choose the safe account (if needed, create a “Cash” type account named “Safe”) and the deposit account, then, if you wish, the accounting accounts for shortages, surpluses and expenses, and the list of notes and coins.
  6. Give cashiers the “Record cash movements and count the drawer in TakePOS” permission. Dolibarr adds “View the history” for them. The “Cash” button then appears in TakePOS.

The details — permissions on the custom folder, shared hosting, upgrades, uninstalling — are on the page Installation and upgrades.

10

Frequently asked questions

Which Dolibarr versions does this module work with?

The descriptor requires Dolibarr 19.0 or later and PHP 7.4 or later. The module tests (56 checks) passed on 19.0.4, 20.0.4, 21.0.4, 22.0.5, 23.0.4, 24.0.1 and 24.0.2 with MariaDB, under PHP 8.2 to 8.5, on 24.0.2 with PostgreSQL, and on 23.0.4 and 24.0.2 in Dolibarr's LNE mode. The window was used in TakePOS with Chrome on 24.0.2. If in doubt about your installation, write before buying.

Does the module change my sales or the Dolibarr cash control?

No. It does not create, modify or delete any sale, invoice, customer payment, Dolibarr cash control or unalterable log line. It only uses ordinary bank operations: internal transfers and miscellaneous payments, like those you would enter in the Bank menu. From version 19 to 23, Dolibarr itself writes every miscellaneous payment to the unalterable log: the module's expenses and discrepancies therefore appear there, like a miscellaneous payment entered by hand. The Dolibarr cash control is then done as usual.

How is the expected amount calculated?

It is the actual balance of the terminal's cash account, all entries included: sales paid in cash, movements recorded by the module and any other entry on that account. The window also shows what happened since the last count (or since the start of the day): payments received, transfers, expenses and discrepancies, other entries.

What happens to the discrepancy found when counting?

If the “Record the discrepancy in the cash account” box is ticked (it is by default), the module creates a “Cash discrepancy” miscellaneous payment: credited for a surplus, debited for a shortage, with the accounting account chosen in the settings. The cash account matches the drawer again. If the box is unticked, the discrepancy is only noted in the count history.

Does the module make my till compliant with cash register software regulations?

The module does not claim so and has not been reviewed by any body. What has been checked: it does not touch sales, payments, the unalterable log or the Dolibarr cash control, and its 56 checks also pass with Dolibarr's LNE mode enabled on a test instance, on 23.0.4 and 24.0.2. For the compliance of your own installation, ask your software provider or your accountant.

What about cheques and bank cards?

The module only counts cash. Cheques and cards are still handled by Dolibarr as before, including cheque deposit slips.

Who provides support, and how do updates work?

Support is provided by the person who wrote the module, at support@dolix.fr. After buying on dolix.fr, the latest version of the module can be downloaded for 2 years at dolix.fr/telecharger/, with the invoice number and e-mail address. Direct purchase is reserved for companies and associations established in France; others can write to support@dolix.fr.

11

Version history

Taken from the module’s ChangeLog.md file: a single source.

1.0.05 November 2026

First version: “Cash” button in TakePOS, cash movements (bank deposit, withdrawal to the safe, cash in, expense) recorded as internal transfers and miscellaneous payments, opening and closing count by notes and coins with the actual cash account balance as the expected amount, discrepancy that can be booked as a miscellaneous payment, link to the Dolibarr cash control, history of counts and movements in the Bank menu, two permissions and a setup page. Interface in French, English, German and Spanish.

12

Support for this module

Write to support@dolix.fr. The person who wrote the module is the one who replies.

Reply within two working days. This is not an on-call service.

To include in your message

  • The exact Dolibarr version.
  • The module concerned and its version — here dolixcloture 1.0.0.
  • What you did, and what you expected.
  • The error message copied exactly, or a screenshot.
  • How Dolibarr is installed, if you know.

Sold directly to businesses in France

Direct purchase, with immediate download and an invoice by email, is open to businesses and associations established in France, on the French page of this module. From elsewhere, write to support@dolix.fr.

Support and contact
Also

The other modules

Multiple barcodes

dolixmultibarcode · v1.0.1

Several barcodes for one product: supplier code, old code, in-store label, pack code. Scanned in TakePOS, each code adds the product to the ticket with its quantity: the code of a pack of 6 adds 6 units.

Sold in FranceRead more

Orders to collect in TakePOS

dolixretrait · v1.0.2

The customer comes to collect a pre-order: one click in TakePOS copies it into the ticket, and after payment the order is classified billed, even if the weight changed.

Sold in FranceRead more

For your sales of goods to consumers in other EU countries: the VAT rate of the customer's country, found from the product's customs code and the European Commission's official rates, draft invoices fixed in one click, tracking of the €10,000 threshold and the quarterly OSS return.

Sold in FranceRead more

Stored computed fields

dolixcalc · v1.0.0

An extra field computed by a formula written without PHP, with its value stored: right in the lists, sortable, filterable and printable on PDFs.

Sold in FranceRead more

Keyboard shortcuts

dolixshortcuts · v1.0.0

Ctrl+S (Cmd+S on Mac) saves the record you are filling in, without scrolling down to the button. g then a letter opens third parties, proposals, orders, invoices or products. ? shows the help.

Sold in FranceRead more

Google Contacts two-way sync

dolixgcontacts · v1.0.0

Dolibarr contacts and Google Contacts synced both ways, for each user. Only the contacts with the “Dolibarr” label in Google are involved, and a field changed on both sides is settled by the rule you chose.

Sold in FranceRead more

Dolix Coop

dolixcoop · v1.0.0

For cooperative and community grocery stores: shelf labels with the price per kilo or per litre, the customer's membership status in the TakePOS checkout, a simplified home page and menu for volunteers, a quick inventory on the phone.

Sold in FranceRead more