Billing

Subscriber invoices: invoice types, the user invoices list, issuing invoices, the invoice designer, and postpaid billing.

Billing Overview

The Billing menu manages invoices for subscribers: documents that show what a subscriber bought and whether it is paid. Invoices can be printed or sent as PDF.

User invoices are documents for your subscribers. They don't move money between balances. Manager balances, deposits and commissions are in the Managers chapter, and manager invoices are in Reports → Managers Invoices.

Where invoices come from

How it is createdType shownPaid?
Billing → Issue Invoice (manual)customUnpaid
Activation with Manager Balance and Issue an invoice for the user tickedacp_activationPaid if Money Collected is ON, otherwise unpaid
Activation or extension paid from the user's balance, or by the subscriber in the user portalactivatePaid
Automatic invoice for Postpaid profilespurchase/postpaidUnpaid
Withdrawal from a user's balancetransfer/withdrawalPaid

Pages in this chapter

Invoice number

Invoice numbers look like 2026-5-1234: year, ID of the manager who created the invoice (0 = created automatically), and a running number.

User Invoices

Billing → User Invoices lists the invoices of the subscribers you manage (your users and your sub-managers' users).

user invoices

Columns

Invoice No (click to open), Due Date, Username, Type, Amount, Description, Created By, Payment Method, Paid (check mark), and Date (hidden by default).

Actions

ActionWhat it does
Pay InvoiceMarks the invoice as paid (for example after the subscriber paid you in cash). It only changes the invoice status; balances and debts are not changed.
Un-Pay InvoiceMarks a paid invoice as unpaid and adds the amount as a debt on the user (shown in the Debts column of the Users List). Use Pay Debt on the user when the money is received.
DownloadDownloads the invoice as PDF.
Invoice DesignerOpens the Invoice Designer (system administrators).

A user's invoices are also shown on the user details page, in the Invoices tab.

Required permission: Billing and Users - Show Users Invoices

Issuing an Invoice

Use Billing → Issue Invoice to create an invoice for a subscriber, for example for installation, equipment or a service. You can also open it from the user's Overview with Issue Invoice; the user is then already selected.

issue invoice

How to issue an invoice

  1. In select client, type at least 2 characters of the username or name and select the subscriber. The sender (you) and the recipient (the subscriber) are shown at the top.
  2. Add lines:
    • Add Service: choose a profile. The price is filled in from the subscriber price list (without VAT).
    • Add Custom Item: type any item name, quantity and unit price, for example "Router TP-Link".
  3. Optionally set the Due Date (default: today) and a Discount (%). The Discount Value and Total are calculated.
  4. Click Save, or Save & Print to also download the PDF.

Invoices from activation

When activating a user with Manager Balance, a Confirm Activation window offers Issue an invoice for the user (unticked by default, needs the Billing permission). The invoice includes VAT, is marked paid when Money Collected is ON, and the PDF is downloaded automatically. If email notifications are enabled, it is also attached to the activation email.

Required permission: Billing

Invoice Designer

The Invoice Designer changes how invoice PDFs look: your logo, company details, layout and paper size. Open Billing → User Invoices → Actions → Invoice Designer.

invoice designer

Settings

FieldDescription
PDF Paper SizeA4, A5, or 80 mm (for receipt printers).
Page OrientationPortrait or Landscape.
Template editorThe invoice template (HTML with Laravel Blade). Edit texts, colours and layout here.

Click Save to apply. Factory Default restores the original template.

Customise before using invoices

Values you can use in the template

VariableContent
$issuer['site_name'], ['name'], ['address_line1'], ['address_line2'], ['phone'], ['email']Your site title and the details of the manager who created the invoice.
$receiver['name'], ['username'], ['address_line1'], ['address_line2'], ['phone'], ['email'], ['profile_name'], ['expiration'], ['notes']The subscriber's details.
$invoice['number'], ['issue_date'], ['due_date'], ['value'], ['vat'], ['discount'], ['total'], ['currency'], ['status'], ['comment']Invoice details. Status is PAID or UNPAID.
$items (each with name, qty, unit_price, price)The invoice lines.

A mistake in the template (for example a missing }} or a wrong variable) stops all invoice PDFs from being created. If that happens, fix the template or click Factory Default. Keep a copy of your template before big changes.

The PDF supports Arabic and other languages. The server needs internet access when creating PDFs.

Required permission: Managers - System Administrator

Postpaid Billing and Settings

For subscribers on Postpaid profiles, SAS Radius creates an unpaid invoice shortly before each subscription period ends, so the subscriber can pay for the next period.

To turn automatic invoices on and set the timing, grace period and overdue handling, see Settings → Postpaid Billing.

Postpaid profiles are explained in Profile Types (Profiles chapter).