Available Attributes:

Balance

job.balance

Returns the balance of the job.

Charges

job.job_charges

Returns an array of all job charges for the job. See charge 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
homer@thesimpsons.net

Custom Datetime Fields

job.custom_datetime1 ... job.custom_datetime10

Returns the value of the job’s custom datetime fields.

Input

{{ job.customer.name }}
{{ job.customer.email_address }}

Output

Homer Simpson
homer@thesimpsons.net

Custom Number Fields

job.custom_number1 ... job.custom_number10

Returns the value of the job’s custom number fields.

Custom Text Fields

job.custom_text1 ... job.custom_text20

Returns the value of the job’s custom text fields.

Description

job.description

Returns the description of the job.

Employees

job.employees

Returns an array of employees associated with the job. See employee 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. If there is no scheduled estimate event, returns the date the estimate was sent. If the estimate hasn’t been sent, returns today’s date.

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 event 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 MontanaWork
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®.

Notes

job.notes

Returns an array of all notes associated with the job. See Note 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 of the job.

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.

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 signature for a full list of available attributes.

Input

{{ job.signature.date_signed | date: "%D" }}
{{ job.signature.reason }}
<img src="{{ job.signature.url }}" width="200px" />

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.

Input

<img src="{{ job.signature_image_url }}" width="200px" />

Output

Subtotal

job.subtotal

Returns the subtotal of the job.

Input

{% if job.synced? %}
  This job has been synced!
{% else %}
  This job hasn't been synced.
{% endif %}

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 time entry 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.

Did this answer your question?