Quote
Represents information about an quote.
type Quote {
id: ID!
number: String
status: RelatedStatusType
effectiveAt: Date
dueAt: Date
currency: CurrencyCode
exchangeRate: Decimal
discount: Decimal
subtotal: Decimal
subtotalExcludingTax: Decimal
tax: Decimal
total: Decimal
notes: String
isIssuer: Boolean
client: Contact
person: Contact
issuer: User
lines: [QuoteLine]
priceList: PriceList
comments: [Comment!]!
followers: [User!]
creator: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
invoices(
where: QuoteInvoicesWhereWhereConditions
orderBy: [QuoteInvoicesOrderByOrderByClause!]
first: Int! = 10
after: String
): InvoiceConnection!
properties(
where: QuotePropertiesWhereWhereConditions
orderBy: [QuotePropertiesOrderByOrderByClause!]
first: Int! = 10
after: String
): PropertyConnection!
projects(
where: QuoteProjectsWhereWhereConditions
orderBy: [QuoteProjectsOrderByOrderByClause!]
first: Int! = 10
after: String
): ProjectConnection!
tasks(
where: QuoteTasksWhereWhereConditions
orderBy: [QuoteTasksOrderByOrderByClause!]
first: Int! = 10
after: String
): TaskConnection!
letters(
where: QuoteLettersWhereWhereConditions
orderBy: [QuoteLettersOrderByOrderByClause!]
first: Int! = 10
after: String
): LetterConnection!
contracts(
where: QuoteContractsWhereWhereConditions
orderBy: [QuoteContractsOrderByOrderByClause!]
first: Int! = 10
after: String
): ContractConnection!
files(
where: QuoteFilesWhereWhereConditions
orderBy: [QuoteFilesOrderByOrderByClause!]
first: Int! = 10
after: String
): FileConnection!
}
Fields
Quote.id ● ID! non-null scalar
Quote's unique identifier.
Quote.number ● String scalar
The quote's number.
Quote.status ● RelatedStatusType object
The quote's status.
Quote.effectiveAt ● Date scalar
Starting date of the quote.
Quote.dueAt ● Date scalar
Due date of the quote.
Quote.currency ● CurrencyCode enum
The quote's currency.
Quote.exchangeRate ● Decimal scalar
The quote's currency exchange rate.
Quote.discount ● Decimal scalar
The quote's discount percentage.
Quote.subtotal ● Decimal scalar
Total of all items on the quote before any quote level discount or exclusive tax is applied.
Quote.subtotalExcludingTax ● Decimal scalar
The subtotal of the quote before any quote level discount or tax.
Quote.tax ● Decimal scalar
The amount of tax on this quote. This is the sum of all the tax amounts on this quote.
Quote.total ● Decimal scalar
Total after discounts and taxes.
Quote.notes ● String scalar
The quote's notes.
Quote.isIssuer ● Boolean scalar
Determine whether the current user is this quote's issuer.
Quote.client ● Contact object
The quote's client.
Quote.person ● Contact object
The quote's client related person.
Quote.issuer ● User object
The quote's issuer.
Quote.lines ● [QuoteLine] list object
The individual line items that make up the quote.
Quote.priceList ● PriceList object
The quote's price list.
Quote.comments ● [Comment!]! non-null object
The quote's comments.
Quote.followers ● [User!] list object
The quote's followers.
Quote.creator ● User object
The user who created this quote.
Quote.createdAt ● DateTimeTz! non-null scalar
The date and time when the quote was created.
Quote.updatedAt ● DateTimeTz! non-null scalar
The date and time when the quote was last updated.
Quote.deletedAt ● DateTimeTz scalar
The date and time when the quote was deleted.
Quote.invoices ● InvoiceConnection! non-null object
The quote's invoices.
Quote.invoices.where ● QuoteInvoicesWhereWhereConditions input
Quote.invoices.orderBy ● [QuoteInvoicesOrderByOrderByClause!] list input
Quote.invoices.first ● Int! non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Quote.invoices.after ● String scalar
A cursor after which elements are returned.
Quote.properties ● PropertyConnection! non-null object
A list of properties associated with the quote.
Quote.properties.where ● QuotePropertiesWhereWhereConditions input
Quote.properties.orderBy ● [QuotePropertiesOrderByOrderByClause!] list input
Quote.properties.first ● Int! non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Quote.properties.after ● String scalar
A cursor after which elements are returned.
Quote.projects ● ProjectConnection! non-null object
A list of projects associated with the quote.
Quote.projects.where ● QuoteProjectsWhereWhereConditions input
Quote.projects.orderBy ● [QuoteProjectsOrderByOrderByClause!] list input
Quote.projects.first ● Int! non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Quote.projects.after ● String scalar
A cursor after which elements are returned.
Quote.tasks ● TaskConnection! non-null object
The quote's tasks.
Quote.tasks.where ● QuoteTasksWhereWhereConditions input
Quote.tasks.orderBy ● [QuoteTasksOrderByOrderByClause!] list input
Quote.tasks.first ● Int! non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Quote.tasks.after ● String scalar
A cursor after which elements are returned.
Quote.letters ● LetterConnection! non-null object
A list of letters associated with the quote.
Quote.letters.where ● QuoteLettersWhereWhereConditions input
Quote.letters.orderBy ● [QuoteLettersOrderByOrderByClause!] list input
Quote.letters.first ● Int! non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Quote.letters.after ● String scalar
A cursor after which elements are returned.
Quote.contracts ● ContractConnection! non-null object
A list of contracts associated with the quote.
Quote.contracts.where ● QuoteContractsWhereWhereConditions input
Quote.contracts.orderBy ● [QuoteContractsOrderByOrderByClause!] list input
Quote.contracts.first ● Int! non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Quote.contracts.after ● String scalar
A cursor after which elements are returned.
Quote.files ● FileConnection! non-null object
The quote's files.
Quote.files.where ● QuoteFilesWhereWhereConditions input
Quote.files.orderBy ● [QuoteFilesOrderByOrderByClause!] list input
Quote.files.first ● Int! non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Quote.files.after ● String scalar
A cursor after which elements are returned.
Returned By
createQuote mutation ● deleteQuote mutation ● duplicateQuote mutation ● quote query ● restoreQuote mutation ● updateQuote mutation