Job (Custom Templates)
The following are available attributes. Select the link to navigate directly to that attribute:
- Balance
- Charges
- Completed On
- Contact
- Custom Fields
- Description
- Employees
- Estimate Date
- Estimate Notes
- Estimate Terms
- Events
- Invoice Date
- Invoice Notes
- Invoice Terms
- Job Number
- Name
- Scope of Work
- Notes
- PO Number
- Recurring End Date
- Ref Number
- Scheduled On
- Service
- Ship Date
- Shipping Method
- Signature
- Signature Image URL
- Subtotal
- Synced
- Tax
- Time Entries
- Total
- Total Applied Payments
- Total Hours
- License numbers and certification strings
Balance
job.balance
Returns the balance of the job.
Charges
job.job_charges
Returns an array of all job charges for the job. See our Charge (Custom Templates) article for a full list of available attributes.
Input
{% for charge in job.job_charges %} Item: #{{ charge.item }} Qty: #{{ charge.quantity }} Total: #{{ charge.total }}{% endfor %}
Output
Item: Tennis Balls
Qty: 3
Total: $8.99
Item: Tennis Racket
Qty: 1
Total: $99.99
Completed On
job.completed_on
Returns the date the job was completed.
Input
#{{ job.completed_on | date: "%D" }}
Output
04/22/14
Contact
job.customer
Returns the contact associated with the job. The object returned is a contact
object and must be used in combination with any of the contact
attributes, as in the example below.
Input
#{{ job.customer.name }} #{{ job.customer.email_address }}
Output
Homer Simpson
Custom Fields
Returns the value of the job’s custom fields.
Input
{% for custom_field in job.custom_field_assignments %} {{ custom_field.custom_field_configuration.name }} {{ custom_field.field_value }} {% endfor %}
Description
job.description
Returns the description of the job.
Employees
job.employees
Returns an array of employees associated with the job. See our Employee (Custom Templates) article for a full list of available attributes.
Input
{% for employee in job.employees %} #{{ employee.name }} {% endfor %}
Output
Joe Montana
Jerry Rice
Emmett Smith
Estimate Date
job.estimate_date
Returns the date of the scheduled estimate event.
Input
#{{ job.estimate_date | date: "%D" }}
Output
04/22/14
Estimate Notes
job.estimate_notes
Returns the value of the Notes field for the estimate associated with the job.
Input
#{{ job.estimate_date | date: "%D" }}
Output
04/22/14
Estimate Terms
job.estimate_terms
Returns the value of the Terms field for the estimate associated with the job.
Events
job.tasks
Returns an array of all events associated with a job. See our Event (Custom Templates) article for a full list of available attributes.
Input
{% for event in job.tasks %} #{{ event.task_type.name }} {% for employee in event.employees %} #{{ employee.name }} {% endfor %} {% endfor %}
Output
Estimate
Joe Montana
Work
Jerry Rice
Invoice Date
job.invoice_date
Returns the date the invoice associated with the job was sent. If the invoice has not been sent, returns today’s date.
Input
#{{ job.invoice_date | date: "%D" }}
Output
04/22/14
Invoice Notes
job.invoice_notes
Returns the value of the Notes field for the invoice associated with the job.
Input
#{{ job.invoice_date | date: "%D" }}
Output
04/22/14
Invoice Terms
job.invoice_terms
Returns the value of the Terms field for the invoice associated with the job.
Job Number
job.job_number
Returns the unique identifying number for the job.
Name
job.name
Returns the name of the job. This usually provides the same result as Service (job.job_type
), but may be more accurate for jobs synced from QuickBooks®.
Scope of Work
scope_of_work
Returns the value of the scope of work field for the job.
Input
{{ job.scope_of_work }}
Notes
job.notes
Returns an array of all notes associated with the job. See our Notes (Custom Templates) article for a full list of available attributes.
Input
{% for note in job.notes %} #{{ note.created_at | date: "%D" }} #{{ note.note }} {% endfor %}
Output
04/22/14
Spoke with the customer at length.
04/25/14
Completed the job and the customer approved.
PO Number
job.po_number
Returns the value of the PO Number field for the job.
Input
{% for job.po_number %}
Output
04/25/14
Completed the job and the customer approved.
Stripe QR Code (QR Code Only)
job.qr_payment_code
Returns only the Stripe QR code.
Stripe QR Code
job.payment_elements
Returns the Stripe QR code with payment link.
Recurring End Date
job.recurring_end_date
Returns the date of the end of the series of recurring jobs, if it exists.
Ref Number
job.ref_number
Returns the QuickBooks® invoice number of the job, if the job has been synced to QuickBooks®.
Scheduled On
job.scheduled_on
Returns the date of the first scheduled event for the job.
Input
#{{ job.scheduled_on | date: "%D" }}
Output
04/22/14
Service
job.job_type.name
Returns the service of the job.
Input
#{{ job.scheduled_on | date: "%D" }}
Output
04/22/14
Ship Date
job.ship_date
Returns the QuickBooks® ship date of the job.
Shipping Method
job.ship_method_ref_full_name
Returns the QuickBooks® shipping method for the job.
Signature
job.signature
Returns the last signature record associated with the job. See our Signature (Custom Templates) article for a full list of available attributes.
Input
#{{ job.signature.date_signed | date: "%D" }}#{{ job.signature.reason }}
Output
03/07/16
Approving work completed
Signature Image URL
job.signature_image_url
Returns the last signature’s image URL for the current job.
Subtotal
job.subtotal
Returns the subtotal of the job.
Synced
job.synced?
Returns true
if the job has been synced at least once to QuickBooks®. Returns false
if the job has never been synced.
Input
{% if job.synced? %} This job has been synced! {% else %} This job hasn't been synced. {% endif %}
Tax
job.tax
Returns the total tax associated with the job.
Time Entries
job.time_entries
Returns an array of all time entries associated with a job. See our Time Entry (Custom Templates) article for a full list of available attributes.
Input
{% for time_entry in job.time_entries %} #{{ time_entry.employee.name }} #{{ time_entry.note }} #{{ time_entry.hours }} {% endfor %}
Output
Homer Simpson
Toilet Repair
4.0
Bart Simpson
Toilet Testing
1.0
Total
job.total
Returns the total of the job.
Total Applied Payments
job.total_applied_payments
Returns the total of payments applied to the job.
Total Hours
job.total_hours
Returns the total number of hours tracked in the time entries for the job.
License numbers and certification strings
{{ account.account_details.company_identifier }}
Returns your account number or certificate texts to put on your invoices or estimates.