Navigation
14.19. Build an MSP Invoice Layout: Create, Clone, Designer Workspace, Components, and Field Binding
Build a custom AlgaPSA invoice layout from create-or-clone through the visual designer workspace, structure/content/dynamic/media components, and binding customer, invoice, tenant, and line-item fields.
This page walks the full build flow for an AlgaPSA invoice layout: creating or cloning the layout, navigating the visual designer, choosing the right components, and binding invoice data into them. Once you finish here, styling and shaping are covered in 14.20. Style and Shape Invoice Layouts, and page setup, preview, and troubleshooting in 14.21. Page Setup, Preview, and Troubleshooting. For the overview of what layouts are and how they're assigned, see 14.18. What Are Invoice Layouts.
For most MSPs, the safest approach is to start from a standard layout or a known working custom layout, then make small changes and preview the result.
Prefer to watch first? Customize Invoices with the AlgaPSA Invoice Designer (9:31) walks the same flow on video: creating a layout, arranging components in the designer, binding data, and previewing the result.
Create a new layout
- Go to Billing > Invoice Layouts.
- Click Create New Layout.
- Enter a clear name, such as GreenLeaf Managed Services Invoice Layout.
- Use the visual designer to add invoice components.
- Preview the layout with sample or existing invoice data.
- Select Save Template. Saving keeps you in the designer and confirms Layout "GreenLeaf Managed Services Invoice Layout" saved. Next to the buttons, the header shows Saved with the date and time, or Not saved yet for a layout that has never been saved. Select Close to return to the layout list.
Figure 1: A new invoice layout starts with a name, design workspace, and page setup controls.
When to clone instead of starting blank
Clone or copy an existing layout when you only need to adjust presentation. Starting from a blank layout is better when you want a completely new page structure.
On the Invoice Layouts list, use the row's actions menu:
- Clone creates a duplicate and appends (Copy) to the name. The new copy is saved as a custom layout you can edit later.
- Edit as Copy appears on standard layouts because standards are read-only. Choosing it creates an editable copy named Copy of [original name] and opens it in the visual designer.
| Situation | Recommended approach |
|---|---|
| Add your logo and payment instructions to the standard invoice | Clone a standard layout, then edit branding and footer text. |
| Create a special invoice for a large managed services client | Clone your normal layout, then add client-specific sections. |
| Build location-based billing presentation | Start from a standard detailed layout or a layout that already groups line items. |
| Redesign the invoice from scratch | Create a new blank layout and add only the components you need. |
Naming standards
Use names that explain how the layout should be used.
| Good name | Avoid |
|---|---|
| Default Managed Services Invoice | New Template |
| GreenLeaf Dental Monthly Services Invoice | Test Layout |
| Project Retainer Invoice Layout | Invoice Copy 2 Final |
| Location-Based Invoice Detail | Layout 7 |
If a layout is client-specific, include the client or agreement name. If it is a general tenant default, use a broad name like Default MSP Invoice Layout.
The Designer Workspace
The invoice designer is a visual workspace for building invoice documents. You place components on a page, arrange them, bind fields to invoice data, style the layout, and preview the result before saving.
Figure 2: The designer includes the component palette on the left, the invoice canvas in the center, and the inspector on the right.
Main areas
| Area | What it does |
|---|---|
| Header | The template name, the Saved / Not saved yet status, Close, and Save Template, on one row. |
| Visual / Code tabs | Most users work in Visual mode. Code mode is a read-only JSON view of the template structure, useful for advanced inspection or support workflows. |
| Design tab | The drag-and-drop canvas where you build the invoice page. |
| Transforms tab | Optional data shaping for filtering, sorting, grouping, or summarizing invoice collections. See 14.20. Style and Shape Invoice Layouts. |
| Preview tab | Renders the invoice using sample data or an existing invoice. See 14.21. Page Setup, Preview, and Troubleshooting. |
| Toolbar | Undo, redo, snap-to-grid, guides, rulers, and zoom controls. |
| Palette | Blocks, presets, and fields for adding components, with the collapsible Outline panel below them. |
| Canvas | The page area where invoice content is arranged. |
| Inspector | Property panel for the selected component or page setup, with the Arrange controls for moving, copying, and deleting the selected block. |
Toolbar controls
| Control | Use it for |
|---|---|
| Undo / Redo | Step backward or forward while editing. |
| Snap | Keep components aligned to the grid. Leave it on for most business layouts. |
| Guides | Show alignment helpers while moving components. |
| Rulers | Show measurement guides around the page. |
| Zoom | Zoom in for detailed placement or out for full-page review. |
Palette tabs
| Tab | Use it for |
|---|---|
| Blocks | Add sections, containers, text, data fields, totals, tables, logos, and images. |
| Presets | Insert prebuilt combinations when available. |
| Fields | Browse invoice, customer, tenant, and line-item fields that can be inserted into text or field components. |
Drag a block onto the canvas, or select its + to insert it.
Where new blocks go
The palette always says where the next block will land:
- With nothing selected: "New blocks go at the end of the page."
- With a block selected: "New blocks go right after" that block.
- With a section or container selected, choose Inside it or After it under Where new blocks go. Shift+click + adds the block after the container instead.
The canvas marks the spot with "The next block you add goes here". An empty container reads "Empty — select it and add blocks from the left panel".
The Outline panel
Outline sits under the palette and can be collapsed or expanded. It shows the layout as a tree of sections, containers, and blocks, with expand and collapse controls on each branch. Use it to select a block that is hard to click on the canvas, or drag blocks onto it to move them between containers.
Inspector basics
The inspector changes based on the selected component and is split into three tabs:
| Tab | What it holds |
|---|---|
| Content | What the block shows: its text, bound data field, label, image source, or table columns. |
| Style | Colors, borders, spacing, and text style, including Typography and, for data fields, Value Text (Size, Weight, Line height, Align, Style, Color). |
| Layout & size | How the block sits in its container: Auto, Fill, Fit, or Fixed size for width and height, with optional minimum and maximum values, and box spacing set per side or Same on all sides. |
A summary at the top lists everything set on the selected block, Set on this block (N):, with Edit in the … tab links that jump to each setting. This makes it easy to see why one block looks different from its neighbours.
Content options worth knowing:
- In a Text Block, + Insert data field… opens a searchable list of fields to drop into the text.
- A label can use a standard label, which is translated automatically into the recipient's language, or Use fixed text to type your own wording. Search standard labels… finds a standard label to switch back to. The canvas shows "Translated labels shown in" the preview language, so you can check translated wording.
- When you rebind a Data Field to a different field, its label updates to match.
- When you rename a container, the designer offers to rename the blocks inside it too.
- For an image, Image source is either Company logo, which "Shows the logo from your company branding settings on every document", or Custom image with a Source URL.
- In a table, each column has its own Align (Default, Left, Center, Right) and a width such as
auto,50%, or120px.
When no component is selected, the inspector shows page setup controls such as paper preset and margins. Paper preset and margins are covered in 14.21. Page Setup, Preview, and Troubleshooting.
Arrange, copy, and keyboard shortcuts
The Arrange controls in the inspector act on the selected block. Each has a keyboard shortcut (use Ctrl on Windows and Linux, ⌘ on Mac):
| Control | Shortcut | What it does |
|---|---|---|
| Up / Down | ↑ / ↓ | Move the block earlier or later in its container. |
| Out | Alt+← | Move the block out of its container, placing it right after. |
| In | Alt+→ | Move the block into the container just before it. |
| Copy | Ctrl/⌘+C | Copy the block. |
| (no button) | Ctrl/⌘+X | Cut the block. |
| Paste | Ctrl/⌘+V | Paste into the selected container, or after the selected block. |
| Duplicate | Ctrl/⌘+D | Duplicate the block right after itself. |
| Copy style | Ctrl/⌘+Alt+C | Copy colors, borders, spacing, and text style. |
| Paste style | Ctrl/⌘+Alt+V | Give the selected block the copied style. |
| Delete | Delete | Delete the block. |
Ctrl/⌘+Z and the redo shortcut step through changes, and Ctrl/⌘+S saves. Copy style and Paste style are the quickest way to make every heading or every totals label match after you have styled one. These shortcuts can be changed like other AlgaPSA shortcuts; see 1.6. Keyboard Shortcuts & Command Palette.
Practical editing habits
- Build from top to bottom: header, invoice details, line items, totals, footer.
- Use containers to keep related items aligned.
- Keep snap and guides enabled while arranging components.
- Preview frequently instead of waiting until the layout is finished.
- Save only after the preview successfully renders the expected data.
Component Reference
Invoice layouts are built from components. Each has a business purpose: some organize the page, some display invoice data, some repeat line items, and some add branding or supporting information. The blocks listed below match the BLOCKS tab in the designer's left rail.
Structure components
| Component | Use it for | Example |
|---|---|---|
| Section | Group a major part of the invoice. | Header, billing summary, line items, footer. |
| Box Container | Arrange several items in a row, column, or grid. | Logo on the left and invoice number on the right. |
| Divider | Separate invoice areas visually. | Line between header and invoice details. |
| Spacer | Add intentional blank space. | Extra space before totals or payment instructions. |
Content components
| Component | Use it for | Example |
|---|---|---|
| Text Block | Static or mixed text. | "Thank you for choosing Northstar Managed IT." |
| Data Field | A bound invoice value. | Invoice Number, Due Date, Customer Name, Total. |
| Field Label | A label next to a data field. | "Due Date" or "PO Number." |
| Totals | A combined totals block whose rows you edit in place: Add row: Subtotal, Tax, Total, Subtotal Before Discounts, or Discounts; reorder or remove rows; set each row's Label; mark the grand total with Emphasize (grand total style); and Hide when zero for rows that are often empty. | Standard invoice total section. |
| Subtotal Row | A single subtotal line (after discounts and credits, before tax). | Show subtotal in a custom totals design. |
| Tax Row | A single tax line. | Show tax below subtotal. |
| Discount Row | The invoice's Discounts total: discount and credit lines added together, shown as a positive amount. | Show a contract discount or credit as its own line. |
| Custom Total Row | A custom summary line. | "Managed services total" or "Project total." |
| Signature Block | A signature line when needed. | Project or quote-style signoff workflows. |
| Action Button | A visual button in supported document output. | "Pay Invoice" or "View Portal." |
| Attachment List | List supporting attachments. | Project statement of work or supporting billing detail. |
Dynamic components
| Component | Use it for | Example |
|---|---|---|
| Line Items Table | Standard invoice line-item table. | Description, quantity, rate, and amount. |
| Dynamic Table | A repeating table bound to another collection. | Grouped usage rows or custom detail rows. |
Dynamic components are essential when the number of invoice rows changes from invoice to invoice. Configuring column bindings and grouping is covered in 14.20. Style and Shape Invoice Layouts.
Media components
| Component | Use it for | Example |
|---|---|---|
| Image | Add a stored image. | A remittance slip, certification badge, or document image. |
| Logo | Add your MSP logo. | Top-left branded invoice header. |
| QR Code | Add a scannable code. | Payment link, portal link, or reference link when supported. |
Recommended starter set
For a standard MSP invoice, begin with:
- Logo for branding.
- Text Block for your MSP name or payment message.
- Data Fields for invoice number, customer name, issue date, due date, and PO number.
- Line Items Table for services, time, usage, and recurring charges.
- Totals for subtotal, tax, and amount due.
- Text Block for payment instructions and support contact.
Keep the first version simple. Add advanced components only when they solve a real client billing need.
Binding Invoice Data
A layout becomes useful when its components are connected to invoice data. In the designer, this is called binding. A bound field displays the value from the invoice being rendered, such as customer name, invoice number, due date, subtotal, tax, or total.
The designer generates its available field bindings from the document render paths. As a result, a field selected in the template designer remains bound when the document is exported instead of rendering as a blank value.
Figure 3: The Fields tab helps billing admins find and insert available invoice data fields.
Field categories
The Fields picker groups available data into four core categories.
| Category | Common fields | Use them for |
|---|---|---|
| Customer | Customer Name, Customer Address | Show who receives the invoice. |
| Invoice | Invoice Number, Issue Date, Due Date, PO Number, Subtotal Before Discounts, Discounts, Subtotal, Tax, Total, Recurring Service Period | Show core invoice details and amounts. |
The three amount fields before tax relate to each other like this:
| Field | Meaning |
|---|---|
| Subtotal Before Discounts | "The invoice subtotal before discounts and credits, and before tax." |
| Discounts | "The total of discount and credit lines, shown as a positive amount." |
| Subtotal | "The invoice subtotal after discounts and credits, before tax." |
So Subtotal Before Discounts − Discounts = Subtotal. Use Subtotal on its own when you do not show discounts. When you do show them, use all three in that order, so the client never sees a discount subtracted twice. | Line Item | Item Description, Item Quantity, Item Unit Price, Item Total, Item Service Period Start/End, Item Billing Timing | Build tables and detailed charge explanations. | | Tenant | Tenant Name, Tenant Address | Show your MSP company information. |
Where to use fields
Fields can appear in several places in a layout:
- a Data Field component;
- a Text Block that combines text and values;
- a Line Items Table column;
- a Totals or custom total row;
- a footer message or payment instruction.
Inside a Text Block, fields are interpolated with double-brace syntax. For example, a payment message might say: "Payment for invoice {{invoice.number}} is due by {{invoice.dueDate}}." You can also pipe values through formatters, such as {{invoice.total | currency}}.
Important invoice fields
Most invoice layouts should include:
| Field | Why it matters |
|---|---|
| Customer Name | Confirms the billed client. |
| Invoice Number | Required for client reference and accounting. |
| Issue Date | Shows when the invoice was created. |
| Due Date | Makes payment timing clear. |
| PO Number | Important for clients that require purchase orders. |
| Recurring Service Period | Explains the service window for recurring billing. |
| Subtotal, Tax, Total | Shows the billing calculation and amount due. |
For configuring the totals rows specifically, see 14.20. Style and Shape Invoice Layouts.
Important line-item fields
Line-item fields explain what the client is being charged for and drive the rows of dynamic tables.
| Field | Example use |
|---|---|
| Item Description | "Managed Endpoint Monitoring" or "Cloud Backup Storage Overage." |
| Item Quantity | 35 endpoints, 250 GB, or 4.5 hours. |
| Item Unit Price | Rate per endpoint, GB, license, or hour. |
| Item Total | Extended amount for that line. |
| Item Service Period Start/End | Useful for recurring services and contract periods. |
| Item Billing Timing | Helps explain prepaid, arrears, or period-based charges when available. |
Binding checklist
Before saving a layout, preview it and confirm:
- customer and tenant fields show the right names and addresses;
- invoice number, issue date, due date, and PO number appear where expected;
- service period fields are present for recurring invoices;
- line-item quantity, rate, and amount columns align correctly;
- totals are formatted as currency;
- missing optional fields do not leave confusing blank labels.
Build a layout that shows time by ticket
For a ready-made starting point, open Billing > Invoice Layouts and choose Edit as Copy on Standard Invoice By Ticket. Its primary charge table combines eligible billed time into one row per ticket and preserves the invoice's other charges.
Figure 5: Start from Standard Invoice By Ticket or bind your own table to Charges by Ticket.
To configure your own table, use the table's Source Binding selector:
| Source | Use it for |
|---|---|
| Charges by Ticket | The main charge presentation: grouped ticket time plus retained products, fixed fees, usage, and other invoice charges. |
| Billed Time by Ticket | Supporting ticket-level time summaries. This source does not represent every charge on the invoice. |
| Billed Time Entries | Supporting detail for individual billed time entries. |
The matching column presets include Ticket, Description, Hours, Rate, and Amount for ticket summaries. Use the provided rate display so a group with different billed rates reads Mixed rates, and unavailable historical rate evidence reads Rate unavailable.
The Presets palette also includes Billed-time detail by ticket, which adds a repeating ticket or task heading with its entry table, and Billed-time entry detail, which adds an informational entry table. These are supporting breakdowns of charges already included above; do not add their amounts to invoice totals again.
Ticket and time details are read from the invoice's generation-time snapshot. Editing the source ticket later does not rewrite those billed details. Invoices with incomplete or absent snapshots retain the affected original charge rows rather than guessing historical ticket data.
Before saving, preview an invoice with several entries on one ticket and at least one product or fixed fee. Confirm that the ticket time appears once, the non-time charge remains present, and subtotal, tax, and total agree with the draft invoice. Existing custom layouts keep their chosen bindings until you change them.
Preview before you save
The designer's Preview tab renders the layout against real data so you can validate the result before saving:
- Sample invoice data — pick one of the built-in sample invoices to confirm structure, totals, and styling without touching live data.
- Existing invoice data — select an actual invoice from your tenant to see exactly how the layout will render for a known billing scenario.
The preview uses the real company name, address, and logo from the tenant's designated company record. The designer shows the company identity and document data the client will receive, making it suitable for final approval before a layout is assigned.
Always run a preview with both a sample and a representative existing invoice before publishing changes. The full preview/validation workflow lives in 14.21. Page Setup, Preview, and Troubleshooting.
Before saving
Before saving a new layout, confirm:
- the layout has a meaningful name;
- the invoice number, customer name, issue date, due date, and total are present;
- line items are visible and readable;
- totals appear once and are easy to find;
- the logo or images fit the page;
- margins are suitable for PDF and print;
- preview renders successfully with both sample and existing invoice data.
Do not assign a new layout as a default until billing staff have previewed it with realistic sample data or an existing draft invoice.
