TemplateVariables
Root object containing all variables available for document template rendering.
This class serves as the data model for Liquid/Fluid template rendering,
providing access to client, practice, proposal, and document-level data.
Properties
| Name | Type | Description |
|---|---|---|
| title | string | Document-level title (e.g., "Engagement Letter", "Annual Proposal"). |
Document-level title (e.g., "Engagement Letter", "Annual Proposal"). | ||
| subtitle | string | Document-level subtitle providing additional context. |
Document-level subtitle providing additional context. | ||
| secondarySubtitle | string | Optional secondary subtitle for additional document identification. |
Optional secondary subtitle for additional document identification. | ||
| postalAddress | string | |
| addressee | string | |
| date | string | Formatted date string (e.g., "27th June 2025"). |
Formatted date string (e.g., "27th June 2025"). | ||
| logo | string | URL or base64-encoded image data for the practice logo. |
URL or base64-encoded image data for the practice logo. | ||
| client | ClientDto | |
| primaryContact | ContactDto | |
| billingContact | ContactDto | |
| payrollContact | ContactDto | |
| accountsContact | ContactDto | |
| partner | TenantUserDto | |
| manager | TenantUserDto | |
| practice | PracticeDetailsDto | |
| engagement | EngagementDto | |
| proposal | EngagementDto | |
| hasProposal | boolean | Indicates whether the engagement includes a proposal. |
Indicates whether the engagement includes a proposal. | ||
| keyDates | object | Client key dates keyed by the ClientDateType enum name (e.g., YearEnd, AccountsNextDue). |
Client key dates keyed by the ClientDateType enum name (e.g., YearEnd, AccountsNextDue). | ||
| customFields | object | Client custom field values keyed by the custom field definition code. |
Client custom field values keyed by the custom field definition code. | ||
| htmlBlocks | object | Dictionary of custom HTML blocks that can be injected into templates. |
Dictionary of custom HTML blocks that can be injected into templates. | ||
| schedules | ContentBlockCollection | |
| url | string | Generic URL for use in templates (e.g., authorization links, callback URLs, external resources). |
Generic URL for use in templates (e.g., authorization links, callback URLs, external resources). | ||
| buttonText | string | Button text for use in templates (e.g., confirmation button text). |
Button text for use in templates (e.g., confirmation button text). | ||
| contact | ContactDto | |
| summary | string | Summary or description text (e.g., document summary). |
Summary or description text (e.g., document summary). | ||
| pageNumber | string | Current page number for PDF rendering. |
Current page number for PDF rendering. | ||
| totalPages | string | Total page count for PDF rendering. |
Total page count for PDF rendering. | ||
JSON Example
{
"title": "string",
"subtitle": "string",
"secondarySubtitle": "string",
"postalAddress": "string",
"addressee": "string"
}
Used By Operations
Contained in Schemas
- RenderContentBlockRequest Request to render a content block's body HTML with template variables. Optionally wraps the rendered...
- RenderDocumentTemplateRequest Request to render a document template with dynamic data. The template will be processed with the pro...
- RenderTemplateStringRequest Request to render an arbitrary Liquid template string with the provided variables. Use for rendering...