Back

Adding Sales Representatives’ Names Using Custom Fields

Adding sales representatives’ names to your invoices lets you link every sale to the rep responsible for it and follow your sales team’s performance. With Invoice Custom Fields, you can create a dropdown field that lists your reps, choose the rep on each invoice, show the rep’s name on the printed invoice, and search and filter by rep in the invoices list and sales reports.

Before you begin

  • You have permission to edit Sales Settings to create the custom field.
  • You have permission to edit Printable Templates if you want to show the rep’s name on the printed invoice.
  • Prepare a list of your sales reps’ names as you want them to appear on invoices and reports.

Tip: If your sales reps are registered as employees in the system, you can use the built-in Sales Person field on the invoice instead of creating a custom field. If your reps aren’t system users, use the custom field explained in this tutorial.

Create the Sales Representative field

  1. From the main menu, go to Sales, then Sales Settings, and click the Invoice Custom Fields card.
Invoice Custom Fields card in Sales Settings
  1. Drag the Dropdown field type from the field list and drop it on the form.
Choosing the Dropdown field type
  1. In the Properties tab, enter Sales Representative in the Field Label box.
Entering Sales Representative as the field label
  1. In the Choices (every option per line) box, enter your sales reps’ names, one name per line.
Entering rep names in the field choices
  1. Open the Validation tab, set Filter by this Field? and List by this Field? to Yes, then click Save to close the field window.
Setting the Validation tab options

Note: Set Is it Required ? to Yes if every invoice must have a rep, or leave it at No to keep it optional. The field appears in the invoices Advanced Search and in report filters only if Filter by this Field? is set to Yes.

  1. Click Save to save the invoice custom fields.
Saving the invoice custom fields

Tip: To add a new rep later, open the same field from Invoice Custom Fields, add the name on a new line in the choices, then save.

Show the rep name on the printed invoice

  1. From the main menu, go to Templates, then Printable Templates, and click the Invoices & Estimates card.
Invoices and Estimates card in Printable Templates
  1. From the Invoice/Estimate Layouts list, click the three-dot button next to the template you use, then click Edit.
Editing the invoice layout
  1. From the side menu of the Custom Invoice Builder, click Custom Fields, then click Add More Fields and choose Custom Field.
Custom Fields tab in the Custom Invoice Builder
  1. In the first box, enter the label as you want it to appear on the invoice: Sales Representative. In the second box, paste the field variable. Click Save under the list, then click Save at the top of the page to save the template.
Adding the field label and variable to the template

Note: Each custom field has its own variable, in the format {%custom_field_label_field_ID%}, for example {%custom_sales_representative_field_25%}. The field ID differs from one account to another, so copy the variable from the Placeholders list inside the template, where it appears as Sales Representative – Invoice. To learn how to insert variables, see How to Add Variables in the Invoice Layout.

Warning: The change appears only on invoices that use the template you edited. If you use more than one invoice template, repeat these steps for each one.

Choose the rep when creating an invoice

  1. From the main menu, go to Sales, click Create Invoice, and after entering the invoice details, choose the rep from the Sales Representative field in the More Invoice Information section at the bottom of the page, then save the invoice.
Choosing the sales rep when creating an invoice

Note: To complete the rest of the invoice details, see Creating an Invoice.

  1. After saving, the rep’s name appears in the Details tab of the invoice page, under More Invoice Information.
Rep name in the invoice Details tab
  1. If you added the field variable to the print template, the rep’s name also appears on the printed invoice.
Rep name on the printed invoice

Filter invoices and reports by rep

First: In the invoices list

  1. Go to Sales, then Manage Invoices, click Advanced Search, choose the rep from the Sales Representative field, and click Search.
Filtering invoices by rep in Advanced Search
  1. Only the invoices of the selected rep appear, and the applied filter shows at the top of the search section. To remove it, click the remove icon next to it or click Reset.
Invoices filtered by rep

Second: In sales reports

  1. Go to Reports, then Sales Reports, open the report you need (such as Sales by Client), choose the rep from the Sales Representative field, and click Show Report.
Filtering a sales report by rep

Result: Each invoice is linked to the rep responsible for it, and you can print the rep’s name on the invoice and search and filter by rep in the invoices list and sales reports.

Common problems and solutions

Problem Solution
The Sales Representative field doesn’t appear in Advanced Search or report filters. Open the field from Invoice Custom Fields, set Filter by this Field? to Yes in the Validation tab, then save.
The rep’s name doesn’t appear on the printed invoice. Make sure you added the field variable to the template the invoice uses, and that you copied the correct variable from the Placeholders list, then save the template.
The variable appears as text on the printed invoice instead of the rep’s name. Make sure the variable is complete, with its braces and percent signs and no spaces, exactly as it appears in the Placeholders list.
A new rep’s name doesn’t appear in the dropdown when creating an invoice. Add the name on a new line in the field’s choices, then save the invoice custom fields.

FAQs

Can I make choosing a rep mandatory on every invoice?

Yes. Open the field from Invoice Custom Fields and set Is it Required ? to Yes in the Validation tab. The invoice can’t be saved without choosing a rep.

What's the difference between this field and the Sales Person field?

Sales Person is a built-in invoice field that lists employees registered in the system. The Sales Representative field in this tutorial is a custom field whose names you enter yourself, which suits reps who don’t have system accounts.

Are existing invoices affected when I add the field?

No. The field is empty on existing invoices, and you can edit any invoice to choose its rep.