Note: This feature only supports invoice template customizations. Document Builder, which supports both invoice and quote template customizations, might be available on your marketplace. See Document Builder.
With the invoice builder tool, can modify PDF templates in the user interface (UI).
You can use the visual editor to edit templates that you previously created. You can also copy default templates and edit the copied version (you cannot edit default templates).
To edit an invoice template with the visual editor
Note: If the AppDirect logo appears in the upper-left corner of the page, when Manage > Marketplace appears in this topic, click the grid icon > Switch to | Store, instead.
To open a template, do one of the following:
For templates that you previously created:
For default templates that you want to copy and edit:
(Optional) To change the template name, enter a new name in the Name field.
Click Create Copy. The invoice template appears on the Invoice Templates listing page.
Note: If you plan to edit the template, do not publish the template until your changes are complete. A published template is used for all future PDF invoices. See Publish templates for more information.
Click Edit template. The visual editor page opens. It includes three panes:
Left navigation pane—Contains all of the template editing options, organized under Design and Content sections. Each component in the left navigation corresponds to an element in the preview pane.
Design—Includes options that modify design elements for the entire template.
Page settings—The visual editor supports the letter size template format. Previously, PDF templates could only be created in the standard A4 (legal size) format.
Note: After you configure a global style for a template, you can override the style for specific sections, as needed.
Content—Groups all of the content elements of a template into a single section in the left navigation. The content section is organized by Header, Body and Footer.
Upload—Upload an image to a specific section of the template. This option replaces the previous Choose File option.
Image Library—Every image file that you upload is added to an image library for the specific template. You can reuse images in the library in any section of the template.
Note: While you are editing an invoice template, the preview updates after every change that you make, but the template is not updated in the database. See the final two steps of this procedure to save and publish updated templates.
(Optional) To configure design specifications that apply to the entire invoice template, click Global Styles, then modify any of the following, as required:
Note: After you configure a global style for a template, you can override the style for specific sections, as needed.
(Optional) To define content body settings, in the Content section, click Body. A tree structure opens. It displays all of the components in the invoice template, in the order in which they appear in the preview pane. When you hover over a component in the left navigation, the matching element in the preview pane is highlighted with a blue box.
Note: Some components that appear in the template cannot currently be edited, including row, vertical, spacer and table.
(Optional) Edit body components as required:
Text or markdown text—Click the text or markdown text button in the left navigation. A text editing pane opens, where you can edit the following text options:
Text (for markdown text components only)—Edit the content of the markdown text component. The following table provides examples of how to edit common markdown text elements:
Markdown text element | Formatting |
---|---|
Headings |
Add # before the heading for Heading 1 Add ## before the heading for Heading 2 Examples: #Heading 1 ##Heading 2 |
Bold |
Add ** before and after the text that you want to bold. Example: **bold text** |
Italics |
Add * before and after the text that you want to italicize. Example: *italics* |
Ordered list |
Press Enter or the Return key twice if after each ordered list item. Examples: 1. First item 2. Second item 3. Third item |
Unordered list |
Add an asterisk before each unordered list item. Examples: * First item * Second item * Third item |
Horizontal line |
Enter three dashes (---) followed by a space, then press Enter or Return. |
Link |
Use the following format: [linked text](http://example.com) |
Line break |
Enter two spaces, then press Enter or Return. |
New paragraph |
Press Enter or Return twice. |
Border style—Select any of the following options: None, Solid, Dashed, Dotted, Double. If you select a border style other than None, additional border options appear:
Image—Edit images as follows:
(Optional) To upload an image, click Upload, then select an image to upload from your computer. Images must be in JPG/JPEG or PNG format, and have a maximum size of 5MB.
After you upload an image, it is available in the image library. You can reuse images from the library within the same template.
Select an image width from the following options: Full width of the allowed image space, 75%, 50%, 25%, or Custom. If you select Custom, a slider appears. Use the slider to select the image width. The image height adjusts in proportion to the image width.
Select the position of the image within the image element’s space (left, center, right)
Select one of the following border style options: None, Solid, Dashed, Dotted, Double. If you select a border style other than None, additional border options appear:
Border color—To change the text box border color, click the color selector box, then select the border color.
Border width—Determines the thickness of the border lines. Select a value from 0pt to 20pt.
Border radius—Adds curved corners to the border. Select a value from 0pt to 100pt
(Optional) To add components to the template, do the following:
(Optional) To add tokens to any section of the template, do the following:
Click the token that you want to add. The token is added to the clipboard.