Xero Global App Awards 2026 Winner badge

🏆 Gojee is a Xero Global App Awards 2026 Winner!

Winner of Global Small Business App of the Year at the Xero Global App Awards 2026.

Gojee

Custom Docmosis Documents

Last updated

Getting Started

Once the add-on is enabled, administrators can upload templates from Organisation Setup > Docmosis Templates. Each upload must be a .docx file up to 10 MB, and each template name must be unique within its template type.
add ons docmosis proposal org settings

There are two template types:

  • Quote Templates appear as branding themes on supported quote workflows.
  • Job Document Templates are used from Job Actions > Documents to generate job-specific documents.

Quote templates can also have per-template expiry date defaults. Administrators can use the Expiry and Expiry Period columns to control the expiry date applied when a quote is generated from that Docmosis template.

Here is a downloadable template file you can edit or use as a starting point for your own proposal or job document: Docmosis Gojee Quote Template

addons docmosis document

When uploading the template, if there are issues with the template format, the upload will be rejected. A diagnosis file will be downloaded for you to check over any issues.


Formatting the Template

Templates should be saved as .docx files. Editing in Microsoft Word desktop is recommended. The upload process can be sensitive to how the document is saved, so while files produced by OpenOffice, LibreOffice, or similar editors should also work, results may vary.

Text placeholders use the standard <<field_name>> format, replacing the plaintext with the necessary values. If a field has no value, Gojee supplies a blank value rather than printing the placeholder text into the finished document.

Image placeholders are created by modifying the name of an image in the document - how this is done varies by editor, but is typically done via a Properties dialog. For example, setting the name to img_org_logo will replace the image in the template with your organisation's uploaded letterhead.
add ons docmosis proposal image insertion

There are also control headers for section and item repeaters for use with the main body of the quote and also variations.

  • <<rs_sections>> and <<es_sections>> are for setting up repeating sections (eg. the main body of the quote).

  • <<rr_section_items>> and <<er_section_items>> are to be placed inside of a table. These control the line items of the section.

    • The borders of the row rr_section_items is in will be applied to the top row of the table.
    • The formatting of the row er_section_items is in will be applied to every second row, allowing you to set up alternating row colours. The borders will be applied to the bottom row.
  • <<cs_has_variation_sections>> and <<es_has_variation_sections>> are for the header for variations. If there are no variations, the area between these headers will not appear.

  • <<rs_variation_sections>>, <<es_variation_sections>>, <<rr_variation_items>>, and <<er_variation_items>> work the same as normal sections do. These will repeat for every variation and section that are included in the rich quote.


Building Job Documents

Job Document Templates use the same Docmosis field syntax, but they are generated from the Documents action on a job rather than from the quote screen. This tab will only be visible if Custom Docmosis Documents is enabled.

add ons docmosis proposal job documents

From Job Actions > Documents, users can open the document list for a job and:

  • Create a new job document by choosing a Job Document Template and entering a document title.
  • Download the generated PDF and DOCX files for an existing document.
  • Regenerate a document so it uses the latest job, customer, site, sales person, and linked asset data.
  • Delete documents that are no longer needed from the list.

If a template used by an existing document has been deleted, the existing files can still be downloaded, but that document can no longer be regenerated from the same row.

For service jobs, linked asset details are also supplied to Docmosis, allowing the same template system to produce job cards, service reports, and similar customer-facing documents.


Building Rich Quotes

When you select a Docmosis quote template as the branding theme on a quote, the quote editor switches into the rich quote layout mode.

addons docmosis quote

You can work in either of these layouts:

  • Single Table: All quote items stay in one table.
  • Per-Section: Quote items are grouped into named sections, and you can organise the proposal section by section.

In Per-Section mode, you can rename sections, move sections up or down, add new sections, remove sections, and move top-level quote items between sections. This lets you structure the proposal in the order you want the customer to read it, without changing the rest of the quote workflow.

When the quote is generated, Docmosis replaces the placeholders in your template with the quote, job, customer, organisation, section, and totals data from Gojee.

addons docmosis quote output

If the Variations add-on is enabled, you can also choose which pending variations or scope variations to include in the proposal.

addons docmosis variations

For variation content, Gojee supports a separate variation data set in addition to the main quote sections. You can:

  • Select exactly which pending variations or scopes to include.
  • Use a shorter child-item description style by hiding the full parent path.
  • Hide removed variation rows while still keeping their values in the section total.

Rejected variations will not appear here or be able to be selected.


Available Fields

The fields below reflect the current Docmosis data supplied by Gojee.

Quote Templates can use the single-value fields plus the repeating quote collections such as sections and variation_sections.
Job Document Templates can use the single-value fields, including <<job_document_title>> and the service asset fields, but they will not include any values from the quote, section, or variation collections.

If your organisation requires additional fields, please contact us.

Organisation Details

FieldDescriptionExample
<<org_name>>Organisation nameSmith Construction Pty Ltd
<<org_phone>>Organisation phone number set in Xero.03 9555 1234
<<org_fax>>Organisation fax number set in Xero.03 9555 1235
<<org_email>>Contact Email set in Gojee.accounts@fake.email.com.au
<<org_logo>>Organisation logo image - see above for use. Do not use <<org_logo>> directly in the document.image:base64:iVBORw0KGgoAAAANSUhEUgAABAAAAAQACAYAAAB/HSuDAAABhW...
<<org_address_line_1>>Organisation street address line 1123 Builder St
<<org_city>>Organisation cityMelbourne
<<org_region>>Organisation state or regionVIC
<<org_postal_code>>Organisation post code3000
<<org_country>>Organisation countryAustralia

Customer Details

FieldDescriptionExample
<<customer_name>>Customer or business nameNorth Group
<<customer_contact_name>>Primary customer contact full nameJim Bob
<<customer_email>>Primary customer contact emailjim.bob@fake.email.com.au
<<customer_all_emails>>All customer contact emails as a comma-separated listjordan.lee@fake.email.com.au, accounts@fake.email.com.au
<<customer_address_line_1>>Customer address line 115 Market St
<<customer_address_line_2>>Customer address line 2Townland
<<customer_address_line_3>>Customer address line 3Accounts Payable
<<customer_city>>Customer cityMelbourne
<<customer_region>>Customer state or regionVIC
<<customer_postal_code>>Customer post code3000
<<customer_country>>Customer countryAustralia
<<customer_abn>>Customer ABN12 345 678 901
<<customer_acn>>Customer ACN123 456 789
<<customer_tax_number>>Customer tax number12 345 678 901
<<customer_company_number>>Customer company number123 456 789

Note: <<customer_abn>> and <<customer_tax_number>> will provide the same values, whichever you use. <<customer_acn>> and <<customer_company_number>> are the same.

Additional contact slots are also available for contacts 1 through 5. Each slot supplies the following fields:

  • <<customer_contact_1_name>> to <<customer_contact_5_name>>
  • <<customer_contact_1_first_name>> to <<customer_contact_5_first_name>>
  • <<customer_contact_1_last_name>> to <<customer_contact_5_last_name>>
  • <<customer_contact_1_email>> to <<customer_contact_5_email>>

Delivery / Site Details

FieldDescriptionExample
<<delivery_contact_name>>Delivery or site contact nameCasey Brown
<<delivery_phone>>Delivery or site contact phone0412 345 678
<<delivery_address_line_1>>Delivery address line 140 River Rd
<<delivery_address_line_2>>Delivery address line 2Warehouse 3
<<delivery_address_line_3>>Delivery address line 3Gate B
<<delivery_city>>Delivery cityMelbourne
<<delivery_region>>Delivery state or regionVIC
<<delivery_postal_code>>Delivery post code3000
<<delivery_country>>Delivery countryAustralia

Job Details

FieldDescriptionExample
<<job_reference>>Job reference numberJ000245
<<job_title>>Job titleMain Office Fitout
<<job_contact_name>>Full job or site contact nameCasey Brown
<<job_contact_first_name>>First name of the job contactCasey
<<job_contact_last_name>>Last name of the job contactBrown
<<job_phone>>Job or site contact phone number0412 345 678
<<job_instructions>>Job instructions or scope notesInstall new reception joinery and meeting room cabinetry.
<<job_start_date>>Job start date2026-06-01
<<job_end_date>>Job end date2026-06-21
<<sales_person>>Sales person name.Sam Gojee
<<job_type>>Job type or quote type labelFixed Price
<<job_po_number>>Customer PO or reference numberPO-77841
<<job_location>>Combined job location or site address.40 River Rd, Warehouse 3, Melbourne, VIC, 3000, Australia
<<job_address_line_1>>Job or site address line 140 River Rd
<<job_address_line_2>>Job or site address line 2Warehouse 3
<<job_address_line_3>>Job or site address line 3Gate B
<<job_city>>Job or site cityMelbourne
<<job_region>>Job or site state or regionVIC
<<job_postal_code>>Job or site post code3000
<<job_country>>Job or site countryAustralia

Job Document Fields

These fields are used only for Job Document Templates

FieldDescriptionExample
<<job_document_title>>Document title entered when the job document is createdJob Card for Sam

Asset Details

These fields are populated for service jobs when the job has a linked asset. For non-service jobs they are supplied as blank values.

FieldDescriptionExample
<<asset_name>>Asset nameExcavator 1
<<asset_code>>Asset codeEX-001
<<asset_description>>Asset description30t excavator
<<asset_serial_number>>Asset serial numberSN-123
<<asset_engine_number>>Engine numberEN-456
<<asset_year_model>>Year model2021 CAT 330
<<asset_chassis_number>>Chassis numberCH-789
<<asset_registration_number>>Registration numberREG-321
<<asset_insurance>>Insurance referencePolicy ABC
<<asset_customer>>Asset customer nameClient Co
<<asset_location>>Combined asset location address10 Site Rd, Unit 3, Brisbane, QLD, 4000, AU
<<asset_address_line_1>>Asset location address line 110 Site Rd
<<asset_address_line_2>>Asset location address line 2Unit 3
<<asset_address_line_3>>Asset location address line 3
<<asset_address_line_4>>Asset location address line 4
<<asset_city>>Asset cityBrisbane
<<asset_region>>Asset state or regionQLD
<<asset_postal_code>>Asset post code4000
<<asset_country>>Asset countryAU

Quote and Totals

These fields and collections are available to Quote Templates. Job Document Templates do not receive quote totals, sections, or variation collections.

FieldDescriptionExample
<<document_type>>Quotation or EstimateQuotation
<<quote_number>>Quote number24 - Main Quote
<<quote_reference>>Quote referenceJ000245 / 24
<<quote_date>>Quote issue date2026-05-19
<<quote_expiry_date>>Quote expiry date2026-06-18
<<quote_title>>Quote titleReception and Meeting Room Joinery
<<quote_summary>>Quote summarySupply and install custom joinery for reception and two meeting rooms.
<<quote_terms>>Quote terms and conditionsDeposit required before manufacture. Lead time 4 weeks.
<<quote_currency>>Quote currency codeAUD
<<sales_person>>Sales person nameSam Gojee
<<hide_discount>>True when the discount column is hidden from the main quote tabletrue
<<hide_gst>>True when the GST column is hidden from the main quote tablefalse
<<sub_total>>Quote subtotal amount12,500.00
<<total_gst>>Total GST amount1,250.00
<<total>>Total quote amount13,750.00
<<has_variation_sections>>True when the proposal includes variation sectionstrue

Main Quote Sections

The main quote content is provided through the repeating sections collection. Each section contains its own rows and total.

Collection or FieldDescriptionExample
<<sections>>Repeating collection of quote sectionsJoinery, Installation, Electrical
<<section_name>>Section heading shown in the proposalJoinery
<<section_total>>Total amount for the section9,800.00
<<section_items>>Repeating collection of line items within the sectionCabinetry, Benchtops, Hardware
<<item_description>>Display description for the line itemMain Reception Counter
<<item_raw_description>>Original line item description without Docmosis formattingReception Counter
<<item_display_description>>Formatted line item description as shown in the proposal— Reception Counter
<<item_is_template>>True when the row is a template parent itemfalse
<<item_level>>Template nesting level for the item1
<<item_path>>Template path for the itemReception / Cabinetry
<<item_quantity>>Quantity shown for the line item2
<<item_unit_price>>Unit price shown for the line item1250.0000
<<item_discount>>Discount value for the line item, or blank when discounts are hidden10
<<item_gst>>GST value for the line item, or blank when GST is hidden10
<<item_amount>>Line total amount2,500.00
<<item_colour>>Colour value used for child or nested template rows#777777

Variation Sections

Included variations and scope variations are supplied separately through the repeating variation_sections collection. This lets you style them differently from the main quote sections if required.

Collection or FieldDescriptionExample
<<variation_sections>>Repeating collection of included variation or scope sectionsReception Scope Change, Additional Storage
<<variation_title>>Variation titleReception Scope Change
<<variation_description>>Variation descriptionAdditional stone top and revised drawer layout.
<<variation_status>>Variation status labelPending
<<variation_total>>Total amount for the variation section1,850.00
<<variation_items>>Repeating collection of rows within the variation sectionStone Benchtop Upgrade, Extra Drawers
<<item_description>>Variation row descriptionStone Benchtop Upgrade
<<item_quantity>>Variation row quantity1
<<item_unit_price>>Variation row unit price1850.0000
<<item_amount>>Variation row amount1,850.00
<<item_colour>>Colour value used for child rows in the variation output#777777

Docmosis Resources

If you need further help setting up your .docx file or refining your Docmosis template, the official resources below are a good reference:


Next: Organisation Add-ons.
Or: Back to Knowledge Base.