Skip to main content

DocumentTemplateDraftInput

The editable parts of a document template. Every field is optional so the same type can carry a partial draft for a live preview.

input DocumentTemplateDraftInput {
accentColor: String
companyAddress: String
companyName: String
footerText: String
logoAssetKey: String
style: String
terms: String
visibleColumns: [String!]
}

Fields​

DocumentTemplateDraftInput.accentColor ● String scalar​

The accent colour.

DocumentTemplateDraftInput.companyAddress ● String scalar​

The company address printed on the document.

DocumentTemplateDraftInput.companyName ● String scalar​

The company name printed on the document.

The footer text printed on the document.

DocumentTemplateDraftInput.logoAssetKey ● String scalar​

Inline base64 data URL (data:image/...), or "" to clear

DocumentTemplateDraftInput.style ● String scalar​

The layout style of the document.

DocumentTemplateDraftInput.terms ● String scalar​

The terms printed on the document.

DocumentTemplateDraftInput.visibleColumns ● [String!] list scalar​

The columns shown in the line items table.

Member Of​

previewDocumentTemplate query