---
title: "Archive a batch of invoices by ID"
method: POST
path: "/crm/v3/objects/invoices/batch/archive"
tags: ["Batch"]
---

# Archive a batch of invoices by ID

`POST /crm/v3/objects/invoices/batch/archive`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/crm/v3/objects/invoices/batch/archive`
- Auth: none required

Archive multiple invoices by their IDs in a single request. This operation moves the specified invoices to the archive, making them inactive but retrievable for future reference.

## Request body

- BatchInputSimplePublicObjectId: Represents a batch input payload containing a list of simple public object IDs. This component is used when performing batch operations on multiple objects within HubSpot.
  - `inputs` SimplePublicObjectId[], required: An array of simple public object IDs to be processed in the batch operation.
    - `id` string, required: The unique ID of the object.

## Response `204`

No content

## Other responses

- `default`: An error occurred.

## Changes

- **2026-09-22** (v3) `ef368316f759`: 1 info
  - the endpoint scheme security `oauth2` was removed from the API
- **2026-09-02** (v3) `410aa1ba6776`: 1 info
  - endpoint added
- **2026-07-13** (v3) `ce41308fead5`: 1 breaking
  - api path removed without deprecation
- **2026-04-15** (v3) `d3f4dbdcb8fa`: 5 info
  - the endpoint scheme security `app_cookie` was removed from the API
  - the endpoint scheme security `hapikey` was removed from the API
  - the endpoint scheme security `internal_cookie` was removed from the API
  - the endpoint scheme security `private_apps` was removed from the API
  - …1 more
- **2026-04-09** (v3) `b92b52896300`: 5 info
  - api operation id `post-/crm/v3/objects/invoices/batch/archive` removed and replaced with `post-/crm/v3/objects/invoices/batch/archive_archive`
  - the endpoint scheme security `app_cookie` was added to the API
  - the endpoint scheme security `hapikey` was added to the API
  - the endpoint scheme security `internal_cookie` was added to the API
  - …1 more

[Operation history](https://skmtc.dev/hubspot/apis/crm-invoices/changes/crm/v3/objects/invoices/batch/archive/post.md)

---

[API](https://skmtc.dev/hubspot/apis/crm-invoices.md) - [All operations](https://skmtc.dev/hubspot/apis/crm-invoices/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/crm-invoices/revisions/e5358bab85b9?raw)
