---
schema_version: "1"
id: 6bc2e8652f10f8e9ab526ed42735e834420c35dde947cac7842305975a7bc311
title: QuoteDocument
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_quotedocument.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_quotedocument.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 73529f4f35e8ec390884b989cea772819f6ccea572dec8b2926be3bc002576f2
description: Represents a quote in document format. Available in API version 18.0 and later.
---
# QuoteDocument

Represents a quote in document format. Available in API version 18.0 and later.

## Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Fields

| Field | Details |
| --- | --- |
| ContentVersionDocumentId | 
Type

reference

Properties

Create, Filter, Group, Sort

Description

ID for the document’s version.



 |
| CurrencyIsoCode | 

Type

picklist

Properties

Defaulted on create, Filter, Restricted picklist

Description

Available only for organizations with the multicurrency feature enabled.

Contains the ISO code for any currency allowed by the organization. If the organization has multicurrency and a Pricebook2Id specified on the quote, then the currency value of this field must match the currency of the PricebookEntry objects that are associated with any quote line items it has.





 |
| Discount | 

Type

percent

Properties

Filter, Nillable, Sort

Description

The discount for the quote used in the document.



 |
| Document | 

Type

base64

Properties

Create, Nillable

Description

The binary data of the document stored in the QuoteDocument object.



 |
| DocumentTemplate | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort

Description

The ID of the template used to generate the document.



 |
| GrandTotal | 

Type

currency

Properties

Filter, Nillable, Sort

Description

Grand total for the quote used in the document.



 |
| Name | 

Type

string

Properties

Filter, idLookup, Sort

Description

Name of the quote document.



 |
| QuoteId | 

Type

reference

Properties

Create, Filter, GroupSort

Description

ID for the quote used for the document.



 |
| Status | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The status of the document.

Possible values are:

- Completed
- Failed
- Generating
- In Progress
- None
- Queued

The default value is None.



 |

## Usage

Use the QuoteDocument object to store a document that can be used to present the quote information to the customer.

#### See Also

- [Quote](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_quote.htm "Represents a quote, which is a record showing proposed prices for products and services. Available in API version 18.0 and later.")
- [QuoteLineItem](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_quotelineitem.htm "Represents a quote line item, which is a member of the list of Product2 products associated with a quote, along with other information about those line items on that quote. Available in API version 18.0 and later.")