BillOfExchange

Version 1.0 — User Guide

Overview

BillOfExchange is a desktop application for creating, managing, and printing bill of exchanges. It provides bilingual support (English and French), values-only PDF generation with background image in previews, CSV export, multiple reporting views, and interactive charts.

Key Features

Launching the Application

  1. Double-click BillOfExchangeManager.exe to start the application.
  2. If this is the first time, you will be asked to register (see Registration).
  3. The main window opens with the Drafts tab active.
Tip: Keep all application files in the same folder. The application creates its data files automatically in that folder.

Getting Started

  1. Register the application (see Registration).
  2. Set the language: Use the language dropdown (EN/FR) on the toolbar. Your choice is saved automatically.
  3. Create payees (File > Manage Payees) — each payee has a name and address.
  4. Create drawers (File > Manage Drawers) — each drawer has name, address, location, bank details, and account number.
  5. Create drafts (New button or Ctrl+N) — select a payee and drawer, fill in date, due date, amount, purpose, and status.
  6. Print or preview your drafts.

Managing Drafts

Creating a Draft

  1. Click New on the toolbar or press Ctrl+N.
  2. Fill in the required fields (marked with *):
    FieldDescription
    Date *Draft date in dd-MM-YYYY format. Dashes are inserted automatically as you type.
    Due Date *Payment due date in dd-MM-YYYY format.
    Payee *Select the payee from the dropdown list. You must create payees first.
    Amount *Numeric amount. The format adjusts automatically based on the selected language.
    Drawer *Select the drawer from the dropdown list. You must create drawers first.
    PurposeOptional description of the draft purpose.
    StatusActive, Cancelled, Paid, or Expired.
  3. Click Save.

Editing a Draft

Double-click a row in the drafts grid, or select a row and click Edit or press Ctrl+E.

Deleting a Draft

Select a row and click Delete or press Del. A confirmation dialog will appear.

Searching

Use the Search box on the toolbar to filter drafts by payee name, serial number, bank name, or drawer name. Filtering is instant as you type.

Preview

Click Preview on the toolbar to show or hide the inline PDF preview panel at the bottom of the window. Select a draft to see its preview.

You can also double-click a draft row to open a larger popup preview.

Managing Payees

Open via File > Manage Payees.

FieldDescription
Payee Name *Full name of the payee (required).
AddressMailing address of the payee.
Note: You cannot delete a payee that is referenced by existing drafts. Delete or modify those drafts first.

Managing Drawers

Open via File > Manage Drawers.

FieldDescription
Drawer Name *Full name of the drawer (required).
AddressMailing address of the drawer.
LocationCity or location of the drawer.
Bank Name *Name of the bank.
Bank AddressAddress of the bank branch.
Account Number *Exactly 20 characters. It is formatted automatically in printed reports.
CurrencyCurrency code (e.g., TND, EUR, USD).
Note: You cannot delete a drawer that is referenced by existing drafts.

Reports & Charts

The main window contains five tabs:

TabDescription
DraftsFull list of all drafts with search and filtering.
Monthly TotalsTotal amount aggregated by month and year.
Monthly by PayeeTotal amount aggregated by month, year, and payee.
Monthly by Payee & StatusTotal amount aggregated by month, year, payee, and status.
ChartsInteractive charts with five switchable views (see below).

Chart Views

Switch between views using the radio buttons in the chart toolbar:

ViewChart TypeDescription
Monthly TotalsVertical barTotal amount per calendar month.
By PayeeHorizontal barTotal amount per payee, sorted from highest to lowest.
Yearly TotalsVertical barTotal amount per year.
Monthly by StatusStacked barMonthly totals split by draft status, with a color legend.
Status DistributionPie chartProportion of drafts by status, showing percentages and amounts.

Charts resize automatically when you resize the window. Month names appear in the selected language.

Tip: All tabs refresh automatically when you switch between them. The Refresh button reloads all tabs at once.

PDF Generation & Preview

Printing a Draft

  1. Select a draft in the grid.
  2. Click Print on the toolbar or press Ctrl+P.
  3. A PDF is generated and opened in your default PDF viewer.

What the PDF Contains

Inline Preview

Click Preview on the toolbar to show a preview panel at the bottom of the window. Select any draft to see its PDF preview rendered at 2× magnification.

Popup Preview

Double-click a draft row to open a full-size popup preview. This preview always shows the background image.

CSV Export

Go to File > Export All to CSV to export all drafts to a spreadsheet-compatible CSV file. The exported file includes all draft information: serial number, dates, payee, amount, currency, bank details, account number, drawer details, purpose, and status.

Registration

Activation codes are free. To request your free registration code, send an email with the subject line BillOfExchange Registration code to registration@b-systems.tn.

First Launch

  1. On first launch, the registration window appears showing your Machine ID.
  2. Copy the Machine ID and send it to your administrator.
  3. Your administrator will generate a registration code and send it back to you.
  4. Paste the registration code in the application and click Activate.

Changing Machines

Registration codes are tied to your specific machine. If you move to a new computer, you will need a new registration code from your administrator.

Re-Registering

Go to File > Registration at any time to enter a new registration code.

Keyboard Shortcuts

ShortcutAction
Ctrl+NCreate new draft
Ctrl+EEdit selected draft
Ctrl+PPrint selected draft
DelDelete selected draft

Frequently Asked Questions

Can I backup my data?

Yes. Copy the application folder to a safe location to create a backup. To restore, replace the files in the application folder with your backup copy.

Why can't I delete a payee or drawer?

A payee or drawer cannot be deleted if existing drafts reference it. You must delete or modify those drafts first to remove the reference.

The background image is not showing in my preview. What should I do?

Make sure form_scan.png and form_layout.json are in the same folder as the application. Note the background appears in previews only; the printed PDF is always values-only.

Printed fields don't line up with my paper form. How do I fix this?

Fine-tune the print placement with the debug offset values (launch with -debug / bill-debug.bat). Positive X/Y offsets move content right/down, in millimetres. Do not edit field coordinates directly to fix paper positioning.

How do I change the language?

Use the language dropdown (EN / FR) on the toolbar. The setting is saved automatically and will be remembered the next time you open the application.

The registration window shows N/A for the Machine ID. What does this mean?

The application could not detect your machine's serial number. Contact your IT department to ensure system information access is not restricted on your computer.

Can I run the application from a USB drive?

Yes. Copy the entire application folder to the USB drive and run from there. All data files will be created alongside the application.

Where is my data stored?

All data is stored in the application folder. The application creates a database file, a settings file, and a license file automatically. Do not delete these files.

Can I open the same data from multiple computers?

No. The data is stored locally. Each computer has its own separate database. To share data, you would need to copy the database file between computers manually.