Overview
This guide outlines all supported placeholders that can be used in your document templates for Packing Note. These placeholders allow you to dynamically insert relevant data when generating PDF files from templates.
How Do Placeholders Work?
Placeholders are variables enclosed in curly braces (e.g.,
{orderNumber}) that will be automatically replaced with actual
data when a document is generated.
You can insert these placeholders anywhere in your template file to populate dynamic values.
The following placeholders can be used for general Packing Note:
Order Basic Info Placeholders
| Placeholder | Description |
|---|---|
| {organizationName} | Your organization’s name |
| {orderDate} | The date the order was issued |
| {orderNumber} | The sales order number |
| {invoiceNumber} | The invoice number (fallbacks to order number if missing) |
| {dueDate} | The due date for payment |
| {creatorName} | The name of the user who created the order |
| {salespersonName} | The name of the assigned salesperson |
| {notes} | Additional notes added to the order |
| {projectCode} | The project code linked to the order |
| {projectName} | The project name linked to the order |
| {currency} | The currency code (e.g., AUD, NZD, GBP, EUR, USD) |
| {taxIncluded} | Whether tax is included in item prices |
| {taxRate} | The tax rate applied to the order |
| {orderSubTotal} | Subtotal amount before tax |
| {orderTotalExclTax} | Total amount excluding tax |
| {orderTotalTax} | Total tax amount |
| {orderTotalInclTax} | Total amount including tax |
| {customerName} | The customer’s name |
| {contactName} | The customer contact name |
| {contactEmail} | The customer contact's email |
| {contactPhone} | The customer contact's phone |
| {customerBillingName} | The billing name for the customer |
| {billingContactName} | The customer's billing contact name |
| {billingContactEmail} | The customer's billing contact ema |
| {billingContactPhone} | The customer billing contact's phone |
| {customerTaxNumber} | Customer tax number |
| {customerRegistrationNumber} | Customer registration number |
| {billingAddressStreet} | Billing address street |
| {billingAddressCity} | Billing address city |
| {billingAddressRegion} | Billing address region/state |
| {billingAddressPostalCode} | Billing address postal code |
| {billingAddressCountry} | Billing address country |
| {shippingAddressStreet} | Shipping address street |
| {shippingAddressCity} | Shipping address city |
| {shippingAddressRegion} | Shipping address region/state |
| {shippingAddressPostalCode} | Shipping address postal code |
| {shippingAddressCountry} | Shipping address country |
| {hasBatches} | Indicates if the order contains batch/serial tracked items |
| {orderItems} | List of all items in the order (used in item tables) |
| {orderBatches} | Batch or serial number details (if applicable) |
Item Table Placeholders
These placeholders are used within the order item table section:
| Placeholder | Description |
|---|---|
| {code} | The product code |
| {name} | The product name or package name |
| {reference} | The product reference |
| {barcode} | The product barcode |
| {unit} | The product unit |
| {orderedQty} | The ordered quantity of the item |
| {deliveredQty} | The fulfilled quantity of the item |
| {binLocation} | The bin location of the item |
Batch / Serial Number Placeholders
These placeholders are used when displaying batch or serial number details:
| Placeholder | Description |
|---|---|
| {code} | The product code |
| {name} | The product name or package name |
| {batchCode} | The batch or serial number |
| {qty} | The quantity associated with the batch/serial |
| {expireDate} | The expiration date of the batch |