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.
Settings
| Field | Description |
|---|---|
| PDF Paper Size | A4, A5, or 80 mm (for receipt printers). |
| Page Orientation | Portrait or Landscape. |
| Template editor | The 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
- Logo: replace the image address in the
<img src="...">tag with your logo URL. - Currency: check the currency text near the total.
- Add your company name, address and tax number as text.
Values you can use in the template
| Variable | Content |
|---|---|
$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