Quote
These fields are available in Quote templates:
| Expression | Description |
|---|---|
{{currentDate}} | Date when the template is generated |
{{currentTime}} | Time when the template is generated |
{{currentUser}} | Username of the user generating the template |
{{currentYear}} | Year the template is generated |
{{date.day}} | Day the template is generated |
{{date.iso}} | ISO8601 date string the template is generated |
{{date.month}} | The month the template is generated (JAN, FEB, ...) |
{{date.monthNumber}} | The month the template is generated (1-12) |
{{date.year}} | Year the template is generated |
{{Organization.address.careof}} | Organization address C/O |
{{Organization.address.city}} | Organization address city |
{{Organization.address.coordinates}} | Organization address coordinates |
{{Organization.address.country}} | Organization address country |
{{Organization.address.letter}} | Organization address apartment letter |
{{Organization.address.number}} | Organization address street number |
{{Organization.address.postalCode}} | Organization address zip code |
{{Organization.address.street}} | Organization address street name |
{{Organization.bankgiro}} | |
{{Organization.defaultInterest}} | |
{{Organization.email}} | Organization email address |
{{Organization.fax}} | Organization fax number |
{{Organization.iban}} | |
{{Organization.name}} | Organization name |
{{Organization.overdueInterest}} | |
{{Organization.phone}} | Organization phone number |
{{Organization.plusgiro}} | |
{{Organization.seat}} | |
{{Organization.swift}} | |
{{Organization.url}} | Organization URL |
{{Organization.vatNo}} | VAT number |
{{Organization.vatNoReg}} | Alias for vatRegistrationNumber |
{{Organization.vatNumber}} | Alias for vatRegistrationNumber |
{{Organization.vatRegistrationNumber}} | VAT registration number |
{{Quote.account.address.careof}} | The account's address C/O |
{{Quote.account.address.city}} | The account's address city |
{{Quote.account.address.country}} | The account's address country |
{{Quote.account.address.letter}} | The account's address apartment letter |
{{Quote.account.address.number}} | The account's address street number |
{{Quote.account.address.postalCode}} | The account's address zip code |
{{Quote.account.address.street}} | The account's address street name |
{{Quote.account.cellphone}} | Cell phone number of the account |
{{Quote.account.deliveryAddress.careof}} | The account's delivery address C/O |
{{Quote.account.deliveryAddress.city}} | The account's delivery address city |
{{Quote.account.deliveryAddress.country}} | The account's delivery address country |
{{Quote.account.deliveryAddress.letter}} | The account's delivery address apartment letter |
{{Quote.account.deliveryAddress.number}} | The account's delivery address street number |
{{Quote.account.deliveryAddress.postalCode}} | The account's delivery address zip code |
{{Quote.account.deliveryAddress.street}} | The account's delivery address street name |
{{Quote.account.visitingAddress.careof}} | The account's visiting address C/O |
{{Quote.account.visitingAddress.city}} | The account's visiting address city |
{{Quote.account.visitingAddress.country}} | The account's visiting address country |
{{Quote.account.visitingAddress.letter}} | The account's visiting address apartment letter |
{{Quote.account.visitingAddress.number}} | The account's visiting address street number |
{{Quote.account.visitingAddress.postalCode}} | The account's visiting address zip code |
{{Quote.account.postalAddress.street}} | The account's visiting address street name |
{{Quote.account.visitingAddress}} | Address of the account |
{{Quote.account.email}} | E-mail of the account |
{{Quote.account.name}} | Name of the account |
{{Quote.account.number}} | Number of the account |
{{Quote.account.phone}} | Phone number of the account. |
{{Quote.account.postalAddress.careof}} | The account's postal address C/O |
{{Quote.account.postalAddress.city}} | The account's postal address city |
{{Quote.account.postalAddress.country}} | The account's postal address country |
{{Quote.account.postalAddress.letter}} | The account's postal address apartment letter |
{{Quote.account.postalAddress.number}} | The account's postal address street number |
{{Quote.account.postalAddress.postalCode}} | The account's postal address zip code |
{{Quote.account.postalAddress.street}} | The account's postal address street name |
{{Quote.account.url}} | The website field on the account |
{{Quote.account.vatNo}} | The VAT number field on the account |
{{Quote.account.visitingAddress.careof}} | The account's visiting address C/O |
{{Quote.account.visitingAddress.city}} | The account's visiting address city |
{{Quote.account.visitingAddress.country}} | The account's visiting address country |
{{Quote.account.visitingAddress.letter}} | The account's visiting address apartment letter |
{{Quote.account.visitingAddress.number}} | The account's visiting address street number |
{{Quote.account.visitingAddress.postalCode}} | The account's visiting address zip code |
{{Quote.account.visitingAddress.street}} | The account's visiting address street name |
{{Quote.alternateId}} | Alternate ID of the quote |
{{Quote.buyprice}} | Sum of the quote rows' purchase prices |
{{Quote.contact.cellphone}} | The contact's cell phone number |
{{Quote.contact.email}} | The contact's email |
{{Quote.contact.fullName}} | The contact's given name and surname |
{{Quote.contact.name}} | The contact's given name |
{{Quote.contact.officephone}} | The contact's office phone number |
{{Quote.contact.surname}} | The contact's surname |
{{Quote.contact.title}} | The contact's title |
{{Quote.costCenter}} | |
{{Quote.delivery.city}} | Quote delivery address city |
{{Quote.delivery.country}} | Quote delivery address country |
{{Quote.delivery.date.day}} | Quote delivery date day of month (1-31) |
{{Quote.delivery.date.iso}} | Quote delivery date in ISO-8601 format |
{{Quote.delivery.date.month}} | Quote delivery date month (JAN, FEB, ...) |
{{Quote.delivery.date.monthNumber}} | Quote delivery date month number (1-12) |
{{Quote.delivery.date.year}} | Quote delivery date year |
{{Quote.delivery.name}} | Name set on the quote's delivery address |
{{Quote.delivery.street}} | Street set on the quote's delivery address |
{{Quote.delivery.zip}} | Zip Code set on the quote's delivery address |
{{Quote.deliveryDate.day}} | Alias for Quote.delivery.date |
{{Quote.equalization}} | |
{{Quote.externalComment}} | Quote external comment |
{{Quote.htmlRows}} | Quote contents as a HTML table. Deprecated |
{{Quote.id}} | Quote ID |
{{Quote.internalComment}} | Quote internal comment |
{{Quote.marking}} | Quote marking |
{{Quote.paymentTerm.name}} | Payment term |
{{Quote.placeDate}} | The quote's creation date |
{{Quote.placeDate.day}} | Day of month the quote was created (1-31) |
{{Quote.placeDate.iso}} | ISO-8601 formatted date the quote was created |
{{Quote.placeDate.month}} | Month the quote was created (JAN, FEB, ...) |
{{Quote.placeDate.monthNumber}} | Month the quote was created (1-12) |
{{Quote.placeDate.year}} | Year the quote was created |
{{Quote.price}} | Sum of the quote rows, not including VAT |
{{Quote.referenceCode}} | Reference code of this quote |
{{Quote.totalVat}} | Total VAT for this quote |
{{Quote.user.firstName}} | Given name of the user assigned as responsible |
{{Quote.user.fullName}} | Name and surname of the user assigned as responsible |
{{Quote.user.lastName}} | Surname of the user assigned as responsible |
{{Quote.user.name}} | Given name of the user assigned as responsible |
{{Quote.user.surname}} | Surname of the user assigned as responsible |
{{Quote.user.title}} | Email of the user assigned as responsible |
{{Quote.user.phone}} | Phone of the user assigned as responsible |
{{Quote.user.cellphone}} | Cellphone of the user assigned as responsible |
{{Quote.validDate}} | |
{{Quote.validToDate}} | |
{{time.hours}} | Hour the template is generated at (0-24) |
{{time.iso}} | ISO8601 time string the template is generated |
{{time.minutes}} | Minute the template is generated at (0-60) |
{{time.ms}} | Millisecond the template is generated at |
{{time.seconds}} | Second the template is generated at (0-60) |
{{timestamp}} | Date and time the template is generated |
{{Titel}} | Title of the page |
{{Title}} | Title of the page |
Quote rows
These expressions are available when listing quote contents.
| Expression | Description |
|---|---|
{{group.id}} | Id of connected articlegroup |
{{article.name}} | Name of the article on the quote row |
{{article.number}} | Article number on the quote row |
{{article.description}} | The article description |
{{article.presentation}} | HTML presentation of the quote row. Include with {{{article.presentation}}} to preserve HTML formatting. |
{{article.vat}} | VAT |
{{article.sortGroup.name}} | The name of the sortGroup |
{{article.sortGroup.sort}} | The sortorder of the sortGroup |
{{articleUnit.name}} | Name of the article unit this row is placed using. |
{{discountedTotal}} | The total price, including discounts |
{{discountedPrice}} | The unit price, including discounts |
{{discountPercent}} | Discount applied to this row |
{{price}} | Unit price, not including discounts |
{{quantity}} | Number of items (as specified by articleUnit) |
{{sortOrder}} | A number specifying which quote to sort this order row compared to the other rows |
{{specification}} | Quote row specification |
{{total}} | Sum of this item, not including discounts |
{{totalGross}} | Total item price, including discounts and VAT |
{{totalVat}} | Total VAT for this item |
{{businessArea.id}} | Id of connected businessArea |
{{group.id}} | Id of connected articlegroup |
Example of how to list quote contents:
<h2>Your articles</h2>
{{#each Quote.rows}}
<div>
<h3>{{article.name}}</h3>
<h5>{{price}} SEK</h5>
<p>{{article.specification}}</p>
</div>
{{/each}}
Dynamic fields
These expressions are available when listing dynamic fields.
| Expression | Description |
|---|---|
{{name}} | Display name of the dynamic field |
{{value}} | The dynamic field value, serialized as a string |
Example of how to list dynamic fields.
<dl>
{{#each Quote.dynamicFields}}
<dd>{{name}}</dd>
<dt>{{value}}</dt>
{{/each}}
</dl>
Currencies
If you have enabled the currency addon, then the following fields will be available. Note that these fields are set from the currency that the user picks when printing the template. The monetary values listed above are also adjusted by being multiplied withe rate of the picked currency.
| Expression | Description |
|---|---|
{{Currency.name}} | Name of selected currency |
{{Currency.code}} | Code of selected currency |
{{Currency.value}} | Rate of selected currency |