TidyCatalog

Coming soon

Stay tuned to keep updated!

TidyCRM

Coming soon

Stay tuned to keep updated!

TidyStock Guides

Sales Order Custom Document Template Keywords

Last Updated:

October 19, 2026

In this guide, learn how to add in custom document template keywords for a Sales Order

Want to view this guide all at once?

Download PDF
​ Custom Document Template Keywords

Custom Document Template Keywords

Sale Quote / Packing Slip / Sale Acknowledgement

For use between {{#foreach Sale}} and {{/foreach Sale}} blocks

Section Keyword What It Means
General {{CurrentDate}} Today’s date (e.g. 25 Feb 2026)
{{CurrentDateLong}} Today’s date long format (e.g. Tuesday 25 Feb 2026)
{{SaleNo}} Sale order number
{{DocNo}} Document number
{{CustomerRef}} Customer reference
{{ExternalInvoiceNo}} External invoice number
{{Currency}} Currency used for this sale
{{UserName}} User name
{{InvoiceNo}} Invoice number (if invoiced)
{{Status}} Current status (Draft, Order, Quote, Invoiced, etc.)
{{StatusValue}} Internal system status value
Customer {{CustomerId}} Customer GUID
{{Customer.Code}} Customer code
{{Customer.Name}} Customer name
{{Customer.TradingName} Customer trading name
{{Customer.Email}} Customer email
{{Customer.Phone}} Customer phone
{{Customer.Mobile}} Customer mobile
{{Customer.Website}} Customer website
{{Customer.Reference}} Customer reference stored on their record
{{Customer.Address}} Full customer address
{{Customer.Address1}} Address line 1
{{Customer.Address2}} Address line 2
{{Customer.Address3}} Address line 3
{{Customer.Address4}} Address line 4
{{Customer.CombinedPostalAddress}} Full customer postal address
{{Customer.Suburb}} Suburb
{{Customer.City}} City
{{Customer.State}} State
{{Customer.Postcode}} Postcode
{{Customer.Country}} Country
{{Customer.GSTNumber}} Customer GST / tax number
Contact {{Contact.FirstName}} Contact first name
{{Contact.LastName}} Contact last name
{{Contact.Name}} The details of the contact specified on the SO OR the default specified in the Customer profile.
{{Contact.Email}} Contact email
{{Contact.Phone}} Contact phone
{{Contact.Mobile}} Contact mobile
Organisation {{Organisation.Name}} Ref: Global Settings->Company->General(Tab)->Organisation(Section)->Company Name
{{Organisation.Address}} Ref: Global Settings->Company->Sales&Purchases(Tab)->Sales(Section)->Postal Address
{{Organisation.GSTNumber}} Ref: Global Settings->Company->Sales&Purchases(Tab)->Sales(Section)->Default Sales Tax
{{Organisation.InvoicePaymentTerms}} Ref: Global Settings->Company->Sales&Purchases(Tab)->Sales(Section)->Payment Terms
{{Organisation.CompanyContactSalesPhone}} Ref: Global Settings->Company->General(Tab)->Contact Information(Section)->Sales Phone No.
{{Organisation.CompanyContactSalesEmail}} Ref: Global Settings->Company->General(Tab)->Contact Information(Section)->Sales Email
{{Organisation.CompanyContactWebsite}} Ref: Global Settings->Company->General(Tab)->Contact Information(Section)->Company Website
{{Organisation.CompanyBusinessNo}} Ref: Global Settings->Company->General(Tab)->Organisation->Company Business No.
Location {{LocationCode}} Location code
{{LocationName}} Location name
Description & Notes {{Description}} Description
{{InvoiceNote}} Invoice note
{{SpecialInstructions}} Special instructions
Delivery Address {{DeliveryAddress}} Delivery address
{{DeliveryAddressAttention}} Delivery address attention
{{DeliveryAddressAddress1}} Delivery address line 1
{{DeliveryAddressAddress2}} Delivery address line 2
{{DeliveryAddressAddress3}} Delivery address line 3
{{DeliveryAddressAddress4}} Delivery address line 4
{{DeliveryAddressSuburb}} Delivery suburb
{{DeliveryAddressCity}} Delivery city
{{DeliveryAddressState}} Delivery state
{{DeliveryAddressPostcode}} Delivery postcode
{{DeliveryAddressCountry}} Delivery country
Postal Address {{PostalAddress}} Postal address
Dates (System / Raw UTC) {{EnteredDateUTC}} Entered date (UTC)
{{EffectiveDateUTC}} Effective date (UTC)
{{DeliveryDateUTC}} Delivery date (UTC)
{{InvoiceDueDateUTC}} Invoice due date (UTC)
Dates (Formatted – User Timezone) {{EnteredDate}} Entered date (e.g. 25 Feb 2026)
{{EnteredDateLong}} Entered date (e.g. Tuesday 25 Feb 2026)
{{EffectiveDate}} Effective date (e.g. 25 Feb 2026)
{{EffectiveDateLong}} Effective date (e.g. Tuesday 25 Feb 2026)
{{DeliveryDate}} Delivery date (e.g. 25 Feb 2026)
{{DeliveryDateLong}} Delivery date (e.g. Tuesday 25 Feb 2026)
{{InvoiceDueDate}} Invoice due date (e.g. 25 Feb 2026)
{{InvoiceDueDateLong}} Invoice due date (e.g. Tuesday 25 Feb 2026)
Pricing / Tracking / Branding {{PricingLevelCode}} Pricing level code
{{PricingLevelName}} Pricing level name
{{ExtAccTrackingId1}} External tracking ID 1
{{ExtAccTrackingId2}} External tracking ID 2
{{BrandingThemeId}} Branding theme ID
Tax (Sale Level – Only If All Lines Match) {{TaxRateAmount}} This is now obsolete as tax is specified on the line.
{{TaxCode}} Returns value only if all lines’ tax codes are the same.
{{TaxName}} Returns value only if all lines’ tax names are the same.
Totals {{TotalExclTax}} Total excluding tax
{{TotalDiscountExclTax}} Total discount excluding tax
{{TotalTax}} Total tax
{{TotalInclTax}} Total including tax

For use between {{#foreach SaleLines}} and {{/foreach SaleLines}} blocks

Section Keyword What It Means
Structure {{RowOrder}} Integer value
{{SaleLineId}} Sale line GUID
Item Details {{ItemCode}} Item code
{{ItemName}} Item name
{{Description}} As above (Item Name), optionally, modified on a Sale Order line
{{ItemCategoryCode}} Item category code
{{ItemCategoryName}} Item category name
{{ItemReference}} Original item reference as set up in the material item if no item associated, this is null
{{ItemSku}} SKU value from Material Item details
{{Sku}} Alias for ItemSku
{{ItemBarcode}} Barcode value from Material Item Details
{{Barcode}} Alias for ItemBarcode
{{ItemDescription}} Description field from Material Item Details. Note: This is different to {{Description}} which is the text used to represent each line, editable on the Sale Order Line.
{{ItemLocationBinNo}} Item location bin number
{{ItemUnitName}} Unit display name (e.g. Each, m, kg)
{{ItemUnit}} Unit code/value
{{SaleLineBatchesString}} Batch details displayed as text
Value {{Quantity}} The number of units entered on the sales line
{{DiscountAmount}} The discount percentage applied to the sales line
{{Discount}} The formatted discount value for the sales line
{{TaxRate}} Tax rate
{{Tax}} The tax value for the sales line, displayed as a currency amount
Line Totals {{LineTotalWithoutDiscountExTax}} Dollar formatted
{{LineTotalDiscountExTax}} Dollar formatted
{{LineTotalExTax}} Dollar formatted
{{LineTotalIncTax}} Dollar formatted
Value – Cost {{ItemCost}} Original item cost as set up in the material item if no item associated, this is null
{{ItemCostCurrency}} Cost currency
{{Cost}} Dollar formatted
Value – Charge {{ItemCharge}} The total selling price for the quantity on the sales line
{{ItemChargeCurrency}} Charge currency
{{Charge}} The selling price per unit entered on the sales order line
Tax Details (Line Level) {{TaxCode}} Tax code
{{TaxName}} Tax name

More in this category

Want to learn more? Check out these related guides.

↑