Articles in this section

Add a Custom Project Field to an Invoice Header

Once you’ve created a project in BigTime, you’ll have the ability to add custom fields to that project if you want to add extra information not already covered by existing fields. If you want, you can opt to include those custom fields in the header for that project’s invoices. For the sake of this example, we’ll say you have a custom field labeled Reference Number that you’d like to add to your invoice header.

XML_ProjectCustomField.png

To add this field to your invoice header, you’ll need to convert your chosen invoice template to its source code and make edits there. Start by going to INVOICING…CONFIGURE from your main navigation bar.

XML_Configure.png

In the pop-up window that appears, go to the PDF STYLES tab.

XML_PDF.png

Now, click on your chosen invoice PDF template from the list. Then click on the EDIT button.

XML_Edit.png

A new window will open. Here, scroll down to the section labeled SOURCE VIEW and click on the hyperlink CONVERT TO SOURCE-ONLY.

XML_Convert.png

You’ll now see the source code for your invoice template. This is where you’ll be able to add your custom field to the header via XML. 

XML_XML.png

Navigate to the segment of code that contains your invoice header fields. You’ll need to add a new line following the format below:

<fld label="Field label">Project.CustomFields.UDF NAME</fld>

So, if we’re adding a Reference Number field in this example, we would write the code as follows:

<fld label="Reference #">Project.CustomFields.Reference_Number</fld>

XML_Field.png

Finally, click the blue SAVE button at the bottom of your screen.

XML_Save.png

Now you’ll see your custom field – in this case, Reference # – appear in the header of any invoice PDF you create with this template.

XML_Invoice.png

Was this article helpful?
0 out of 0 found this helpful

More Resources