> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# taxIdDelete

> Remove a saved tax ID, so customs no longer uses it on international return labels, and return it with its number masked. Returns null if no tax ID with that id is saved for the store.

**Required scopes:** [`returns_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-returns_write)

**Store must have one of:** `RETURNS`, `PACKAGE_PROTECTION`, `OMS`, `WARRANTIES`, `RECYCLING`, `WITHDRAWALS`

## Arguments

**id** `ID!` *required*

The `id` of the tax ID to remove.

## Returns

**taxIdDelete** `[TaxId](/docs/api-reference/v3/reference/returns/tax-id)`

A tax ID the store has saved for customs to use on its international return labels. The number is always masked.

**fields**

**id** `ID!` *required*

Pass this to `taxIdDelete` to remove the tax ID.

**issuingAuthority** `String!` *required*

Two-letter ISO country code of the country that issued the number.

**nickname** `String!` *required*

The store's name for this tax ID.

**redactedNumber** `String!` *required*

The number with all but its first and last character masked. The full number is never returned.

**type** `[TaxIdType!](/docs/api-reference/v3/reference/returns/tax-id-type)` *required*

The kind of tax ID.

## Example

```graphql theme={null}
mutation {
  taxIdDelete(id: "...") {
    id
    issuingAuthority
    nickname
    redactedNumber
    type
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.