---
title: "Reset the collection preferences for an invoice"
method: DELETE
path: "/invoices/{invoiceId}/collection_preferences"
tags: ["Invoices"]
---

# Reset the collection preferences for an invoice

`DELETE /invoices/{invoiceId}/collection_preferences`

## Request

- Base URL: `https://api.adfin.com/api`
- URL: `https://api.adfin.com/api/invoices/{invoiceId}/collection_preferences`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.staging.adfin.com/api/oauth2/token`
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.adfin.com/api/oauth2/token`

Clears every override, not only these settings, including any set by Adfin or in the Adfin app. To turn a single setting off, PATCH it with an `enabled` of `false` instead. A pause set with `:pause_collection` survives.

## Path parameters

- `invoiceId` string, uuid, required

## Response `204`

The overrides held against the invoice are cleared. An invoice that holds none is left as it is.

## Other responses

- `400`: The identifier in the path is not a valid UUID.
- `401`: The request carried no valid access token.
- `403`: The access token does not grant updating invoices.
- `404`: There is no invoice with that identifier.
- `500`: The server could not process the request.

## Changes

- **2026-09-10** `538c9ec3d4d4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/adfin/apis/adfin-api/changes/invoices/:invoiceId/collection_preferences/delete.md)

---

[API](https://skmtc.dev/adfin/apis/adfin-api.md) - [All operations](https://skmtc.dev/adfin/apis/adfin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/adfin/apis/adfin-api/revisions/3bcc12f59ff0?raw)
