Space Docs
Domain Model

Quote

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
nameunknownYes—Name
opportunityIdstringYes—ID of the associated opportunity
projectIdunknownYes—ID of the associated project
siteIdunknownYes—ID of the associated site
siteAddressunknownYes—Site address
versionNumberintegerYes—Version number
quoteNumberstring,nullYes—Quote number
statusenum(draft, sent, accepted, changes_requested, rejected, expired)Yes—Status
pricingModelenum(fixed, time_and_materials, hybrid)Yes—Pricing model
subtotalMaterialunknownYes—Subtotal material
subtotalLaborunknownYes—Subtotal labor
subtotalRecurringunknownYes—Subtotal recurring
grossMarginEstimatenumber,nullYes—Gross margin estimate
assumptionsunknownYes—Assumptions
exclusionsunknownYes—Exclusions
aiNarrativeunknownYes—Ai narrative
generatedByAgentRoleunknownYes—Generated by agent role
termsunknownYes—Terms
expirationDateunknownYes—Expiration date
preparedByUserIdunknownYes—ID of the associated prepared by user
approvedByUserIdunknownYes—ID of the associated approved by user
scopeOfWorkstring,nullYes—Scope of work
executiveSummarystring,nullYes—Executive summary
projectOverviewstring,nullYes—Project overview
projectTypestring,nullYes—Project type
estimatedStartunknownYes—Estimated start
estimatedCompletionunknownYes—Estimated completion
changeOrderTermsstring,nullYes—Change order terms
warrantyTermsstring,nullYes—Warranty terms
permitRequiredbooleanYes—Permit required
permitNotesstring,nullYes—Permit notes
insuranceRequirementsstring,nullYes—Insurance requirements
projectTimelineEstimatestring,nullYes—Project timeline estimate
internalNotesstring,nullYes—Internal notes
approvalNotesstring,nullYes—Approval notes
sentAtunknownYes—Sent at
respondedAtunknownYes—Responded at
customerPoNumberstring,nullYes—Customer po number
revisionNotesstring,nullYes—Revision notes
discountTypeunknownYes—Discount type
discountValueunknownYes—Discount value
taxExemptbooleanYes—Tax exempt
paymentTermTemplateIdunknownYes—ID of the associated payment term template
discountTotalnumber,nullYes—Discount total
taxTotalnumber,nullYes—Tax total
grandTotalnumber,nullYes—Grand total
workspaceIdstringYes—ID of the associated workspace
visibilityModeunknownYes—Visibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
nameunknownNo—Name
customerIdstringNo—ID of the associated customer
opportunityIdunknownNo—ID of the associated opportunity
siteIdunknownNo—ID of the associated site
siteAddressunknownNo—Site address
statusenum(draft, sent, accepted, changes_requested, rejected, expired)Yes"draft"Status
pricingModelenum(fixed, time_and_materials, hybrid)Yes—Pricing model
assumptionsunknownNo—Assumptions
exclusionsunknownNo—Exclusions
aiNarrativeunknownNo—Ai narrative
generatedByAgentRoleunknownNo—Generated by agent role
termsunknownNo—Terms
expirationDateunknownNo—Expiration date
preparedByUserIdunknownNo—ID of the associated prepared by user
approvedByUserIdunknownNo—ID of the associated approved by user
scopeOfWorkunknownNo—Scope of work
executiveSummaryunknownNo—Executive summary
projectOverviewunknownNo—Project overview
projectTypeunknownNo—Project type
estimatedStartunknownNo—Estimated start
estimatedCompletionunknownNo—Estimated completion
changeOrderTermsunknownNo—Change order terms
warrantyTermsunknownNo—Warranty terms
permitRequiredbooleanYesfalsePermit required
permitNotesunknownNo—Permit notes
insuranceRequirementsunknownNo—Insurance requirements
projectTimelineEstimateunknownNo—Project timeline estimate
internalNotesunknownNo—Internal notes
approvalNotesunknownNo—Approval notes
customerPoNumberunknownNo—Customer po number
revisionNotesunknownNo—Revision notes
discountTypeunknownNo—Discount type
discountValueunknownNo—Discount value
taxExemptbooleanYesfalseTax exempt
paymentTermTemplateIdunknownNo—ID of the associated payment term template
workspaceIdstringNo—ID of the associated workspace
visibilityModeunknownNo—Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
nameunknownNo—Name
customerIdstringNo—ID of the associated customer
opportunityIdunknownNo—ID of the associated opportunity
siteIdunknownNo—ID of the associated site
siteAddressunknownNo—Site address
statusenum(draft, sent, accepted, changes_requested, rejected, expired)No—Status
pricingModelenum(fixed, time_and_materials, hybrid)No—Pricing model
assumptionsunknownNo—Assumptions
exclusionsunknownNo—Exclusions
aiNarrativeunknownNo—Ai narrative
generatedByAgentRoleunknownNo—Generated by agent role
termsunknownNo—Terms
expirationDateunknownNo—Expiration date
preparedByUserIdunknownNo—ID of the associated prepared by user
approvedByUserIdunknownNo—ID of the associated approved by user
scopeOfWorkunknownNo—Scope of work
executiveSummaryunknownNo—Executive summary
projectOverviewunknownNo—Project overview
projectTypeunknownNo—Project type
estimatedStartunknownNo—Estimated start
estimatedCompletionunknownNo—Estimated completion
changeOrderTermsunknownNo—Change order terms
warrantyTermsunknownNo—Warranty terms
permitRequiredbooleanNo—Permit required
permitNotesunknownNo—Permit notes
insuranceRequirementsunknownNo—Insurance requirements
projectTimelineEstimateunknownNo—Project timeline estimate
internalNotesunknownNo—Internal notes
approvalNotesunknownNo—Approval notes
customerPoNumberunknownNo—Customer po number
revisionNotesunknownNo—Revision notes
discountTypeunknownNo—Discount type
discountValueunknownNo—Discount value
taxExemptbooleanNo—Tax exempt
paymentTermTemplateIdunknownNo—ID of the associated payment term template
quoteNumberunknownNo—Quote number

On this page