# Quotes tools

[All tool areas](/docs/tools.md). Each tool acts within your access.

## Quotes

### create_quote

Quote a party for one session: individual tickets (`lines`), a group option such as the private game (`group`), or a private session staff created (`private`), with add-ons and menu counts, priced as a booking would be now. Numbered in the entity's own series (Q-0001) and emailed with its link to `billTo` (a name is required) unless `send` is false. Valid until `validUntil`, by default quoteValidDays (14) from now, never past the session's start. `holdDate` (default: the quoteHoldsDate setting, off) holds the session for the party until then, so nobody else can book it; voiding the quote gives it back. issue_invoice with the quote's id books it and invoices it. Needs orders:amounts. Undo voids it (it keeps its number). Returns a preview to confirm.

Changes · Members of an organization · Needs invoices:write

Plan: quotes and invoices

#### Input

- `sessionId` — string; required. The session's id, from list_sessions
- `lines` — array; optional. Seats of individual ticket types; give one of lines, group, or private minItems: 1; maxItems: 20
  - `lines[]` — object; optional. 
    - `lines[].ticketTypeId` — string; required. The ticket type's id, from get_product
    - `lines[].quantity` — integer; required.  minimum: 1; maximum: 100
- `group` — object; optional. A group option for the party (a private game); give one of lines, group, or private
  - `group.groupOptionId` — string; required. A group option from list_availability
  - `group.partySize` — integer; required.  minimum: 1; maximum: 10000
- `private` — object; optional. A private session staff created, for this party, at its own terms; give one of lines, group, or private
  - `private.partySize` — integer; required.  minimum: 1; maximum: 10000
- `addOns` — array; optional.  maxItems: 20
  - `addOns[]` — object; optional. 
    - `addOns[].addOnId` — string; required. An add-on from list_availability's addOns
    - `addOns[].quantity` — integer; required.  minimum: 1; maximum: 1000
- `menu` — array; optional.  maxItems: 50
  - `menu[]` — object; optional. 
    - `menu[].choiceId` — string; required. A choice from list_availability's menu
    - `menu[].quantity` — integer; required.  minimum: 0; maximum: 10000
- `billTo` — object or null; required. Who it's for: a name is required, and its email is where the quote goes
  - `billTo.name` — string; required.  minLength: 1; maxLength: 200
  - `billTo.company` — string; optional.  minLength: 1; maxLength: 200
  - `billTo.email` — string; optional. Where the invoice (or quote) and its reminders go. Left out on an invoice: the order's email format: "email"; maxLength: 254
  - `billTo.phone` — string; optional.  minLength: 1; maxLength: 40
  - `billTo.address` — object; optional. 
    - `billTo.address.line1` — string; required.  minLength: 1
    - `billTo.address.line2` — string; optional.  minLength: 1
    - `billTo.address.city` — string; required.  minLength: 1
    - `billTo.address.region` — string; required. Province or state code, e.g. ON minLength: 1
    - `billTo.address.postalCode` — string; required.  minLength: 1
    - `billTo.address.country` — string; required. ISO 3166-1 alpha-2, e.g. CA pattern: "^\[A-Z\]\{2\}$"
- `validUntil` — string; optional. Left out: quoteValidDays (14) from now. Never past the session's start format: "date-time"
- `holdDate` — boolean; optional. Hold the session for this party until validUntil, so nobody else can book it meanwhile. Left out: the quoteHoldsDate setting (off by default)
- `note` — string; optional. Shown to the guest on the quote minLength: 1; maxLength: 2000
- `send` — boolean; optional. Email the quote with its link to the bill-to's email address (when it has one) default: true

#### Output

- `quote` — object; required. 
  - `quote.id` — string; required. qte_…
  - `quote.number` — string; required. Q-0001
  - `quote.status` — string; required.  Allowed: "open", "invoiced", "void"
  - `quote.state` — string; required. open (sent, still valid), expired (past validUntil without being invoiced), invoiced (booked: see orderId), void Allowed: "open", "expired", "invoiced", "void"
  - `quote.product` — object; required. 
    - `quote.product.id` — string; required. 
    - `quote.product.name` — string; required. 
  - `quote.location` — object; required. 
    - `quote.location.id` — string; required. 
    - `quote.location.name` — string; required. 
    - `quote.location.timeZone` — string; required. 
  - `quote.session` — object; required. 
    - `quote.session.id` — string; required. 
    - `quote.session.startsAt` — string; required.  format: "date-time"
    - `quote.session.when` — string; required. In the location's time zone
  - `quote.partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
  - `quote.wholeSession` — boolean; required. Whether it takes the session whole (a private game or session)
  - `quote.currency` — string; required. 
  - `quote.total` — integer or null; required. With tax, as priced when it was made. Null without orders:amounts
  - `quote.totals` — object or null; required. As priced when it was made, a snapshot: invoicing prices it again and refuses a total that has moved. Null without orders:amounts
    - `quote.totals.currency` — string; required. 
    - `quote.totals.lines` — array; required. 
      - `quote.totals.lines[]` — one of: object, object, object, object; optional. A booking's tickets, extras, and fees; a gift certificate's order has only its gift_certificate line
        - `quote.totals.lines[] — object option 1` — object; optional. 
          - `quote.totals.lines[] — object option 1.kind` — string; required.  Value: "ticket\_type"
          - `quote.totals.lines[] — object option 1.ticketTypeId` — string; required. 
          - `quote.totals.lines[] — object option 1.name` — string; required. 
          - `quote.totals.lines[] — object option 1.quantity` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 1.unitAmount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 1.group` — object; optional. Only on a group option's line: the line is baseAmount plus unitAmount for each seat above includedSeats
            - `quote.totals.lines[] — object option 1.group.baseAmount` — integer; required. The base charge, covering includedSeats, before fees and tax minimum: -9007199254740991; maximum: 9007199254740991
            - `quote.totals.lines[] — object option 1.group.includedSeats` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 1.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 1.components` — array; optional. Only on a package whose price is split by tax class (a VIP ticket including a wine pairing): its parts, the ticket's own first, each taxed by its own class. Their amounts add up to the line's. Show them under the line
            - `quote.totals.lines[] — object option 1.components[]` — object; optional. 
              - `quote.totals.lines[] — object option 1.components[].addOnId` — string or null; required. The included add-on (prd_…) this part is; null for the ticket's own part, named for its product
              - `quote.totals.lines[] — object option 1.components[].name` — string; required. 
              - `quote.totals.lines[] — object option 1.components[].quantity` — integer; required. Units for the whole line (seats for the ticket's own part, seats times the units per seat for an add-on) minimum: -9007199254740991; maximum: 9007199254740991
              - `quote.totals.lines[] — object option 1.components[].amount` — integer; required. Its part of the line's amount, after discounts, before tax minimum: -9007199254740991; maximum: 9007199254740991
              - `quote.totals.lines[] — object option 1.components[].taxes` — array; optional. Its own taxes, by the add-on's tax class (the product's for the ticket's own part). Only on refunded lines
                - `quote.totals.lines[] — object option 1.components[].taxes[]` — object; optional. 
                  - `quote.totals.lines[] — object option 1.components[].taxes[].name` — string; required. 
                  - `quote.totals.lines[] — object option 1.components[].taxes[].ratePpm` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
                  - `quote.totals.lines[] — object option 1.components[].taxes[].amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.lines[] — object option 2` — object; optional. 
          - `quote.totals.lines[] — object option 2.kind` — string; required.  Value: "add\_on"
          - `quote.totals.lines[] — object option 2.addOnId` — string; required. The add-on (a product, prd_…)
          - `quote.totals.lines[] — object option 2.name` — string; required. 
          - `quote.totals.lines[] — object option 2.quantity` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 2.unitAmount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 2.menuChoiceId` — string or null; optional. The menu choice (mch_…) this line is the supplement of, for the guests who picked it; null for an add-on bought on its own. One add-on can have both lines in one order: label each by this, never by its add-on and quantity. Always present
          - `quote.totals.lines[] — object option 2.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.lines[] — object option 3` — object; optional. 
          - `quote.totals.lines[] — object option 3.kind` — string; required.  Value: "fee"
          - `quote.totals.lines[] — object option 3.feeId` — string; required. 
          - `quote.totals.lines[] — object option 3.name` — string; required. 
          - `quote.totals.lines[] — object option 3.ratePpm` — integer or null; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 3.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.lines[] — object option 4` — object; optional. 
          - `quote.totals.lines[] — object option 4.kind` — string; required.  Value: "gift\_certificate"
          - `quote.totals.lines[] — object option 4.name` — string; required. "Gift certificate", or the preset's name
          - `quote.totals.lines[] — object option 4.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.subtotal` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.fees` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.totalBeforeTax` — integer; required. Subtotal plus fees: the party's total as shown before tax minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.tax` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.total` — integer; required. The total with tax, what the guest pays minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.taxes` — array; required. 
      - `quote.totals.taxes[]` — object; optional. 
        - `quote.totals.taxes[].name` — string; required. 
        - `quote.totals.taxes[].ratePpm` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.taxes[].amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.taxes[].base` — integer; required. What this tax was charged on: the lines carrying this rate, after discounts, before tax. Less than the subtotal before tax when part of it (a service charge) isn't taxed minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.discount` — object or null; optional. The promo code on this hold or order and what it took off, before tax. Each line's `amount` and `subtotal` are already after it. Null without a code. Always present
      - `quote.totals.discount.code` — string; required. 
      - `quote.totals.discount.kind` — string; required.  Allowed: "amount\_off", "percent\_off", "set\_price", "waive\_service\_charge"
      - `quote.totals.discount.amount` — integer; required. What it took off, before tax: off the tickets and extras, or the fees a waive_service_charge code waived minimum: -9007199254740991; maximum: 9007199254740991
      - `quote.totals.discount.lines` — array; required. What it took off each line: this plus the line's own amount is what the line was before it. A waived fee has no line of its own in `lines` above
        - `quote.totals.discount.lines[]` — one of: object, object, object; optional. 
          - `quote.totals.discount.lines[] — object option 1` — object; optional. 
            - `quote.totals.discount.lines[] — object option 1.kind` — string; required.  Value: "ticket\_type"
            - `quote.totals.discount.lines[] — object option 1.ticketTypeId` — string; required. 
            - `quote.totals.discount.lines[] — object option 1.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.discount.lines[] — object option 2` — object; optional. 
            - `quote.totals.discount.lines[] — object option 2.kind` — string; required.  Value: "add\_on"
            - `quote.totals.discount.lines[] — object option 2.addOnId` — string; required. 
            - `quote.totals.discount.lines[] — object option 2.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.discount.lines[] — object option 3` — object; optional. 
            - `quote.totals.discount.lines[] — object option 3.kind` — string; required.  Value: "fee"
            - `quote.totals.discount.lines[] — object option 3.feeId` — string; required. 
            - `quote.totals.discount.lines[] — object option 3.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.storedValueDiscounts` — array; optional. Free value an order took off before tax, after the promo code, in the order given: a promotional gift certificate, or a goodwill or service recovery credit. Each line's `amount` and `subtotal` are already after it; show each as its own row before the fees and tax, like the promo code's. Never on a hold. Always present: empty when there's none
      - `quote.totals.storedValueDiscounts[]` — object; optional. 
        - `quote.totals.storedValueDiscounts[].source` — string; required.  Allowed: "gift\_certificate", "credit"
        - `quote.totals.storedValueDiscounts[].code` — string; required. Its code masked (•••• and its last 4)
        - `quote.totals.storedValueDiscounts[].amount` — integer; required. What it took off, before tax minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.storedValueDiscounts[].lines` — array; required. What it took off each line: this plus the line's own amount is what the line was before it
          - `quote.totals.storedValueDiscounts[].lines[]` — one of: object, object; optional. 
            - `quote.totals.storedValueDiscounts[].lines[] — object option 1` — object; optional. 
              - `quote.totals.storedValueDiscounts[].lines[] — object option 1.kind` — string; required.  Value: "ticket\_type"
              - `quote.totals.storedValueDiscounts[].lines[] — object option 1.ticketTypeId` — string; required. 
              - `quote.totals.storedValueDiscounts[].lines[] — object option 1.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
            - `quote.totals.storedValueDiscounts[].lines[] — object option 2` — object; optional. 
              - `quote.totals.storedValueDiscounts[].lines[] — object option 2.kind` — string; required.  Value: "add\_on"
              - `quote.totals.storedValueDiscounts[].lines[] — object option 2.addOnId` — string; required. 
              - `quote.totals.storedValueDiscounts[].lines[] — object option 2.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
  - `quote.validUntil` — string; required.  format: "date-time"
  - `quote.holdDate` — boolean; required. 
  - `quote.holdsDate` — boolean; required. Whether it holds the session right now (holdDate, still open and valid)
  - `quote.billTo` — object; required. 
    - `quote.billTo.name` — string; required. The first name only, without customers:contact
    - `quote.billTo.company` — string or null; required. 
    - `quote.billTo.email` — string or null; required. 
    - `quote.billTo.phone` — string or null; required. 
    - `quote.billTo.address` — object or null; required. 
      - `quote.billTo.address.line1` — string; required.  minLength: 1
      - `quote.billTo.address.line2` — string; optional.  minLength: 1
      - `quote.billTo.address.city` — string; required.  minLength: 1
      - `quote.billTo.address.region` — string; required. Province or state code, e.g. ON minLength: 1
      - `quote.billTo.address.postalCode` — string; required.  minLength: 1
      - `quote.billTo.address.country` — string; required. ISO 3166-1 alpha-2, e.g. CA pattern: "^\[A-Z\]\{2\}$"
  - `quote.note` — string or null; required. Shown to the guest
  - `quote.orderId` — string or null; required. Once invoiced
  - `quote.invoiceIds` — array; required. 
    - `quote.invoiceIds[]` — string; optional. 
  - `quote.createdBy` — string or null; required. usr_…
  - `quote.createdAt` — string; required.  format: "date-time"
  - `quote.voidedAt` — string or null; required.  format: "date-time"
  - `quote.voidNote` — string or null; required. Staff's own words. Null without orders:amounts

### get_quote

Get one quote: its number, state (open, expired, invoiced, void), the session and party, its price as quoted (orders:amounts), who it's for (customers:contact for more than the first name), until when it's valid, whether it holds the session, and its booking and invoices once invoiced.

Reads · Members of an organization · Needs bookings:read

#### Input

- `quoteId` — string; required. The quote's id, from list_quotes

#### Output

- `quote` — object; required. 
  - `quote.id` — string; required. qte_…
  - `quote.number` — string; required. Q-0001
  - `quote.status` — string; required.  Allowed: "open", "invoiced", "void"
  - `quote.state` — string; required. open (sent, still valid), expired (past validUntil without being invoiced), invoiced (booked: see orderId), void Allowed: "open", "expired", "invoiced", "void"
  - `quote.product` — object; required. 
    - `quote.product.id` — string; required. 
    - `quote.product.name` — string; required. 
  - `quote.location` — object; required. 
    - `quote.location.id` — string; required. 
    - `quote.location.name` — string; required. 
    - `quote.location.timeZone` — string; required. 
  - `quote.session` — object; required. 
    - `quote.session.id` — string; required. 
    - `quote.session.startsAt` — string; required.  format: "date-time"
    - `quote.session.when` — string; required. In the location's time zone
  - `quote.partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
  - `quote.wholeSession` — boolean; required. Whether it takes the session whole (a private game or session)
  - `quote.currency` — string; required. 
  - `quote.total` — integer or null; required. With tax, as priced when it was made. Null without orders:amounts
  - `quote.totals` — object or null; required. As priced when it was made, a snapshot: invoicing prices it again and refuses a total that has moved. Null without orders:amounts
    - `quote.totals.currency` — string; required. 
    - `quote.totals.lines` — array; required. 
      - `quote.totals.lines[]` — one of: object, object, object, object; optional. A booking's tickets, extras, and fees; a gift certificate's order has only its gift_certificate line
        - `quote.totals.lines[] — object option 1` — object; optional. 
          - `quote.totals.lines[] — object option 1.kind` — string; required.  Value: "ticket\_type"
          - `quote.totals.lines[] — object option 1.ticketTypeId` — string; required. 
          - `quote.totals.lines[] — object option 1.name` — string; required. 
          - `quote.totals.lines[] — object option 1.quantity` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 1.unitAmount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 1.group` — object; optional. Only on a group option's line: the line is baseAmount plus unitAmount for each seat above includedSeats
            - `quote.totals.lines[] — object option 1.group.baseAmount` — integer; required. The base charge, covering includedSeats, before fees and tax minimum: -9007199254740991; maximum: 9007199254740991
            - `quote.totals.lines[] — object option 1.group.includedSeats` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 1.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 1.components` — array; optional. Only on a package whose price is split by tax class (a VIP ticket including a wine pairing): its parts, the ticket's own first, each taxed by its own class. Their amounts add up to the line's. Show them under the line
            - `quote.totals.lines[] — object option 1.components[]` — object; optional. 
              - `quote.totals.lines[] — object option 1.components[].addOnId` — string or null; required. The included add-on (prd_…) this part is; null for the ticket's own part, named for its product
              - `quote.totals.lines[] — object option 1.components[].name` — string; required. 
              - `quote.totals.lines[] — object option 1.components[].quantity` — integer; required. Units for the whole line (seats for the ticket's own part, seats times the units per seat for an add-on) minimum: -9007199254740991; maximum: 9007199254740991
              - `quote.totals.lines[] — object option 1.components[].amount` — integer; required. Its part of the line's amount, after discounts, before tax minimum: -9007199254740991; maximum: 9007199254740991
              - `quote.totals.lines[] — object option 1.components[].taxes` — array; optional. Its own taxes, by the add-on's tax class (the product's for the ticket's own part). Only on refunded lines
                - `quote.totals.lines[] — object option 1.components[].taxes[]` — object; optional. 
                  - `quote.totals.lines[] — object option 1.components[].taxes[].name` — string; required. 
                  - `quote.totals.lines[] — object option 1.components[].taxes[].ratePpm` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
                  - `quote.totals.lines[] — object option 1.components[].taxes[].amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.lines[] — object option 2` — object; optional. 
          - `quote.totals.lines[] — object option 2.kind` — string; required.  Value: "add\_on"
          - `quote.totals.lines[] — object option 2.addOnId` — string; required. The add-on (a product, prd_…)
          - `quote.totals.lines[] — object option 2.name` — string; required. 
          - `quote.totals.lines[] — object option 2.quantity` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 2.unitAmount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 2.menuChoiceId` — string or null; optional. The menu choice (mch_…) this line is the supplement of, for the guests who picked it; null for an add-on bought on its own. One add-on can have both lines in one order: label each by this, never by its add-on and quantity. Always present
          - `quote.totals.lines[] — object option 2.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.lines[] — object option 3` — object; optional. 
          - `quote.totals.lines[] — object option 3.kind` — string; required.  Value: "fee"
          - `quote.totals.lines[] — object option 3.feeId` — string; required. 
          - `quote.totals.lines[] — object option 3.name` — string; required. 
          - `quote.totals.lines[] — object option 3.ratePpm` — integer or null; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 3.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.lines[] — object option 4` — object; optional. 
          - `quote.totals.lines[] — object option 4.kind` — string; required.  Value: "gift\_certificate"
          - `quote.totals.lines[] — object option 4.name` — string; required. "Gift certificate", or the preset's name
          - `quote.totals.lines[] — object option 4.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.subtotal` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.fees` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.totalBeforeTax` — integer; required. Subtotal plus fees: the party's total as shown before tax minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.tax` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.total` — integer; required. The total with tax, what the guest pays minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.taxes` — array; required. 
      - `quote.totals.taxes[]` — object; optional. 
        - `quote.totals.taxes[].name` — string; required. 
        - `quote.totals.taxes[].ratePpm` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.taxes[].amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.taxes[].base` — integer; required. What this tax was charged on: the lines carrying this rate, after discounts, before tax. Less than the subtotal before tax when part of it (a service charge) isn't taxed minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.discount` — object or null; optional. The promo code on this hold or order and what it took off, before tax. Each line's `amount` and `subtotal` are already after it. Null without a code. Always present
      - `quote.totals.discount.code` — string; required. 
      - `quote.totals.discount.kind` — string; required.  Allowed: "amount\_off", "percent\_off", "set\_price", "waive\_service\_charge"
      - `quote.totals.discount.amount` — integer; required. What it took off, before tax: off the tickets and extras, or the fees a waive_service_charge code waived minimum: -9007199254740991; maximum: 9007199254740991
      - `quote.totals.discount.lines` — array; required. What it took off each line: this plus the line's own amount is what the line was before it. A waived fee has no line of its own in `lines` above
        - `quote.totals.discount.lines[]` — one of: object, object, object; optional. 
          - `quote.totals.discount.lines[] — object option 1` — object; optional. 
            - `quote.totals.discount.lines[] — object option 1.kind` — string; required.  Value: "ticket\_type"
            - `quote.totals.discount.lines[] — object option 1.ticketTypeId` — string; required. 
            - `quote.totals.discount.lines[] — object option 1.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.discount.lines[] — object option 2` — object; optional. 
            - `quote.totals.discount.lines[] — object option 2.kind` — string; required.  Value: "add\_on"
            - `quote.totals.discount.lines[] — object option 2.addOnId` — string; required. 
            - `quote.totals.discount.lines[] — object option 2.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.discount.lines[] — object option 3` — object; optional. 
            - `quote.totals.discount.lines[] — object option 3.kind` — string; required.  Value: "fee"
            - `quote.totals.discount.lines[] — object option 3.feeId` — string; required. 
            - `quote.totals.discount.lines[] — object option 3.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.storedValueDiscounts` — array; optional. Free value an order took off before tax, after the promo code, in the order given: a promotional gift certificate, or a goodwill or service recovery credit. Each line's `amount` and `subtotal` are already after it; show each as its own row before the fees and tax, like the promo code's. Never on a hold. Always present: empty when there's none
      - `quote.totals.storedValueDiscounts[]` — object; optional. 
        - `quote.totals.storedValueDiscounts[].source` — string; required.  Allowed: "gift\_certificate", "credit"
        - `quote.totals.storedValueDiscounts[].code` — string; required. Its code masked (•••• and its last 4)
        - `quote.totals.storedValueDiscounts[].amount` — integer; required. What it took off, before tax minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.storedValueDiscounts[].lines` — array; required. What it took off each line: this plus the line's own amount is what the line was before it
          - `quote.totals.storedValueDiscounts[].lines[]` — one of: object, object; optional. 
            - `quote.totals.storedValueDiscounts[].lines[] — object option 1` — object; optional. 
              - `quote.totals.storedValueDiscounts[].lines[] — object option 1.kind` — string; required.  Value: "ticket\_type"
              - `quote.totals.storedValueDiscounts[].lines[] — object option 1.ticketTypeId` — string; required. 
              - `quote.totals.storedValueDiscounts[].lines[] — object option 1.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
            - `quote.totals.storedValueDiscounts[].lines[] — object option 2` — object; optional. 
              - `quote.totals.storedValueDiscounts[].lines[] — object option 2.kind` — string; required.  Value: "add\_on"
              - `quote.totals.storedValueDiscounts[].lines[] — object option 2.addOnId` — string; required. 
              - `quote.totals.storedValueDiscounts[].lines[] — object option 2.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
  - `quote.validUntil` — string; required.  format: "date-time"
  - `quote.holdDate` — boolean; required. 
  - `quote.holdsDate` — boolean; required. Whether it holds the session right now (holdDate, still open and valid)
  - `quote.billTo` — object; required. 
    - `quote.billTo.name` — string; required. The first name only, without customers:contact
    - `quote.billTo.company` — string or null; required. 
    - `quote.billTo.email` — string or null; required. 
    - `quote.billTo.phone` — string or null; required. 
    - `quote.billTo.address` — object or null; required. 
      - `quote.billTo.address.line1` — string; required.  minLength: 1
      - `quote.billTo.address.line2` — string; optional.  minLength: 1
      - `quote.billTo.address.city` — string; required.  minLength: 1
      - `quote.billTo.address.region` — string; required. Province or state code, e.g. ON minLength: 1
      - `quote.billTo.address.postalCode` — string; required.  minLength: 1
      - `quote.billTo.address.country` — string; required. ISO 3166-1 alpha-2, e.g. CA pattern: "^\[A-Z\]\{2\}$"
  - `quote.note` — string or null; required. Shown to the guest
  - `quote.orderId` — string or null; required. Once invoiced
  - `quote.invoiceIds` — array; required. 
    - `quote.invoiceIds[]` — string; optional. 
  - `quote.createdBy` — string or null; required. usr_…
  - `quote.createdAt` — string; required.  format: "date-time"
  - `quote.voidedAt` — string or null; required.  format: "date-time"
  - `quote.voidNote` — string or null; required. Staff's own words. Null without orders:amounts

### list_quotes

List quotes, newest first: by state (open, expired, invoiced, void), session, or location, only those for sessions the caller may read.

Reads · Members of an organization · Needs bookings:read

#### Input

- `state` — string; optional. Only quotes in this state Allowed: "open", "expired", "invoiced", "void"
- `sessionId` — string; optional. The session's id, from list_sessions
- `locationId` — string; optional. The location's id, from get_setup
- `before` — string; optional. nextBefore from the page before
- `limit` — integer; optional. The most results to return (default 50) minimum: 1; maximum: 100; default: 50

#### Output

- `quotes` — array; required. 
  - `quotes[]` — object; optional. 
    - `quotes[].id` — string; required. qte_…
    - `quotes[].number` — string; required. Q-0001
    - `quotes[].status` — string; required.  Allowed: "open", "invoiced", "void"
    - `quotes[].state` — string; required. open (sent, still valid), expired (past validUntil without being invoiced), invoiced (booked: see orderId), void Allowed: "open", "expired", "invoiced", "void"
    - `quotes[].product` — object; required. 
      - `quotes[].product.id` — string; required. 
      - `quotes[].product.name` — string; required. 
    - `quotes[].location` — object; required. 
      - `quotes[].location.id` — string; required. 
      - `quotes[].location.name` — string; required. 
      - `quotes[].location.timeZone` — string; required. 
    - `quotes[].session` — object; required. 
      - `quotes[].session.id` — string; required. 
      - `quotes[].session.startsAt` — string; required.  format: "date-time"
      - `quotes[].session.when` — string; required. In the location's time zone
    - `quotes[].partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `quotes[].wholeSession` — boolean; required. Whether it takes the session whole (a private game or session)
    - `quotes[].currency` — string; required. 
    - `quotes[].total` — integer or null; required. With tax, as priced when it was made. Null without orders:amounts
    - `quotes[].totals` — object or null; required. As priced when it was made, a snapshot: invoicing prices it again and refuses a total that has moved. Null without orders:amounts
      - `quotes[].totals.currency` — string; required. 
      - `quotes[].totals.lines` — array; required. 
        - `quotes[].totals.lines[]` — one of: object, object, object, object; optional. A booking's tickets, extras, and fees; a gift certificate's order has only its gift_certificate line
          - `quotes[].totals.lines[] — object option 1` — object; optional. 
            - `quotes[].totals.lines[] — object option 1.kind` — string; required.  Value: "ticket\_type"
            - `quotes[].totals.lines[] — object option 1.ticketTypeId` — string; required. 
            - `quotes[].totals.lines[] — object option 1.name` — string; required. 
            - `quotes[].totals.lines[] — object option 1.quantity` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
            - `quotes[].totals.lines[] — object option 1.unitAmount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
            - `quotes[].totals.lines[] — object option 1.group` — object; optional. Only on a group option's line: the line is baseAmount plus unitAmount for each seat above includedSeats
              - `quotes[].totals.lines[] — object option 1.group.baseAmount` — integer; required. The base charge, covering includedSeats, before fees and tax minimum: -9007199254740991; maximum: 9007199254740991
              - `quotes[].totals.lines[] — object option 1.group.includedSeats` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
            - `quotes[].totals.lines[] — object option 1.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
            - `quotes[].totals.lines[] — object option 1.components` — array; optional. Only on a package whose price is split by tax class (a VIP ticket including a wine pairing): its parts, the ticket's own first, each taxed by its own class. Their amounts add up to the line's. Show them under the line
              - `quotes[].totals.lines[] — object option 1.components[]` — object; optional. 
                - `quotes[].totals.lines[] — object option 1.components[].addOnId` — string or null; required. The included add-on (prd_…) this part is; null for the ticket's own part, named for its product
                - `quotes[].totals.lines[] — object option 1.components[].name` — string; required. 
                - `quotes[].totals.lines[] — object option 1.components[].quantity` — integer; required. Units for the whole line (seats for the ticket's own part, seats times the units per seat for an add-on) minimum: -9007199254740991; maximum: 9007199254740991
                - `quotes[].totals.lines[] — object option 1.components[].amount` — integer; required. Its part of the line's amount, after discounts, before tax minimum: -9007199254740991; maximum: 9007199254740991
                - `quotes[].totals.lines[] — object option 1.components[].taxes` — array; optional. Its own taxes, by the add-on's tax class (the product's for the ticket's own part). Only on refunded lines
                  - `quotes[].totals.lines[] — object option 1.components[].taxes[]` — object; optional. 
                    - `quotes[].totals.lines[] — object option 1.components[].taxes[].name` — string; required. 
                    - `quotes[].totals.lines[] — object option 1.components[].taxes[].ratePpm` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
                    - `quotes[].totals.lines[] — object option 1.components[].taxes[].amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quotes[].totals.lines[] — object option 2` — object; optional. 
            - `quotes[].totals.lines[] — object option 2.kind` — string; required.  Value: "add\_on"
            - `quotes[].totals.lines[] — object option 2.addOnId` — string; required. The add-on (a product, prd_…)
            - `quotes[].totals.lines[] — object option 2.name` — string; required. 
            - `quotes[].totals.lines[] — object option 2.quantity` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
            - `quotes[].totals.lines[] — object option 2.unitAmount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
            - `quotes[].totals.lines[] — object option 2.menuChoiceId` — string or null; optional. The menu choice (mch_…) this line is the supplement of, for the guests who picked it; null for an add-on bought on its own. One add-on can have both lines in one order: label each by this, never by its add-on and quantity. Always present
            - `quotes[].totals.lines[] — object option 2.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quotes[].totals.lines[] — object option 3` — object; optional. 
            - `quotes[].totals.lines[] — object option 3.kind` — string; required.  Value: "fee"
            - `quotes[].totals.lines[] — object option 3.feeId` — string; required. 
            - `quotes[].totals.lines[] — object option 3.name` — string; required. 
            - `quotes[].totals.lines[] — object option 3.ratePpm` — integer or null; required.  minimum: -9007199254740991; maximum: 9007199254740991
            - `quotes[].totals.lines[] — object option 3.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quotes[].totals.lines[] — object option 4` — object; optional. 
            - `quotes[].totals.lines[] — object option 4.kind` — string; required.  Value: "gift\_certificate"
            - `quotes[].totals.lines[] — object option 4.name` — string; required. "Gift certificate", or the preset's name
            - `quotes[].totals.lines[] — object option 4.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
      - `quotes[].totals.subtotal` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
      - `quotes[].totals.fees` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
      - `quotes[].totals.totalBeforeTax` — integer; required. Subtotal plus fees: the party's total as shown before tax minimum: -9007199254740991; maximum: 9007199254740991
      - `quotes[].totals.tax` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
      - `quotes[].totals.total` — integer; required. The total with tax, what the guest pays minimum: -9007199254740991; maximum: 9007199254740991
      - `quotes[].totals.taxes` — array; required. 
        - `quotes[].totals.taxes[]` — object; optional. 
          - `quotes[].totals.taxes[].name` — string; required. 
          - `quotes[].totals.taxes[].ratePpm` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quotes[].totals.taxes[].amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quotes[].totals.taxes[].base` — integer; required. What this tax was charged on: the lines carrying this rate, after discounts, before tax. Less than the subtotal before tax when part of it (a service charge) isn't taxed minimum: -9007199254740991; maximum: 9007199254740991
      - `quotes[].totals.discount` — object or null; optional. The promo code on this hold or order and what it took off, before tax. Each line's `amount` and `subtotal` are already after it. Null without a code. Always present
        - `quotes[].totals.discount.code` — string; required. 
        - `quotes[].totals.discount.kind` — string; required.  Allowed: "amount\_off", "percent\_off", "set\_price", "waive\_service\_charge"
        - `quotes[].totals.discount.amount` — integer; required. What it took off, before tax: off the tickets and extras, or the fees a waive_service_charge code waived minimum: -9007199254740991; maximum: 9007199254740991
        - `quotes[].totals.discount.lines` — array; required. What it took off each line: this plus the line's own amount is what the line was before it. A waived fee has no line of its own in `lines` above
          - `quotes[].totals.discount.lines[]` — one of: object, object, object; optional. 
            - `quotes[].totals.discount.lines[] — object option 1` — object; optional. 
              - `quotes[].totals.discount.lines[] — object option 1.kind` — string; required.  Value: "ticket\_type"
              - `quotes[].totals.discount.lines[] — object option 1.ticketTypeId` — string; required. 
              - `quotes[].totals.discount.lines[] — object option 1.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
            - `quotes[].totals.discount.lines[] — object option 2` — object; optional. 
              - `quotes[].totals.discount.lines[] — object option 2.kind` — string; required.  Value: "add\_on"
              - `quotes[].totals.discount.lines[] — object option 2.addOnId` — string; required. 
              - `quotes[].totals.discount.lines[] — object option 2.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
            - `quotes[].totals.discount.lines[] — object option 3` — object; optional. 
              - `quotes[].totals.discount.lines[] — object option 3.kind` — string; required.  Value: "fee"
              - `quotes[].totals.discount.lines[] — object option 3.feeId` — string; required. 
              - `quotes[].totals.discount.lines[] — object option 3.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
      - `quotes[].totals.storedValueDiscounts` — array; optional. Free value an order took off before tax, after the promo code, in the order given: a promotional gift certificate, or a goodwill or service recovery credit. Each line's `amount` and `subtotal` are already after it; show each as its own row before the fees and tax, like the promo code's. Never on a hold. Always present: empty when there's none
        - `quotes[].totals.storedValueDiscounts[]` — object; optional. 
          - `quotes[].totals.storedValueDiscounts[].source` — string; required.  Allowed: "gift\_certificate", "credit"
          - `quotes[].totals.storedValueDiscounts[].code` — string; required. Its code masked (•••• and its last 4)
          - `quotes[].totals.storedValueDiscounts[].amount` — integer; required. What it took off, before tax minimum: -9007199254740991; maximum: 9007199254740991
          - `quotes[].totals.storedValueDiscounts[].lines` — array; required. What it took off each line: this plus the line's own amount is what the line was before it
            - `quotes[].totals.storedValueDiscounts[].lines[]` — one of: object, object; optional. 
              - `quotes[].totals.storedValueDiscounts[].lines[] — object option 1` — object; optional. 
                - `quotes[].totals.storedValueDiscounts[].lines[] — object option 1.kind` — string; required.  Value: "ticket\_type"
                - `quotes[].totals.storedValueDiscounts[].lines[] — object option 1.ticketTypeId` — string; required. 
                - `quotes[].totals.storedValueDiscounts[].lines[] — object option 1.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
              - `quotes[].totals.storedValueDiscounts[].lines[] — object option 2` — object; optional. 
                - `quotes[].totals.storedValueDiscounts[].lines[] — object option 2.kind` — string; required.  Value: "add\_on"
                - `quotes[].totals.storedValueDiscounts[].lines[] — object option 2.addOnId` — string; required. 
                - `quotes[].totals.storedValueDiscounts[].lines[] — object option 2.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quotes[].validUntil` — string; required.  format: "date-time"
    - `quotes[].holdDate` — boolean; required. 
    - `quotes[].holdsDate` — boolean; required. Whether it holds the session right now (holdDate, still open and valid)
    - `quotes[].billTo` — object; required. 
      - `quotes[].billTo.name` — string; required. The first name only, without customers:contact
      - `quotes[].billTo.company` — string or null; required. 
      - `quotes[].billTo.email` — string or null; required. 
      - `quotes[].billTo.phone` — string or null; required. 
      - `quotes[].billTo.address` — object or null; required. 
        - `quotes[].billTo.address.line1` — string; required.  minLength: 1
        - `quotes[].billTo.address.line2` — string; optional.  minLength: 1
        - `quotes[].billTo.address.city` — string; required.  minLength: 1
        - `quotes[].billTo.address.region` — string; required. Province or state code, e.g. ON minLength: 1
        - `quotes[].billTo.address.postalCode` — string; required.  minLength: 1
        - `quotes[].billTo.address.country` — string; required. ISO 3166-1 alpha-2, e.g. CA pattern: "^\[A-Z\]\{2\}$"
    - `quotes[].note` — string or null; required. Shown to the guest
    - `quotes[].orderId` — string or null; required. Once invoiced
    - `quotes[].invoiceIds` — array; required. 
      - `quotes[].invoiceIds[]` — string; optional. 
    - `quotes[].createdBy` — string or null; required. usr_…
    - `quotes[].createdAt` — string; required.  format: "date-time"
    - `quotes[].voidedAt` — string or null; required.  format: "date-time"
    - `quotes[].voidNote` — string or null; required. Staff's own words. Null without orders:amounts
- `nextBefore` — string or null; required. 

### void_quote

Withdraw an open quote: it keeps its number, its link shows it's no longer on offer, and a session it held goes back on sale. `note` is staff's own words, never shown to the guest. A quote already invoiced is refused: cancel its booking instead. Returns a preview to confirm.

Changes · Members of an organization · Needs invoices:write

#### Input

- `quoteId` — string; required. The quote's id, from list_quotes
- `note` — string; optional. Staff's own words, never shown to the guest minLength: 1; maxLength: 500

#### Output

- `quote` — object; required. 
  - `quote.id` — string; required. qte_…
  - `quote.number` — string; required. Q-0001
  - `quote.status` — string; required.  Allowed: "open", "invoiced", "void"
  - `quote.state` — string; required. open (sent, still valid), expired (past validUntil without being invoiced), invoiced (booked: see orderId), void Allowed: "open", "expired", "invoiced", "void"
  - `quote.product` — object; required. 
    - `quote.product.id` — string; required. 
    - `quote.product.name` — string; required. 
  - `quote.location` — object; required. 
    - `quote.location.id` — string; required. 
    - `quote.location.name` — string; required. 
    - `quote.location.timeZone` — string; required. 
  - `quote.session` — object; required. 
    - `quote.session.id` — string; required. 
    - `quote.session.startsAt` — string; required.  format: "date-time"
    - `quote.session.when` — string; required. In the location's time zone
  - `quote.partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
  - `quote.wholeSession` — boolean; required. Whether it takes the session whole (a private game or session)
  - `quote.currency` — string; required. 
  - `quote.total` — integer or null; required. With tax, as priced when it was made. Null without orders:amounts
  - `quote.totals` — object or null; required. As priced when it was made, a snapshot: invoicing prices it again and refuses a total that has moved. Null without orders:amounts
    - `quote.totals.currency` — string; required. 
    - `quote.totals.lines` — array; required. 
      - `quote.totals.lines[]` — one of: object, object, object, object; optional. A booking's tickets, extras, and fees; a gift certificate's order has only its gift_certificate line
        - `quote.totals.lines[] — object option 1` — object; optional. 
          - `quote.totals.lines[] — object option 1.kind` — string; required.  Value: "ticket\_type"
          - `quote.totals.lines[] — object option 1.ticketTypeId` — string; required. 
          - `quote.totals.lines[] — object option 1.name` — string; required. 
          - `quote.totals.lines[] — object option 1.quantity` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 1.unitAmount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 1.group` — object; optional. Only on a group option's line: the line is baseAmount plus unitAmount for each seat above includedSeats
            - `quote.totals.lines[] — object option 1.group.baseAmount` — integer; required. The base charge, covering includedSeats, before fees and tax minimum: -9007199254740991; maximum: 9007199254740991
            - `quote.totals.lines[] — object option 1.group.includedSeats` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 1.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 1.components` — array; optional. Only on a package whose price is split by tax class (a VIP ticket including a wine pairing): its parts, the ticket's own first, each taxed by its own class. Their amounts add up to the line's. Show them under the line
            - `quote.totals.lines[] — object option 1.components[]` — object; optional. 
              - `quote.totals.lines[] — object option 1.components[].addOnId` — string or null; required. The included add-on (prd_…) this part is; null for the ticket's own part, named for its product
              - `quote.totals.lines[] — object option 1.components[].name` — string; required. 
              - `quote.totals.lines[] — object option 1.components[].quantity` — integer; required. Units for the whole line (seats for the ticket's own part, seats times the units per seat for an add-on) minimum: -9007199254740991; maximum: 9007199254740991
              - `quote.totals.lines[] — object option 1.components[].amount` — integer; required. Its part of the line's amount, after discounts, before tax minimum: -9007199254740991; maximum: 9007199254740991
              - `quote.totals.lines[] — object option 1.components[].taxes` — array; optional. Its own taxes, by the add-on's tax class (the product's for the ticket's own part). Only on refunded lines
                - `quote.totals.lines[] — object option 1.components[].taxes[]` — object; optional. 
                  - `quote.totals.lines[] — object option 1.components[].taxes[].name` — string; required. 
                  - `quote.totals.lines[] — object option 1.components[].taxes[].ratePpm` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
                  - `quote.totals.lines[] — object option 1.components[].taxes[].amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.lines[] — object option 2` — object; optional. 
          - `quote.totals.lines[] — object option 2.kind` — string; required.  Value: "add\_on"
          - `quote.totals.lines[] — object option 2.addOnId` — string; required. The add-on (a product, prd_…)
          - `quote.totals.lines[] — object option 2.name` — string; required. 
          - `quote.totals.lines[] — object option 2.quantity` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 2.unitAmount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 2.menuChoiceId` — string or null; optional. The menu choice (mch_…) this line is the supplement of, for the guests who picked it; null for an add-on bought on its own. One add-on can have both lines in one order: label each by this, never by its add-on and quantity. Always present
          - `quote.totals.lines[] — object option 2.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.lines[] — object option 3` — object; optional. 
          - `quote.totals.lines[] — object option 3.kind` — string; required.  Value: "fee"
          - `quote.totals.lines[] — object option 3.feeId` — string; required. 
          - `quote.totals.lines[] — object option 3.name` — string; required. 
          - `quote.totals.lines[] — object option 3.ratePpm` — integer or null; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.lines[] — object option 3.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.lines[] — object option 4` — object; optional. 
          - `quote.totals.lines[] — object option 4.kind` — string; required.  Value: "gift\_certificate"
          - `quote.totals.lines[] — object option 4.name` — string; required. "Gift certificate", or the preset's name
          - `quote.totals.lines[] — object option 4.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.subtotal` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.fees` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.totalBeforeTax` — integer; required. Subtotal plus fees: the party's total as shown before tax minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.tax` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.total` — integer; required. The total with tax, what the guest pays minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.taxes` — array; required. 
      - `quote.totals.taxes[]` — object; optional. 
        - `quote.totals.taxes[].name` — string; required. 
        - `quote.totals.taxes[].ratePpm` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.taxes[].amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.taxes[].base` — integer; required. What this tax was charged on: the lines carrying this rate, after discounts, before tax. Less than the subtotal before tax when part of it (a service charge) isn't taxed minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.discount` — object or null; optional. The promo code on this hold or order and what it took off, before tax. Each line's `amount` and `subtotal` are already after it. Null without a code. Always present
      - `quote.totals.discount.code` — string; required. 
      - `quote.totals.discount.kind` — string; required.  Allowed: "amount\_off", "percent\_off", "set\_price", "waive\_service\_charge"
      - `quote.totals.discount.amount` — integer; required. What it took off, before tax: off the tickets and extras, or the fees a waive_service_charge code waived minimum: -9007199254740991; maximum: 9007199254740991
      - `quote.totals.discount.lines` — array; required. What it took off each line: this plus the line's own amount is what the line was before it. A waived fee has no line of its own in `lines` above
        - `quote.totals.discount.lines[]` — one of: object, object, object; optional. 
          - `quote.totals.discount.lines[] — object option 1` — object; optional. 
            - `quote.totals.discount.lines[] — object option 1.kind` — string; required.  Value: "ticket\_type"
            - `quote.totals.discount.lines[] — object option 1.ticketTypeId` — string; required. 
            - `quote.totals.discount.lines[] — object option 1.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.discount.lines[] — object option 2` — object; optional. 
            - `quote.totals.discount.lines[] — object option 2.kind` — string; required.  Value: "add\_on"
            - `quote.totals.discount.lines[] — object option 2.addOnId` — string; required. 
            - `quote.totals.discount.lines[] — object option 2.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
          - `quote.totals.discount.lines[] — object option 3` — object; optional. 
            - `quote.totals.discount.lines[] — object option 3.kind` — string; required.  Value: "fee"
            - `quote.totals.discount.lines[] — object option 3.feeId` — string; required. 
            - `quote.totals.discount.lines[] — object option 3.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
    - `quote.totals.storedValueDiscounts` — array; optional. Free value an order took off before tax, after the promo code, in the order given: a promotional gift certificate, or a goodwill or service recovery credit. Each line's `amount` and `subtotal` are already after it; show each as its own row before the fees and tax, like the promo code's. Never on a hold. Always present: empty when there's none
      - `quote.totals.storedValueDiscounts[]` — object; optional. 
        - `quote.totals.storedValueDiscounts[].source` — string; required.  Allowed: "gift\_certificate", "credit"
        - `quote.totals.storedValueDiscounts[].code` — string; required. Its code masked (•••• and its last 4)
        - `quote.totals.storedValueDiscounts[].amount` — integer; required. What it took off, before tax minimum: -9007199254740991; maximum: 9007199254740991
        - `quote.totals.storedValueDiscounts[].lines` — array; required. What it took off each line: this plus the line's own amount is what the line was before it
          - `quote.totals.storedValueDiscounts[].lines[]` — one of: object, object; optional. 
            - `quote.totals.storedValueDiscounts[].lines[] — object option 1` — object; optional. 
              - `quote.totals.storedValueDiscounts[].lines[] — object option 1.kind` — string; required.  Value: "ticket\_type"
              - `quote.totals.storedValueDiscounts[].lines[] — object option 1.ticketTypeId` — string; required. 
              - `quote.totals.storedValueDiscounts[].lines[] — object option 1.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
            - `quote.totals.storedValueDiscounts[].lines[] — object option 2` — object; optional. 
              - `quote.totals.storedValueDiscounts[].lines[] — object option 2.kind` — string; required.  Value: "add\_on"
              - `quote.totals.storedValueDiscounts[].lines[] — object option 2.addOnId` — string; required. 
              - `quote.totals.storedValueDiscounts[].lines[] — object option 2.amount` — integer; required. Minor units (cents) minimum: -9007199254740991; maximum: 9007199254740991
  - `quote.validUntil` — string; required.  format: "date-time"
  - `quote.holdDate` — boolean; required. 
  - `quote.holdsDate` — boolean; required. Whether it holds the session right now (holdDate, still open and valid)
  - `quote.billTo` — object; required. 
    - `quote.billTo.name` — string; required. The first name only, without customers:contact
    - `quote.billTo.company` — string or null; required. 
    - `quote.billTo.email` — string or null; required. 
    - `quote.billTo.phone` — string or null; required. 
    - `quote.billTo.address` — object or null; required. 
      - `quote.billTo.address.line1` — string; required.  minLength: 1
      - `quote.billTo.address.line2` — string; optional.  minLength: 1
      - `quote.billTo.address.city` — string; required.  minLength: 1
      - `quote.billTo.address.region` — string; required. Province or state code, e.g. ON minLength: 1
      - `quote.billTo.address.postalCode` — string; required.  minLength: 1
      - `quote.billTo.address.country` — string; required. ISO 3166-1 alpha-2, e.g. CA pattern: "^\[A-Z\]\{2\}$"
  - `quote.note` — string or null; required. Shown to the guest
  - `quote.orderId` — string or null; required. Once invoiced
  - `quote.invoiceIds` — array; required. 
    - `quote.invoiceIds[]` — string; optional. 
  - `quote.createdBy` — string or null; required. usr_…
  - `quote.createdAt` — string; required.  format: "date-time"
  - `quote.voidedAt` — string or null; required.  format: "date-time"
  - `quote.voidNote` — string or null; required. Staff's own words. Null without orders:amounts
