---
description: Graphql fields and variables for the quoteUndo mutation
---

# quoteUndo

Undo the a quote after it has been applied

**Scope required:** standard:write

```graphql
mutation quoteUndo ($quoteId: ID!) {
  quoteUndo (quoteId: $quoteId) {
      errors
      invoices
      quote {
        acceptedByName
        acceptedByTitle
        accountId
        amount
        amountDue
        applicationDate
        applied
        applyOnAccept
        backdatedPeriods
        backdatedQuote
        billingDay
        contactId
        createdAt
        credits
        currencyId
        dealId
        discount
        discountValue
        documentTemplateId
        endDate
        evergreen
        expiresAt
        id
        invoiceImmediately
        invoiceImmediatelyAvailable
        invoiceUntil
        isPendingApprovalRequest
        message
        name
        netPaymentDays
        notes
        number
        ownerId
        payToAccept
        payableId
        periodAmount
        poNumber
        requiresApproval
        smallUnitAmountDue
        splitInvoice
        startDate
        subtotal
        taxAmount
        taxCode
        updatedAt
        uuid
        viewedAt
      }
      subscriptions
  }
}
```

## Arguments

```json
{
  "quoteId": "456123"
}
```

| Name    | Type | Description |
| ------- | ---- | ----------- |
| quoteId | ID   |             |

## Response

| Name          | Type                                                          | Description |
| ------------- | ------------------------------------------------------------- | ----------- |
| errors        | List (String)                                                 |             |
| invoices      | List ([Invoice](../../api-reference/types/invoice))           |             |
| quote         | [Quote](../../api-reference/types/quote)                      |             |
| subscriptions | List ([Subscription](../../api-reference/types/subscription)) |             |
