Space Docs
Domain Model

Quote

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
nameunknownYesName
opportunityIdstringYesID of the associated opportunity
siteIdunknownYesID of the associated site
siteAddressunknownYesSite address
versionNumberintegerYesVersion number
quoteNumberunknownYesQuote number
statusenum(draft, sent, accepted, changes_requested, paid, rejected, expired)YesStatus
pricingModelenum(fixed, time_and_materials, hybrid)YesPricing model
subtotalMaterialunknownYesSubtotal material
subtotalLaborunknownYesSubtotal labor
subtotalRecurringunknownYesSubtotal recurring
grossMarginEstimateunknownYesGross margin estimate
assumptionsunknownYesAssumptions
exclusionsunknownYesExclusions
aiNarrativeunknownYesAi narrative
generatedByAgentRoleunknownYesGenerated by agent role
termsunknownYesTerms
expirationDateunknownYesExpiration date
preparedByUserIdunknownYesID of the associated prepared by user
approvedByUserIdunknownYesID of the associated approved by user
scopeOfWorkunknownYesScope of work
executiveSummaryunknownYesExecutive summary
projectOverviewunknownYesProject overview
projectTypeunknownYesProject type
estimatedStartunknownYesEstimated start
estimatedCompletionunknownYesEstimated completion
changeOrderTermsunknownYesChange order terms
warrantyTermsunknownYesWarranty terms
permitRequiredbooleanYesPermit required
permitNotesunknownYesPermit notes
insuranceRequirementsunknownYesInsurance requirements
projectTimelineEstimateunknownYesProject timeline estimate
internalNotesunknownYesInternal notes
approvalNotesunknownYesApproval notes
sentAtunknownYesSent at
respondedAtunknownYesResponded at
customerPoNumberunknownYesCustomer po number
revisionNotesunknownYesRevision notes
discountTypeunknownYesDiscount type
discountValueunknownYesDiscount value
taxExemptbooleanYesTax exempt
paymentTermTemplateIdunknownYesID of the associated payment term template
discountTotalunknownYesDiscount total
taxTotalunknownYesTax total
grandTotalunknownYesGrand total
workspaceIdstringYesID of the associated workspace
visibilityModeunknownYesVisibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
nameunknownNoName
customerIdstringNoID of the associated customer
opportunityIdunknownNoID of the associated opportunity
siteIdunknownNoID of the associated site
siteAddressunknownNoSite address
statusenum(draft, sent, accepted, changes_requested, paid, rejected, expired)Yes"draft"Status
pricingModelenum(fixed, time_and_materials, hybrid)YesPricing model
assumptionsunknownNoAssumptions
exclusionsunknownNoExclusions
aiNarrativeunknownNoAi narrative
generatedByAgentRoleunknownNoGenerated by agent role
termsunknownNoTerms
expirationDateunknownNoExpiration date
preparedByUserIdunknownNoID of the associated prepared by user
approvedByUserIdunknownNoID of the associated approved by user
scopeOfWorkunknownNoScope of work
executiveSummaryunknownNoExecutive summary
projectOverviewunknownNoProject overview
projectTypeunknownNoProject type
estimatedStartunknownNoEstimated start
estimatedCompletionunknownNoEstimated completion
changeOrderTermsunknownNoChange order terms
warrantyTermsunknownNoWarranty terms
permitRequiredbooleanYesfalsePermit required
permitNotesunknownNoPermit notes
insuranceRequirementsunknownNoInsurance requirements
projectTimelineEstimateunknownNoProject timeline estimate
internalNotesunknownNoInternal notes
approvalNotesunknownNoApproval notes
customerPoNumberunknownNoCustomer po number
revisionNotesunknownNoRevision notes
discountTypeunknownNoDiscount type
discountValueunknownNoDiscount value
taxExemptbooleanYesfalseTax exempt
paymentTermTemplateIdunknownNoID of the associated payment term template
workspaceIdstringNoID of the associated workspace
visibilityModeunknownNoVisibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
nameunknownNoName
customerIdstringNoID of the associated customer
opportunityIdunknownNoID of the associated opportunity
siteIdunknownNoID of the associated site
siteAddressunknownNoSite address
statusenum(draft, sent, accepted, changes_requested, paid, rejected, expired)NoStatus
pricingModelenum(fixed, time_and_materials, hybrid)NoPricing model
assumptionsunknownNoAssumptions
exclusionsunknownNoExclusions
aiNarrativeunknownNoAi narrative
generatedByAgentRoleunknownNoGenerated by agent role
termsunknownNoTerms
expirationDateunknownNoExpiration date
preparedByUserIdunknownNoID of the associated prepared by user
approvedByUserIdunknownNoID of the associated approved by user
scopeOfWorkunknownNoScope of work
executiveSummaryunknownNoExecutive summary
projectOverviewunknownNoProject overview
projectTypeunknownNoProject type
estimatedStartunknownNoEstimated start
estimatedCompletionunknownNoEstimated completion
changeOrderTermsunknownNoChange order terms
warrantyTermsunknownNoWarranty terms
permitRequiredbooleanNoPermit required
permitNotesunknownNoPermit notes
insuranceRequirementsunknownNoInsurance requirements
projectTimelineEstimateunknownNoProject timeline estimate
internalNotesunknownNoInternal notes
approvalNotesunknownNoApproval notes
customerPoNumberunknownNoCustomer po number
revisionNotesunknownNoRevision notes
discountTypeunknownNoDiscount type
discountValueunknownNoDiscount value
taxExemptbooleanNoTax exempt
paymentTermTemplateIdunknownNoID of the associated payment term template
quoteNumberunknownNoQuote number

On this page