Skip to main content

documentTemplateCreate

Create a new document template for PDF generation.

Establishes a new document template with layout, content, and formatting for automated document generation like invoices, reports, and certificates.

Possible errors:

  • TEMPLATE_CREATE_ERROR: Failed to create template due to system issues
  • HANDLEBARS_PRECOMPILE_ERROR: Template precompilation failed due to syntax errorsAUTH: Role=[configuration.OWNER]
documentTemplateCreate(
input: DocumentTemplateCreateInput!
): DocumentTemplate!

Arguments

documentTemplateCreate.input ● DocumentTemplateCreateInput! non-null input

Document template creation data.

Complete configuration for creating a new document template including content, localization, file naming patterns, and default template designations.

Type

DocumentTemplate object

Document template for automated PDF and document generation.

Defines the structure, layout, and content for generating documents such as invoices, quotes, reports, and certificates. Supports localized content, dynamic data integration, and can serve as default templates for specific document types.