API Docs / Schemas / DocumentTemplateDto

DocumentTemplateDto

Reusable document template for generating HTML documents such as proposals, engagement letters, reports, and invoices.
Templates use Liquid/Fluid syntax for dynamic content, variables, loops, and conditionals.
Can reference content blocks and be styled with design themes for consistent branding.

Properties

Name Type Description
codestring

Unique identifier for the template

Unique identifier for the template

namestring

Display name (e.g., "Standard Engagement Letter", "Year-End Proposal")

Display name (e.g., "Standard Engagement Letter", "Year-End Proposal")

typeenum

EngagementLetter Proposal ProfessionalClearanceLetter

EngagementLetter Proposal ProfessionalClearanceLetter

bodyHtmlstring

The template content using Liquid/Fluid syntax with variables ({{ client.Name }}),
loops ({% for %}), conditionals ({% if %}), and content block references

The template content using Liquid/Fluid syntax with variables ({{ client.Name }}),
loops ({% for %}), conditionals ({% if %}), and content block references

descriptionstring

Optional description explaining the template's purpose and usage

Optional description explaining the template's purpose and usage

isActiveboolean

Whether this template is available for use (inactive templates are hidden but preserved)

Whether this template is available for use (inactive templates are hidden but preserved)

defaultDesignThemeCodeAndNameDto
createdDatestring

When this template was created

When this template was created

updatedDatestring

When this template was last updated

When this template was last updated

JSON Example

{
  "code": "string",
  "name": "string",
  "type": "EngagementLetter",
  "bodyHtml": "string",
  "description": "string"
}

Used By Operations

Contained in Schemas