Skip to main content

Quote

Represents information about an quote.

type Quote {
id: ID!
isLocked: Boolean!
isOverdue: Boolean!
daysOverdue: Int
_groupMeta: GroupMeta
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!
after: String
): InvoiceConnection!
acts(
where: QuoteActsWhereWhereConditions
orderBy: [QuoteActsOrderByOrderByClause!]
first: Int!
after: String
): ActConnection!
properties(
where: QuotePropertiesWhereWhereConditions
orderBy: [QuotePropertiesOrderByOrderByClause!]
first: Int!
after: String
): PropertyConnection!
structures(
where: QuoteStructuresWhereWhereConditions
orderBy: [QuoteStructuresOrderByOrderByClause!]
first: Int!
after: String
): StructureConnection!
projects(
where: QuoteProjectsWhereWhereConditions
orderBy: [QuoteProjectsOrderByOrderByClause!]
first: Int!
after: String
): ProjectConnection!
tasks(
where: QuoteTasksWhereWhereConditions
orderBy: [QuoteTasksOrderByOrderByClause!]
first: Int!
after: String
): TaskConnection!
letters(
where: QuoteLettersWhereWhereConditions
orderBy: [QuoteLettersOrderByOrderByClause!]
first: Int!
after: String
): LetterConnection!
contracts(
where: QuoteContractsWhereWhereConditions
orderBy: [QuoteContractsOrderByOrderByClause!]
first: Int!
after: String
): ContractConnection!
files(
where: QuoteFilesWhereWhereConditions
orderBy: [QuoteFilesOrderByOrderByClause!]
first: Int!
after: String
): FileConnection!
}

Fields​

Quote.id ● ID! non-null scalar​

Quote's unique identifier.

Quote.isLocked ● Boolean! non-null scalar​

Whether this entity is locked from edits to its contractual fields by its current status.

Quote.isOverdue ● Boolean! non-null scalar​

Whether the due date has passed while the record is still unsettled. Counted in Estonian time, from the day after the due date.

Quote.daysOverdue ● Int scalar​

How many days past its due date an overdue record is. Null when the record is not overdue.

Quote._groupMeta ● GroupMeta object​

Grouping metadata when results are grouped.

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.acts ● ActConnection! non-null object​

A list of acts associated with the quote.

Quote.acts.where ● QuoteActsWhereWhereConditions input​
Quote.acts.orderBy ● [QuoteActsOrderByOrderByClause!] list input​
Quote.acts.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Quote.acts.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.structures ● StructureConnection! non-null object​

A list of structures associated with the quote.

Quote.structures.where ● QuoteStructuresWhereWhereConditions input​
Quote.structures.orderBy ● [QuoteStructuresOrderByOrderByClause!] list input​
Quote.structures.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Quote.structures.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 ● createQuoteFromAct mutation ● deleteQuote mutation ● duplicateQuote mutation ● quote query ● restoreQuote mutation ● updateQuote mutation

Member Of​

Invoice object ● QuoteEdge object