Skip to content

Engagement document

A document attached to an engagement, such as the engagement letter, a consent form, or an add-on, with its signing requirements and its consent outcome. Returned by GET /gql/v1/engagement_documents/by_engagement/{engagementId}, in an engagementDocuments list ordered by createdAt, oldest first. An engagement with no documents returns an empty list.

Fields

NameTypeFormatNullableDescriptionExample
idinteger—NoUnique engagement document identifier.101
fileIdinteger—YesThe document's file. null when no file is attached.5001
engagementIdinteger—NoThe engagement the document belongs to.34567
engagementDocumentTypeIdintegerEngagementDocumentTypeNoThe document's type.4
is_activeboolean—Notrue while the document is part of the engagement.true
clientFacingboolean—Notrue when the client can see the document.true
blocksExecutionboolean—Notrue when the document must be signed before the engagement can be executed.true
signatureRequirementTypestringenum (SignatureRequirementType)YesWhether every signer or any one signer must sign."ALL_SIGNATURES_REQUIRED"
createdAtstringdate-time (ISO 8601)NoWhen the document was created."2024-01-15T10:00:00+00:00"
updatedAtstringdate-time (ISO 8601)NoWhen the document was last updated."2024-03-20T14:30:00+00:00"
affirmativeStatusstringenum (AffirmativeStatus)YesThe consent outcome of a consent or add-on document. null for other document types, and for a consent or add-on document with no signers assigned."AFFIRMATIVE"
createdByStaffIdinteger—YesStaff member who created the document (staff id).102
lastUpdatedByStaffIdinteger—YesStaff member who last updated the document (staff id).102
manuallyUploadedAtstringdate-time (ISO 8601)YesWhen the document was uploaded by hand rather than generated from a template. null for generated documents.null
pagesinteger—YesNumber of pages in the document.4
totalExpectedInitialsinteger—YesHow many initials the document expects in total, across all signers.2
totalExpectedSignaturesinteger—YesHow many signatures the document expects in total.1
hasAppendedCertificateOfCompletionboolean—Yestrue once a certificate of completion has been appended to the document.false
documentTypeobjectDocumentTypeNoThe document's type, with its name.—

DocumentType

NameTypeFormatNullableDescriptionExample
idinteger—NoDocument type identifier, the same value as engagementDocumentTypeId.4
namestring—NoDocument type name."Consent Document"

EngagementDocumentType

Every firm has the same document types:

engagementDocumentTypeIddocumentType.name
1Engagement Letter
2Supplemental Document
3Combined Document
4Consent Document
5Agreement Document
6Add-On Document

SignatureRequirementType

One of: ALL_SIGNATURES_REQUIRED (every signer must sign), ONE_SIGNATURE_REQUIRED (any one signer is enough).

AffirmativeStatus

One of:

  • AFFIRMATIVE: every signer agreed.
  • NEGATIVE: at least one signer declined.
  • INDETERMINATE: at least one signer agreed, and others still have to answer.
  • EMPTY: signers are assigned, but none has answered yet.

These rules don't change with signatureRequirementType. For a ONE_SIGNATURE_REQUIRED document, any decline makes the status NEGATIVE, and an agreement while other signers haven't answered makes it INDETERMINATE. To get the outcome of a one-signature consent, use the Engagement CONSENT_RECORDED webhook instead.