# Account Statement WHMCS Addon

# Description

### Account Statement addon **[WHMCS](https://puqcloud.com/link.php?id=77)**

##### [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/) | [FAQ](https://community.puqcloud.com/)

## PUQ Account Statement — WHMCS Addon

**PUQ Account Statement** is an addon module for WHMCS that generates comprehensive financial statements for clients. It consolidates invoices, transactions, and credits into detailed account statements with PDF and CSV export, scheduled automatic generation, bulk processing, and client area self-service access.

- - - - - -

## Key Features

- **Statement Generation** — generate detailed financial statements for any client with customizable date ranges and filters
- **Clear Outstanding Balance** — the closing balance shows exactly how much the client owes (negative = owed) and ties out with the Debit/Credit columns; Account Credit is shown as a separate figure
- **Multilingual Statements** — PDF, preview, and CSV are generated in the client's own language (falling back to system language, then English), translated across 25 languages
- **WHMCS Date Format** — statement dates follow your WHMCS Global Date Format
- **Multiple Export Formats** — export statements as PDF or CSV files
- **Customizable PDF Templates** — choose from multiple PDF layouts (Classic, Modern, Detailed) in Portrait or Landscape orientation
- **PDF Style Editor** — customize typography, colors, display options, header/footer text, and custom CSS
- **Saved Statements Archive** — save generated statements for future reference with search and filter capabilities
- **Bulk Generation** — generate statements for multiple clients at once, filtered by client group, country, or unpaid invoices
- **Scheduled Generation** — automate statement generation with configurable schedules (daily, weekly, monthly, quarterly, yearly)
- **Client Area Access** — allow clients to view, generate, and download their own statements
- **Email Delivery** — send statements to clients via email with PDF attachment using customizable WHMCS email templates
- **Public Shareable Links** — generate expiring public links to share statements externally
- **Aging Report** — include overdue invoice aging analysis in statements
- **Invoice Filtering** — filter by payment status (paid, unpaid, refunded), payment methods, and product groups
- **Transaction &amp; Credit Tracking** — include transactions and credit entries in statements
- **Quick Period Selection** — one-click date range presets (This Month, Last Month, This Year, Last Year)
- **Dashboard** — overview with key metrics, quick generate, recent statements, and upcoming schedules
- **License system** — online/offline license verification with graceful degradation (dashboard remains accessible without a license)
- **Multilingual interface** — admin and client area available in 25 languages

- - - - - -

## System Requirements

<table id="bkmrk-requirement-minimum-"><thead><tr><th>Requirement</th><th>Minimum</th></tr></thead><tbody><tr><td>**WHMCS**</td><td>8.x, 9.x</td></tr><tr><td>**PHP**</td><td>7.4, 8.1, 8.2+</td></tr><tr><td>**ionCube Loader**</td><td>v13 or newer (v14, v15)</td></tr></tbody></table>

The module ships as separate ionCube-encoded builds per PHP version. Pick the build that matches your PHP:

<table id="bkmrk-whmcs-supported-php-"><thead><tr><th>WHMCS</th><th>Supported PHP</th><th>Build to use</th></tr></thead><tbody><tr><td>**WHMCS 8**</td><td>7.4, 8.1, 8.2</td><td>`php74`, `php81`, or `php82` (match your PHP)</td></tr><tr><td>**WHMCS 9**</td><td>8.2+</td><td>`php82`</td></tr></tbody></table>

> For any PHP **8.2 or newer**, always use the `php82` build.

- - - - - -

## Links

- **Product page:** [https://puqcloud.com/](https://puqcloud.com/)
- **Documentation:** [https://doc.puq.info/books/account-statement-whmcs-addon](https://doc.puq.info/books/account-statement-whmcs-addon)
- **Support:** [https://puqcloud.com/submitticket.php](https://puqcloud.com/submitticket.php?step=2&deptid=1)
- **Community:** [https://community.puqcloud.com/](https://community.puqcloud.com/)# Changelog

### Account Statement addon **[WHMCS](https://puqcloud.com/link.php?id=77)**

##### [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/) | [FAQ](https://community.puqcloud.com/)

## v1.2 — 2026-06-05

**The clarity update.** Your customers now see, at a glance, *exactly how much they owe* — in their own language and in your date format.

### New Features

- **Real outstanding balance.** The Closing Balance now reflects what the customer actually owes (negative = owed), and it ties out perfectly with the Debit and Credit columns of the statement. No more confusing `$0.00` closing balances when there are unpaid invoices.
- **Account Credit shown separately.** Statements now display both the client's **Account Credit** and the **amount owed**, so the two are never mixed up.
- **Carry-forward opening balance.** The Open Balance now includes outstanding invoices from before the statement period — perfect for statements that start mid-history.
- **Multilingual statements.** PDF, on-screen preview, and CSV exports are now generated in the **client's own language**, with automatic fallback to your system language and then English. Fully translated across **25 languages**.
- **"Show Open Balance" setting.** Hide the Open Balance line entirely if you only want to show the amount owed.

### Improvements

- **Dates follow your WHMCS Global Date Format.** Statement dates now respect the format configured in WHMCS (e.g. `DD/MM/YYYY`) instead of a fixed format.
- **Smarter client search.** The admin client search now matches **first name + last name** together (in any order), as well as company, email, or client ID.
- **Client area language.** The client area now displays in the logged-in customer's own language.
- **CSV summary fixed &amp; expanded.** The CSV summary section now shows correct values (including Account Credit and amount owed) and is included with emailed/attached exports.

### Bug Fixes

- Fixed the running-balance column in the **Detailed** PDF template (it previously never updated and used the wrong sign).
- Fixed mixed-language output where the statement preview and PDF stayed in English regardless of the selected language.

- - - - - -

## v1.1 — 2026-02-25

### Bug Fixes

- Fixed "Call to undefined function puq\_account\_statement\_LoadLang()" error on customer profile page

### Improvements

- All monetary values now consistently display with 2 decimal places (e.g., `0.00`, `5.10` instead of `0` or `5.1`)
- Removed currency symbol from the Total column in statements for uniform formatting with Debit and Credit columns

### New Features

- Added "Show Payment Method" setting to control visibility of the Payment Method column in statements
- When disabled, the Payment Method column is hidden across all views: admin preview, PDF exports, and CSV exports

- - - - - -

## v1.0 — 2026-02-18

First release.

### New Features

- Statement generation for individual clients with customizable date ranges
- Invoice filtering by status: Paid, Unpaid, Refunded
- Transaction and credit entry inclusion in statements
- Payment method and product group filtering
- Quick period presets: This Month, Last Month, This Year, Last Year
- PDF export with multiple templates: Classic, Modern, Detailed (Portrait &amp; Landscape)
- CSV export for data analysis
- PDF Style editor: typography, colors, display options, header/footer text, custom CSS
- Saved statements archive with search, filter, and pagination
- Bulk generation for multiple clients with progress tracking
- Client filters for bulk: All Clients, By Client Group, By Country, With Unpaid Invoices
- Scheduled automatic statement generation (Daily, Weekly, Monthly, Quarterly, Yearly)
- Schedule management: create, edit, toggle, run now, delete
- Client area self-service: view, generate, and download statements
- Client area configurable permissions: PDF download, CSV download
- Email delivery with PDF attachment using WHMCS email templates
- Public shareable links with configurable expiry
- Aging report for overdue invoice analysis
- Dashboard with key metrics, quick generate, recent statements, upcoming schedules
- Auto-cleanup of old saved statements
- Configurable per-page pagination
- Add to Billing Menu option for client area
- AJAX-based interface with loading spinners on all actions
- License verification system with online/offline modes
- Dashboard accessible without active license, other pages restricted
- Error logging via WHMCS `logModuleCall`
- English language interface# Installation and Update

### Account Statement addon **[WHMCS](https://puqcloud.com/link.php?id=77)**

##### [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/) | [FAQ](https://community.puqcloud.com/)

## System Requirements

<table id="bkmrk-requirement-minimum-"><thead><tr><th>Requirement</th><th>Minimum</th></tr></thead><tbody><tr><td>**PHP**</td><td>7.4, 8.1, 8.2 or newer</td></tr><tr><td>**WHMCS**</td><td>8.x, 9.x or newer</td></tr><tr><td>**ionCube Loader**</td><td>v13 or newer (v14, v15)</td></tr></tbody></table>

> **Note:** The module uses ionCube encoding. Make sure ionCube Loader is installed and active on your server.

### Which build do I need?

The module is distributed as separate ionCube-encoded builds, one per PHP version. **The PHP version determines which build you download** — an archive encoded for one PHP version will not run on another.

<table id="bkmrk-whmcs-supported-php-"><thead><tr><th>WHMCS</th><th>Supported PHP</th><th>Build to download</th></tr></thead><tbody><tr><td>**WHMCS 8**</td><td>7.4, 8.1, 8.2</td><td>`php74`, `php81`, or `php82` — match the PHP your WHMCS runs on</td></tr><tr><td>**WHMCS 9**</td><td>8.2 or newer</td><td>`php82`</td></tr></tbody></table>

> **Rule of thumb:** for any **PHP 8.2 or newer**, always use the `php82` build. Use `php74`/`php81` only if your server still runs PHP 7.4 or 8.1 (WHMCS 8 only).

- - - - - -

## Download

The module can be ordered and downloaded from PUQ Cloud:

- **Order / Download:** [https://puqcloud.com/store/whmcs-addon-modules](https://puqcloud.com/store/whmcs-addon-modules)
- **FAQ:** [https://community.puqcloud.com/](https://community.puqcloud.com/)
- **Direct download links:**

PHP 7.4 (WHMCS 8 only):

```
wget https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/php74/PUQ_WHMCS-Account-Statement-latest.zip

```

PHP 8.1 (WHMCS 8 only):

```
wget https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/php81/PUQ_WHMCS-Account-Statement-latest.zip

```

PHP 8.2+ (WHMCS 8 and 9):

```
wget https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/php82/PUQ_WHMCS-Account-Statement-latest.zip

```

> All versions are available at: [https://download.puqcloud.com/WHMCS/addons/PUQ\_WHMCS-Account-Statement/](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/)

After downloading, extract the archive:

```
unzip PUQ_WHMCS-Account-Statement-latest.zip

```

- - - - - -

## Installation

### Step 1: Upload Files

Extract the module archive and upload the `puq_account_statement` directory to the WHMCS addons directory:

```
/your-whmcs/modules/addons/puq_account_statement/

```

Directory structure after upload:

```
modules/addons/puq_account_statement/
    puq_account_statement.php
    hooks.php
    whmcs.json
    version
    logo.png
    lib/
        puqAccountStatement.php
        StatementGenerator.php
        PdfGenerator.php
        CsvGenerator.php
    lang/
        english.php
    templates/
        ...
    templates/pdf/
        classic.tpl
        modern.tpl
        detailed.tpl
        ...
    templates/client/
        statement.tpl

```

### Step 2: Activate the Module

1. Log in to the WHMCS admin panel
2. Go to **Setup** &gt; **Addon Modules**
3. Find **PUQ Account Statement** in the list
4. Click **Activate**

> On activation, the module creates four database tables: `puq_acc_st_settings`, `puq_acc_st_statements`, `puq_acc_st_schedules`, and `puq_acc_st_templates`.

### Step 3: Configure the License Key

1. After activation, click **Configure** next to the module
2. Enter your license key in the **License key** field
3. Select admin role groups that should have access to the module
4. Click **Save Changes**

After saving, a verification status will appear below the license key field (e.g., `success: 2027-02-18T01:32:13+01:00`).

![Module configuration with license key and access control](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-bozyvhoh.png)*01-addon-config-license.png*

### Step 4: Access the Module

Go to **Addons** &gt; **PUQ Account Statement** to access the dashboard.

- - - - - -

## Update

### Step 1: Backup

Before updating, we recommend backing up:

- Your WHMCS database
- Module files in `modules/addons/puq_account_statement/`

### Step 2: Upload New Files

Extract the new version and overwrite all files in:

```
/your-whmcs/modules/addons/puq_account_statement/

```

### Step 3: Re-activate (if needed)

If the update adds new database columns, deactivate and re-activate the module:

1. Go to **Setup** &gt; **Addon Modules**
2. Click **Deactivate**, then **Activate** again

> This is safe — the module only creates tables/columns if they don't already exist. Your settings and saved statements are preserved.

### Step 4: Verify

1. Go to **Addons** &gt; **PUQ Account Statement**
2. Check the version number in the top-right corner of the navigation bar (e.g., `v1.0.0`)

- - - - - -

## Deactivation

1. Go to **Setup** &gt; **Addon Modules**
2. Click **Deactivate** next to PUQ Account Statement
3. Confirm the deactivation

> **Warning:** Deactivation drops the module's database tables (`puq_acc_st_settings`, `puq_acc_st_statements`, `puq_acc_st_schedules`, `puq_acc_st_templates`). All your saved statements, schedules, templates, and settings will be lost. Export your data before deactivating if you want to preserve it.

- - - - - -

## License

The module requires an active license for full functionality. The license is verified through the PUQ Cloud license server.

### How License Verification Works

- The module periodically checks license validity at `https://license.puqcloud.com/`
- Verification results are cached in the database for 5 days
- If the license server is temporarily unreachable, the module uses the last cached result

### Without an Active License

- **Dashboard** (Home page) remains fully accessible
- **All other pages** (Generate, Saved, Bulk, Schedules, PDF Style, Settings) display a license required page
- **All AJAX controllers** (except Dashboard) return a 403 error

### After Activating a License

1. The warning banner disappears
2. All pages and features become accessible
3. Enter your license key in **Setup** &gt; **Addon Modules** &gt; **PUQ Account Statement** &gt; **Configure**

### Purchase a License

**[https://puqcloud.com/store/whmcs-addon-modules](https://puqcloud.com/store/whmcs-addon-modules)**

For license-related questions, please contact us via the ticket system:

**[https://puqcloud.com/submitticket.php](https://puqcloud.com/submitticket.php?step=2&deptid=1)**# Dashboard

### Account Statement addon **[WHMCS](https://puqcloud.com/link.php?id=77)**

##### [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/) | [FAQ](https://community.puqcloud.com/)

The Dashboard is the home page of the module, available at: **Addons** &gt; **PUQ Account Statement** &gt; **Dashboard**

It provides a complete overview of your statement activity — key metrics, quick generation, recent statements, and upcoming schedules.

![Dashboard — metrics, quick generate, recent statements, and upcoming schedules](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-ex4wli3s.png)*02-dashboard.png*

- - - - - -

## Key Metrics

The top section displays summary cards with color-coded borders:

<table id="bkmrk-metric-description-t"><thead><tr><th>Metric</th><th>Description</th></tr></thead><tbody><tr><td>**This Month Statements**</td><td>Number of statements generated in the current month</td></tr><tr><td>**Total Statements**</td><td>Total number of saved statements in the archive</td></tr><tr><td>**Active Schedules**</td><td>Number of currently active automatic schedules</td></tr><tr><td>**Next Scheduled Run**</td><td>Date and time of the next scheduled statement generation</td></tr></tbody></table>

- - - - - -

## Quick Generate

A search panel for quickly generating a statement for a specific client:

1. Start typing a client name or email in the search field
2. Select the client from the dropdown results (powered by Select2 with AJAX search)
3. Click **Generate** to navigate to the Generate page with the client pre-selected

- - - - - -

## Recent Statements

A table showing the 10 most recently generated statements:

<table id="bkmrk-column-description-d"><thead><tr><th>Column</th><th>Description</th></tr></thead><tbody><tr><td>**Date**</td><td>When the statement was generated</td></tr><tr><td>**Client**</td><td>Client full name</td></tr><tr><td>**Period**</td><td>Statement date range (from — to)</td></tr><tr><td>**Generated By**</td><td>How the statement was created: manual, schedule, or bulk</td></tr><tr><td>**Actions**</td><td>**View** button to open the saved statement</td></tr></tbody></table>

- - - - - -

## Upcoming Schedules

A table showing up to 5 active schedules with their next run times:

<table id="bkmrk-column-description-n"><thead><tr><th>Column</th><th>Description</th></tr></thead><tbody><tr><td>**Name**</td><td>Schedule name</td></tr><tr><td>**Frequency**</td><td>How often it runs (Daily, Weekly, Monthly, Quarterly, Yearly)</td></tr><tr><td>**Next Run**</td><td>Date and time of the next execution</td></tr><tr><td>**Status**</td><td>Badge: **Active** (green) or **Inactive** (gray)</td></tr></tbody></table># Generate Statement

### Account Statement addon **[WHMCS](https://puqcloud.com/link.php?id=77)**

##### [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/) | [FAQ](https://community.puqcloud.com/)

The Generate page is available at: **Addons** &gt; **PUQ Account Statement** &gt; **Generate**

This is the main page for creating individual account statements for a specific client.

![Generate Statement — parameters and preview](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-kfeh0e4k.png)*03-generate.png*

- - - - - -

## Generate from a Client's Profile

You can also start a statement directly from a client's profile. Open **Clients** &gt; select a client, and on the **Summary** tab use the **Account Statement** panel and click **Generate Account Statement**. This opens the Generate page with the client pre-selected.

![Generate Account Statement button on the client profile Summary tab](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-ys83ebrg.png)*21-admin-client-profile.png*

- - - - - -

## Statement Parameters

### Client Selection

Use the search field to find a client by **first name, last name (or both together), company, email, or client ID**. The field uses Select2 with AJAX search — start typing to see results. Searching a full name such as "John Smith" matches first name + last name in any order.

> **Tip:** You can navigate here from the Dashboard's Quick Generate feature, which pre-selects the client.

### Date Range

Set the date range for the statement using:

- **Date From / Date To** — manual date inputs
- **Quick Period** buttons — one-click presets: 
    - **This Month** — first to last day of current month
    - **Last Month** — first to last day of previous month
    - **This Year** — January 1 to December 31 of current year
    - **Last Year** — January 1 to December 31 of previous year

### Include Options

Select which financial data to include in the statement:

<table id="bkmrk-option-description-p"><thead><tr><th>Option</th><th>Description</th></tr></thead><tbody><tr><td>**Paid**</td><td>Include paid invoices</td></tr><tr><td>**Unpaid**</td><td>Include unpaid/outstanding invoices</td></tr><tr><td>**Refunded**</td><td>Include refunded invoices</td></tr><tr><td>**Transactions**</td><td>Include payment transactions</td></tr><tr><td>**Credits**</td><td>Include credit entries</td></tr></tbody></table>

### Advanced Filters

<table id="bkmrk-filter-description-p"><thead><tr><th>Filter</th><th>Description</th></tr></thead><tbody><tr><td>**Payment Methods**</td><td>Filter invoices by payment gateway (multi-select). Leave empty for all</td></tr><tr><td>**Product Groups**</td><td>Filter invoices by product group (multi-select). Leave empty for all</td></tr></tbody></table>

- - - - - -

## Actions

### View Statement

Click **View Statement** to generate and display the statement preview inline on the page. The preview shows the rendered HTML statement with all sections.

> **Reading the balance:** The summary shows two distinct figures — **Account Credit** (the credit available on the client's WHMCS account) and the **Closing Balance**, which is the outstanding amount. A negative Closing Balance means the client owes that amount, and it always ties out with the Debit and Credit columns. The **Open Balance** line carries forward any unpaid invoices from before the statement period and can be hidden via *Settings → Show Open Balance*.

> **Language &amp; dates:** Statements (preview, PDF, and CSV) are generated in the **client's own language** when available — falling back to the system language, then English. Dates follow your **WHMCS Global Date Format**.

### Download PDF

Click **Download PDF** to generate and download the statement as a PDF file. The PDF uses the template configured in the Settings page.

### Download CSV

Click **Download CSV** to generate and download the statement data as a CSV file for import into spreadsheets or accounting software.

- - - - - -

## Statement Preview Actions

After viewing a statement, additional action buttons appear in the preview header:

<table id="bkmrk-action-description-s"><thead><tr><th>Action</th><th>Description</th></tr></thead><tbody><tr><td>**Save to Archive**</td><td>Save the statement to the saved statements archive for future reference</td></tr><tr><td>**Send to Client**</td><td>Send the statement to the client via email with PDF attachment</td></tr><tr><td>**Generate Link**</td><td>Generate a public shareable link (copied to clipboard automatically)</td></tr></tbody></table>

![Statement preview with action buttons](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-2s1fgrdf.png)*04-generate-preview.png*# Saved Statements

### Account Statement addon **[WHMCS](https://puqcloud.com/link.php?id=77)**

##### [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/) | [FAQ](https://community.puqcloud.com/)

The Saved Statements page is available at: **Addons** &gt; **PUQ Account Statement** &gt; **Saved Statements**

This page shows all previously saved account statements with filtering, pagination, and management tools.

![Saved Statements — list with filters and actions](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-5uzbdnyn.png)*05-saved-statements.png*

- - - - - -

## Filters

The top panel provides search and filter options:

<table id="bkmrk-filter-description-c"><thead><tr><th>Filter</th><th>Description</th></tr></thead><tbody><tr><td>**Client**</td><td>Search for a specific client by name or email (Select2 AJAX search)</td></tr><tr><td>**Date From**</td><td>Filter statements created from this date</td></tr><tr><td>**Date To**</td><td>Filter statements created up to this date</td></tr><tr><td>**Generated By**</td><td>Filter by generation method: All, Manual, Schedule, or Bulk</td></tr></tbody></table>

Click **Filter** to apply the filters and reload the results.

- - - - - -

## Statements Table

The main table lists saved statements with the following columns:

<table id="bkmrk-column-description-%23"><thead><tr><th>Column</th><th>Description</th></tr></thead><tbody><tr><td>**\#**</td><td>Statement ID</td></tr><tr><td>**Client**</td><td>Client name, company name, and email</td></tr><tr><td>**Period**</td><td>Statement date range (from — to)</td></tr><tr><td>**Generated By**</td><td>How the statement was created: manual, schedule, or bulk</td></tr><tr><td>**Generated At**</td><td>Timestamp when the statement was generated</td></tr><tr><td>**Status**</td><td>Badge: **Active** (green) or expired status</td></tr><tr><td>**Actions**</td><td>Action buttons (see below)</td></tr></tbody></table>

- - - - - -

## Actions Per Statement

Each statement row has the following action buttons:

<table id="bkmrk-button-icon-descript"><thead><tr><th>Button</th><th>Icon</th><th>Description</th></tr></thead><tbody><tr><td>**PDF**</td><td>file-pdf</td><td>Download/view the statement as PDF (opens in new tab)</td></tr><tr><td>**CSV**</td><td>file-csv</td><td>Download the statement data as CSV</td></tr><tr><td>**Send**</td><td>envelope</td><td>Send the statement to the client via email with PDF attachment</td></tr><tr><td>**Copy Link**</td><td>link</td><td>Generate a public shareable link and copy it to clipboard</td></tr><tr><td>**Delete**</td><td>trash</td><td>Delete the saved statement (requires confirmation)</td></tr></tbody></table>

- - - - - -

## Pagination

When there are more statements than the configured per-page limit (default: 25), pagination controls appear at the bottom of the table with page numbers and previous/next navigation.

- - - - - -

## Auto-Cleanup

Saved statements can be automatically deleted after a configurable number of days. This is set in **Settings** &gt; **Auto Cleanup Days**. Set to 0 to disable auto-cleanup.# Bulk Generate

### Account Statement addon **[WHMCS](https://puqcloud.com/link.php?id=77)**

##### [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/) | [FAQ](https://community.puqcloud.com/)

The Bulk Generate page is available at: **Addons** &gt; **PUQ Account Statement** &gt; **Bulk Generate**

This page allows you to generate statements for multiple clients at once with a single operation.

![Bulk Generate — client filter, options, and progress](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-jbce2iu3.png)*06-bulk-generate.png*

- - - - - -

## Client Filter

Choose which clients to generate statements for:

<table id="bkmrk-option-description-a"><thead><tr><th>Option</th><th>Description</th></tr></thead><tbody><tr><td>**All Clients**</td><td>Generate for every client in the system</td></tr><tr><td>**By Client Group**</td><td>Filter by WHMCS client group (dropdown appears for selection)</td></tr><tr><td>**By Country**</td><td>Filter by client country (dropdown appears for selection)</td></tr><tr><td>**With Unpaid Invoices**</td><td>Only clients that have outstanding unpaid invoices</td></tr></tbody></table>

When selecting **By Client Group** or **By Country**, a dropdown field appears to select the specific group or country.

- - - - - -

## Date Range &amp; Options

### Date Range

Set the statement period using:

- **Date From / Date To** — manual date inputs
- **Quick Period** buttons — same presets as the Generate page (This Month, Last Month, This Year, Last Year)

The default period is set to **Last Month**.

### Include Options

Same checkboxes as the Generate page:

- Paid, Unpaid, Refunded, Transactions, Credits

### Actions

Choose what to do with each generated statement:

<table id="bkmrk-action-description-s"><thead><tr><th>Action</th><th>Description</th></tr></thead><tbody><tr><td>**Save to Archive**</td><td>Save each statement to the saved statements archive (checked by default)</td></tr><tr><td>**Send Email**</td><td>Send each statement to the respective client via email with PDF attachment</td></tr></tbody></table>

- - - - - -

## Workflow

### Step 1: Count Clients

Click **Count Clients** to see how many clients match your filter criteria. The result appears next to the button (e.g., "**42** clients matched").

### Step 2: Start Bulk Generate

After counting, the **Start Bulk Generate** button becomes enabled. Click it and confirm the operation.

### Step 3: Monitor Progress

A progress bar appears showing:

- Visual progress bar with percentage
- Text counter: "X / Y clients processed"

The bulk operation processes clients in batches of 10 for optimal performance and to avoid timeouts.

### Step 4: Review Results

After completion, a results panel shows:

<table id="bkmrk-metric-description-c"><thead><tr><th>Metric</th><th>Description</th></tr></thead><tbody><tr><td>**Clients Processed**</td><td>Total number of clients processed</td></tr><tr><td>**Statements Generated**</td><td>Number of statements successfully created</td></tr><tr><td>**Emails Sent**</td><td>Number of emails sent (if email option was enabled)</td></tr><tr><td>**Errors**</td><td>Number of errors encountered during processing</td></tr></tbody></table># Schedules

### Account Statement addon **[WHMCS](https://puqcloud.com/link.php?id=77)**

##### [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/) | [FAQ](https://community.puqcloud.com/)

The Schedules page is available at: **Addons** &gt; **PUQ Account Statement** &gt; **Schedules** &gt; **All Schedules**

This page manages automated statement generation schedules. Schedules run automatically via WHMCS cron.

![Schedules — list of configured schedules](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-r6jk3uhl.png)*07-schedules.png*

- - - - - -

## Schedules Table

The table lists all configured schedules with the following columns:

<table id="bkmrk-column-description-n"><thead><tr><th>Column</th><th>Description</th></tr></thead><tbody><tr><td>**Name**</td><td>Schedule name for identification</td></tr><tr><td>**Frequency**</td><td>How often it runs: Daily, Weekly, Monthly, Quarterly, Yearly</td></tr><tr><td>**Client Filter**</td><td>Target clients: All, By Group, By Country, or With Unpaid Invoices</td></tr><tr><td>**Next Run**</td><td>Date and time of the next scheduled execution</td></tr><tr><td>**Last Run**</td><td>Date and time of the most recent execution</td></tr><tr><td>**Status**</td><td>Badge: **Active** (green) or **Inactive** (gray)</td></tr><tr><td>**Actions**</td><td>Action buttons (see below)</td></tr></tbody></table>

- - - - - -

## Actions Per Schedule

<table id="bkmrk-button-icon-descript"><thead><tr><th>Button</th><th>Icon</th><th>Description</th></tr></thead><tbody><tr><td>**Edit**</td><td>edit</td><td>Open the schedule editor to modify settings</td></tr><tr><td>**Run Now**</td><td>play</td><td>Execute the schedule immediately without waiting for the next scheduled time</td></tr><tr><td>**Toggle**</td><td>power-off</td><td>Enable or disable the schedule</td></tr><tr><td>**Delete**</td><td>trash</td><td>Delete the schedule (requires confirmation)</td></tr></tbody></table>

- - - - - -

## Creating a New Schedule

Click the **Add New** button at the top or go to **Schedules** &gt; **Add Schedule** in the navigation menu.

See the [Schedule Editor](09-schedule-editor.md) page for details on configuring a schedule.

- - - - - -

## How Schedules Work

Schedules are executed by the WHMCS cron job. When a schedule's next run time is reached:

1. The module identifies matching clients based on the schedule's client filter
2. For each client, a statement is generated for the configured period
3. Depending on the schedule's output settings, statements are saved to archive and/or emailed to clients
4. The schedule's next run time is updated based on its frequency
5. Execution details are logged for reference# Schedule Editor

### Account Statement addon **[WHMCS](https://puqcloud.com/link.php?id=77)**

##### [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/) | [FAQ](https://community.puqcloud.com/)

The Schedule Editor page is available at: **Addons** &gt; **PUQ Account Statement** &gt; **Schedules** &gt; **Add Schedule** (or click **Edit** on an existing schedule)

This page allows you to create or edit an automated statement generation schedule.

![Schedule Editor — configure automated statement generation](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-dq52m4ks.png)*08-schedule-edit.png*

- - - - - -

## General Settings

<table id="bkmrk-setting-description-"><thead><tr><th>Setting</th><th>Description</th></tr></thead><tbody><tr><td>**Name**</td><td>A descriptive name for the schedule (e.g., "Monthly Client Statements")</td></tr><tr><td>**Frequency**</td><td>How often the schedule runs: Daily, Weekly, Monthly, Quarterly, Yearly</td></tr><tr><td>**Period Type**</td><td>What period the statement covers: Last Month, Last Quarter, Last Year, or Custom</td></tr></tbody></table>

- - - - - -

## Client Filter

Choose which clients receive statements when the schedule runs:

<table id="bkmrk-filter-description-a"><thead><tr><th>Filter</th><th>Description</th></tr></thead><tbody><tr><td>**All Clients**</td><td>Generate for every client</td></tr><tr><td>**By Client Group**</td><td>Only clients in a specific WHMCS client group</td></tr><tr><td>**By Country**</td><td>Only clients from a specific country</td></tr><tr><td>**With Unpaid Invoices**</td><td>Only clients with outstanding invoices</td></tr></tbody></table>

When selecting **By Client Group** or **By Country**, a text field appears to enter the filter value.

- - - - - -

## Include Options

Configure what financial data to include in the generated statements:

- **Paid** — include paid invoices
- **Unpaid** — include unpaid invoices
- **Refunded** — include refunded invoices
- **Transactions** — include payment transactions
- **Credits** — include credit entries

### Advanced Filters

<table id="bkmrk-filter-description-p"><thead><tr><th>Filter</th><th>Description</th></tr></thead><tbody><tr><td>**Payment Methods**</td><td>Only include invoices paid via specific gateways (multi-select, leave empty for all)</td></tr><tr><td>**Product Groups**</td><td>Only include invoices for specific product groups (multi-select, leave empty for all)</td></tr></tbody></table>

- - - - - -

## Output

Configure what happens with each generated statement:

<table id="bkmrk-option-description-s"><thead><tr><th>Option</th><th>Description</th></tr></thead><tbody><tr><td>**Save to Archive**</td><td>Save the statement to the saved statements archive (checked by default)</td></tr><tr><td>**Send Email**</td><td>Send the statement to the client via email with PDF attachment</td></tr></tbody></table>

- - - - - -

## Saving

Click **Save Schedule** to create or update the schedule. After saving a new schedule, the page reloads with the schedule ID in the URL for future editing.

Click **Cancel** to return to the schedules list without saving.# PDF Style

### Account Statement addon **[WHMCS](https://puqcloud.com/link.php?id=77)**

##### [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/) | [FAQ](https://community.puqcloud.com/)

The PDF Style page is available at: **Addons** &gt; **PUQ Account Statement** &gt; **Configuration** &gt; **PDF Style**

This page allows you to customize the appearance and content of generated PDF statements.

![PDF Style — template editor with typography, colors, and display options](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-hdolpdhr.png)*09-pdf-style.png*

- - - - - -

## General

An informational note that PDF layout and orientation are determined by the PDF template selected in the Settings page. The Style editor controls visual appearance within the selected template.

- - - - - -

## Typography

<table id="bkmrk-setting-description-"><thead><tr><th>Setting</th><th>Description</th></tr></thead><tbody><tr><td>**Font Family**</td><td>Choose the PDF font: Helvetica, Times, Courier, DejaVu Sans, Free Serif</td></tr><tr><td>**Font Size**</td><td>Base font size in points (6–24, default: 10)</td></tr></tbody></table>

> **Tip:** Use **DejaVu Sans** or **Free Serif** for full Unicode character support (Cyrillic, Asian characters, etc.).

- - - - - -

## Colors

<table id="bkmrk-setting-description--0"><thead><tr><th>Setting</th><th>Description</th></tr></thead><tbody><tr><td>**Primary Color**</td><td>Main color used for headings, table headers, and accents (default: #337ab7)</td></tr><tr><td>**Secondary Color**</td><td>Secondary color for subtitles and less prominent text (default: #555555)</td></tr><tr><td>**Header Background**</td><td>Background color for table header rows (default: #f5f5f5)</td></tr></tbody></table>

- - - - - -

## Display Options

Toggle which sections appear in the generated PDF:

<table id="bkmrk-option-description-s"><thead><tr><th>Option</th><th>Description</th></tr></thead><tbody><tr><td>**Show Logo**</td><td>Display the company logo at the top of the statement</td></tr><tr><td>**Company Details**</td><td>Show company name, address, and contact information</td></tr><tr><td>**Client Details**</td><td>Show client name, address, and contact information</td></tr><tr><td>**Summary**</td><td>Show the financial summary section (totals for invoices, transactions, credits)</td></tr><tr><td>**Aging Report**</td><td>Show the aging report section for overdue invoice analysis</td></tr><tr><td>**Statement Table**</td><td>Show the detailed statement table with individual line items</td></tr><tr><td>**Balance**</td><td>Show the running balance and final balance totals</td></tr></tbody></table>

- - - - - -

## Custom Content

<table id="bkmrk-setting-description--1"><thead><tr><th>Setting</th><th>Description</th></tr></thead><tbody><tr><td>**Header Text**</td><td>Custom text displayed at the top of the statement (below the logo/company info)</td></tr><tr><td>**Footer Text**</td><td>Custom text displayed at the bottom of the statement</td></tr><tr><td>**Custom CSS**</td><td>Additional CSS styles applied to the PDF. Use for fine-tuning fonts, spacing, borders, etc.</td></tr></tbody></table>

- - - - - -

## Preview

Click the **Preview** button to generate a sample PDF with the current (unsaved) settings. This opens the PDF in a new browser tab so you can review changes before saving.

> **Note:** The preview uses current unsaved settings, allowing you to experiment without affecting live statements.

- - - - - -

## Saving

Click **Save Template** to save all style settings. These settings apply globally to all PDF statements generated by the module.

- - - - - -

## PDF Template Examples

The module includes several built-in PDF templates. The template is selected in **Settings** &gt; **PDF Template**.

### Classic (Portrait)

Traditional bank statement layout with bordered table and alternating rows.

![Classic PDF template — portrait orientation](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-v6n202hx.png)*12-pdf-classic.png*

### Classic (Landscape)

Same classic layout in landscape orientation, showing more columns.

![Classic PDF template — landscape orientation](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-asxlbjo8.png)*13-pdf-classic-landscape.png*

### Modern (Portrait)

Clean modern design with color-coded summary cards and running balance column.

![Modern PDF template — portrait orientation](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-ablvks9w.png)*14-pdf-modern.png*

### Detailed (Portrait)

Comprehensive layout with full company details, client information, and detailed transaction table.

![Detailed PDF template — portrait orientation](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-dh8m1evg.png)*15-pdf-detailed.png*

### Modern (Landscape)

Modern layout in landscape orientation with expanded column space.

![Modern PDF template — landscape orientation](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-fhylgt1e.png)*16-pdf-modern-landscape.png*

### Summary (Landscape)

Executive summary format with color-coded totals and compact transaction table.

![Summary PDF template — landscape orientation](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-wvoqwr4u.png)*17-pdf-summary-landscape.png*

- - - - - -

## Custom PDF Templates

You can create custom PDF templates by adding `.tpl` files to the `templates/pdf/` directory.

![PDF templates directory structure](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-cxoc1h91.png)*18-pdf-templates-tree.png*

Each template file must start with a PHP comment header that defines its metadata:

```php
<?php
// Template: My Custom Template
// Orientation: P
// Paper: A4
// Description: My custom statement layout

```

![PDF template code structure](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-ag09f3mo.png)*19-pdf-template-code.png*

### Template Header Fields

<table id="bkmrk-field-description-te"><thead><tr><th>Field</th><th>Description</th></tr></thead><tbody><tr><td>**Template**</td><td>Display name shown in the Settings dropdown</td></tr><tr><td>**Orientation**</td><td>`P` for Portrait, `L` for Landscape</td></tr><tr><td>**Paper**</td><td>Paper size: `A4`, `Letter`, etc.</td></tr><tr><td>**Description**</td><td>Optional description shown as tooltip</td></tr></tbody></table>

### Available Template Variables

Templates receive the following variables:

<table id="bkmrk-variable-description"><thead><tr><th>Variable</th><th>Description</th></tr></thead><tbody><tr><td>`$config`</td><td>Style settings (colors, fonts, display options) from the PDF Style page</td></tr><tr><td>`$company`</td><td>Company details (name, address, logo, tax info)</td></tr><tr><td>`$statement`</td><td>Statement data (client info, period, invoices, transactions, credits, summary)</td></tr></tbody></table>

After adding a new template file, it automatically appears in the **Settings** &gt; **PDF Template** dropdown.# Settings

### Account Statement addon **[WHMCS](https://puqcloud.com/link.php?id=77)**

##### [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/) | [FAQ](https://community.puqcloud.com/)

The Settings page is available at: **Addons** &gt; **PUQ Account Statement** &gt; **Configuration** &gt; **Settings**

This page controls the module's global settings including client area access, defaults, PDF template selection, email configuration, and advanced options.

![Settings — general, defaults, client area, email, and advanced options](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-d6csvgjj.png)*10-settings.png*

- - - - - -

## General

<table id="bkmrk-setting-description-"><thead><tr><th>Setting</th><th>Description</th></tr></thead><tbody><tr><td>**Enable Client Area**</td><td>Allow clients to access the Account Statement page in the client area</td></tr><tr><td>**Add to Billing Menu**</td><td>Show an "Account Statement" link in the client area billing navigation menu</td></tr><tr><td>**Show Payment Method**</td><td>Show the payment method / gateway column in statements (admin preview, PDF, and CSV). Disable to hide it everywhere</td></tr><tr><td>**Show Open Balance**</td><td>Show the Open Balance line on statements. Disable to show only the Account Credit and Closing (amount owed) figures</td></tr></tbody></table>

- - - - - -

## Defaults

### Default Date Range

Set the default date range preset that is used when a client opens the statement page:

<table id="bkmrk-option-period-this-m"><thead><tr><th>Option</th><th>Period</th></tr></thead><tbody><tr><td>**This Month**</td><td>First to last day of the current month</td></tr><tr><td>**Last Month**</td><td>First to last day of the previous month</td></tr><tr><td>**This Quarter**</td><td>First day of current quarter to today</td></tr><tr><td>**Last Quarter**</td><td>First to last day of the previous quarter</td></tr><tr><td>**This Year**</td><td>January 1 to December 31 of current year</td></tr><tr><td>**Last Year**</td><td>January 1 to December 31 of previous year</td></tr></tbody></table>

### Default Include Options

Set which financial data types are included by default when generating statements:

- Paid
- Unpaid
- Refunded
- Transactions
- Credits

- - - - - -

## PDF Template

<table id="bkmrk-setting-description--0"><thead><tr><th>Setting</th><th>Description</th></tr></thead><tbody><tr><td>**PDF Template**</td><td>Select the PDF layout template for generating statements. Available templates include Classic, Modern, Detailed — in Portrait or Landscape orientation</td></tr></tbody></table>

The dropdown is dynamically populated from template files in the `templates/pdf/` directory. Each option shows the template name and orientation.

- - - - - -

## Client Area

<table id="bkmrk-setting-description--1"><thead><tr><th>Setting</th><th>Description</th></tr></thead><tbody><tr><td>**Client Area URL**</td><td>The direct link to the client area statement page (read-only, with copy button)</td></tr><tr><td>**Client Can Download PDF**</td><td>Allow clients to download PDF versions of their statements</td></tr><tr><td>**Client Can Download CSV**</td><td>Allow clients to download CSV versions of their statements</td></tr></tbody></table>

- - - - - -

## Email

<table id="bkmrk-setting-description--2"><thead><tr><th>Setting</th><th>Description</th></tr></thead><tbody><tr><td>**Email Template**</td><td>Select which WHMCS email template to use when sending statements to clients</td></tr><tr><td>**Create (+)**</td><td>Click the + button to create the default "Account Statement" email template in WHMCS if it doesn't exist yet</td></tr></tbody></table>

The dropdown is populated with all available WHMCS General email templates.

### Email Example

When a statement is sent to a client (manually, via bulk, or via schedule), they receive an email with a PDF attachment and a summary of the statement:

![Email with account statement — PDF attachment and summary](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-rt64nme4.png)*20-email-statement.png*

The email includes:

- PDF statement as attachment
- Statement period
- Summary table with paid/unpaid invoices, credits, account credit, and the closing balance (amount owed)
- Link to view the statement online

- - - - - -

## Advanced

<table id="bkmrk-setting-description--3"><thead><tr><th>Setting</th><th>Description</th></tr></thead><tbody><tr><td>**Statement Expiry Days**</td><td>Number of days before shared statement links expire. Set to 0 for links that never expire (default: 30)</td></tr><tr><td>**Auto Cleanup Days**</td><td>Automatically delete saved statements older than this many days. Set to 0 to disable auto-cleanup (default: 90)</td></tr><tr><td>**Per Page**</td><td>Number of records per page in statement lists (5–100, default: 25)</td></tr></tbody></table>

- - - - - -

## Saving

Click **Save Settings** to save all configuration changes.# Client Area

### Account Statement addon **[WHMCS](https://puqcloud.com/link.php?id=77)**

##### [Order now](https://puqcloud.com/store/whmcs-addon-modules) | [Download](https://download.puqcloud.com/WHMCS/addons/PUQ_WHMCS-Account-Statement/) | [FAQ](https://community.puqcloud.com/)

This page describes the client-facing Account Statement functionality available in the WHMCS client area.

- - - - - -

## Accessing the Client Area Page

Clients can access their Account Statement page in two ways:

1. **Direct URL** — navigate to `https://your-whmcs.com/index.php?m=puq_account_statement`
2. **Billing Menu** — if "Add to Billing Menu" is enabled in Settings, a link appears in the client area billing navigation

> **Note:** The client area page is only available when "Enable Client Area" is checked in the module Settings.

When "Add to Billing Menu" is enabled, clients reach the page from **Billing** &gt; **Account Statement** in the client area navigation:

![Account Statement link in the client area Billing menu](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-0l8uxm8o.png)*22-client-billing-menu.png*

![Client Area — account statement generation and saved statements](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-6wcndnvt.png)*11-client-area.png*

- - - - - -

## Generate Statement

The top section allows clients to generate their own account statements:

### Date Range

- **Date From / Date To** — manual date pickers
- **Quick Period** buttons — one-click presets: This Month, Last Month, This Year, Last Year

### Include Options

Checkboxes to select what financial data to include:

- Paid, Unpaid, Refunded, Transactions, Credits

### Action Buttons

<table id="bkmrk-button-description-v"><thead><tr><th>Button</th><th>Description</th><th>Visibility</th></tr></thead><tbody><tr><td>**View**</td><td>Generate and display the statement preview inline</td><td>Always visible</td></tr><tr><td>**Download PDF**</td><td>Download the statement as a PDF file</td><td>Only if "Client Can Download PDF" is enabled in Settings</td></tr><tr><td>**Download CSV**</td><td>Download the statement data as a CSV file</td><td>Only if "Client Can Download CSV" is enabled in Settings</td></tr></tbody></table>

- - - - - -

## Statement Preview

After clicking **View**, the generated statement is displayed inline below the form. The preview shows the same rendered HTML statement that administrators see.

![Client area statement preview with summary](https://doc.puq.info/uploads/images/gallery/2026-06/embedded-image-watgkhkf.png)*23-client-area-preview.png*

- - - - - -

## Saved Statements

The bottom section shows the client's previously saved statements (generated by admin, schedule, or bulk operations):

<table id="bkmrk-column-description-d"><thead><tr><th>Column</th><th>Description</th></tr></thead><tbody><tr><td>**Date**</td><td>When the statement was generated</td></tr><tr><td>**Period**</td><td>Statement date range (from — to)</td></tr><tr><td>**Generated By**</td><td>How the statement was created: manual, schedule, or bulk</td></tr><tr><td>**Actions**</td><td>Download buttons and view link</td></tr></tbody></table>

### Actions Per Saved Statement

<table id="bkmrk-button-description-v-0"><thead><tr><th>Button</th><th>Description</th><th>Visibility</th></tr></thead><tbody><tr><td>**PDF**</td><td>Download the statement as PDF</td><td>Always visible</td></tr><tr><td>**CSV**</td><td>Download the statement as CSV</td><td>Only if "Client Can Download CSV" is enabled</td></tr><tr><td>**View**</td><td>Open the statement via public link (if available)</td><td>Only if statement has an access hash</td></tr></tbody></table>

### Pagination

When there are multiple pages of saved statements, pagination controls appear below the table with page numbers and previous/next navigation.

- - - - - -

## Important Notes

- Clients can only see their own statements — all requests are filtered by the logged-in client's ID
- The client area uses Bootstrap 4 styling (WHMCS client area) rather than Bootstrap 3 (admin area)
- Download buttons (PDF/CSV) respect the permission settings configured in the admin Settings page
- The statement is generated with the client's configured currency