Skip to content
Trio Travel guide

Preventing payments exceeding the treasury balance

On this page
  1. Defining the treasury account
  2. Linking the account to a treasury
  3. Enabling the control and rejecting a save
  4. Saving a voucher with the control disabled
  5. Confirming the previously saved voucher
  6. Reviewing the resulting journal entry
  7. Reviewing the treasury statement
  8. Undoing the training transaction and restoring the control

Defining the treasury account

This guide explains the control that prevents payments exceeding the treasury balance, its save rejection message, and reviewing a voucher saved before the control was enabled. The example uses a new training treasury in EGP.

If the treasury is not yet defined, open Chart of Accounts from accounting settings and add a cash account under the appropriate parent. The example uses parent 1211000, D in D/C and Cash Account.

1 Adding the training cash account in Chart of Accounts.
Adding the training cash account in Chart of Accounts.

After saving, the account code was 1211009, named خزينة اختبار منع تجاوز الرصيد20261115. Defining the chart account is separate from assigning the treasury branch and currency.

Linking the account to a treasury

Open Safe from accounting settings. Enter the treasury name, choose Main Branch, select account 1211009 in Ledger Name and EGP in Currency, then click Add Safe. Type in Ledger Name to search for the cash account.

2 The treasury account, branch and currency are selected before saving.
The treasury account, branch and currency are selected before saving.

The new treasury appeared as number 5. No opening balance was entered. Selecting it with EGP in Add Payment showed an available balance of 0.

3 The training treasury is selected in a payment voucher with available balance 0.
The training treasury is selected in a payment voucher with available balance 0.

Enabling the control and rejecting a save

Open Settings, Organization, then Settings. Enable Prevent Withdrawal Exceeding Treasury Balance, save the settings and reload them to check the selection.

4 The control is enabled in company settings.
The control is enabled in company settings.

In Add Payment choose the branch, treasury and EGP. Enter the recipient, reference and details, then one item of 100 against account 5140002, مصروفات غير مباشرة. Rate showed 1 and available balance 0. Click Add Payment.

5 Saving was rejected with a message showing required 100 and available 0.
Saving was rejected with a message showing required 100 and available 0.

The message means the requested amount exceeds the available treasury funds. Review the selected treasury, currency and balance before continuing with the payment.

Saving a voucher with the control disabled

For this training example, the control was disabled, saved and checked after reloading. The form was then saved for 100 EGP with reference DEMO-BALANCE-GUARD-20261115.

6 The voucher was saved while the control was disabled.
The voucher was saved while the control was disabled.

P-1 appeared as global record 15 for treasury 5, unconfirmed and without an entry number. P-1 belongs to this treasury; its reference distinguishes it from the same voucher number in another treasury.

Confirming the previously saved voucher

The control was enabled again, saved and checked before confirming P-1 from the preceding step. Choose Confirm from that voucher menu and approve the confirmation.

7 Confirmation prompt for the same training voucher.
Confirmation prompt for the same training voucher.

Wait for completion and reload the list. In this example the voucher became Confirmed and Complete, with entry link 10. Review the treasury balance before confirming any previously saved voucher.

Reviewing the resulting journal entry

8 Entry P-10 debits 5140002 by 100 and credits treasury account 1211009 by 100, in EGP at rate 1.
Entry P-10 debits 5140002 by 100 and credits treasury account 1211009 by 100, in EGP at rate 1.

Open the entry link from the voucher. P-10 contains a 100 debit to مصروفات غير مباشرة and a 100 credit to خزينة اختبار منع تجاوز الرصيد20261115. Debits and credits balance.

Reviewing the treasury statement

9 Account 1211009 after confirmation shows opening 0, credit 100 and closing 100 Credit.
Account 1211009 after confirmation shows opening 0, credit 100 and closing 100 Credit.

The statement contains one movement, P-10. The credit balance in this cash account reflects a 100 payment without opening funds. Review both the entry and the statement, together with the confirmation result.

Undoing the training transaction and restoring the control

After reviewing the result, the new training voucher was unconfirmed, then cancelled with its number P-1 retained. The treasury statement returned to 0 with no movements, and the entry no longer appeared when searching by its process reference.

10 After unconfirmation, account 1211009 shows opening, debit, credit and closing balances of 0.
After unconfirmation, account 1211009 shows opening, debit, credit and closing balances of 0.

The control was restored to its original OFF state, saved and checked after reloading. The account and treasury remain as training setup records; the voucher was cancelled, not deleted.

11 The control is OFF after restoring the training settings.
The control is OFF after restoring the training settings.

Sign in to record the lessons you have read. Sign in