---
title: "Print documents in bulk"
description: "Starts a bulk PDF job for many invoices, quotes, credit notes or pro formas, as the Orders page bulk print / download does: pick documents by id or by the list filters, get one merged PDF (bundle) or a zip of single PDFs"
url: https://docs.invoicefalcon.com/v3-reference/documents/print-documents-in-bulk/
api: "API v3 reference"
method: POST
path: "/documents/bulk/print"
---

# Print documents in bulk

`POST https://app.invoicefalcon.com/api/v3/external/documents/bulk/print`

Starts a bulk PDF job for many invoices, quotes, credit notes or pro formas, as the Orders page bulk print / download does: pick documents by id or by the list filters, get one merged PDF (bundle) or a zip of single PDFs (separate). date_basis says what from / to mean: the day the document was created (invoice, default) or the day the Shopify order was placed (order; orders without an invoice get one). Returns 202 with a job id and expected_count, the number of documents (or orders) the job will hold; refuses with nothing_matches when that is 0. Poll [`GET /documents/bulk/:job_id`](https://docs.invoicefalcon.com/v3-reference/documents/retrieve-a-bulk-job/) for progress and the download link.

**Note:** Asynchronous: only one bulk job may run per shop at a time (429 bulk_action_in_progress). Limited to 5,000 documents. Free text search (q) is not supported here; use ids or date / status filters. An invoice is only created when its order is first opened, printed or sent, so for &quot;invoices for last week's orders&quot; use date_basis 'order'.

`document_type` values: `invoice` (Invoices), `quote` (Quotes), `credit_note` (Credit notes), `pro_forma` (Pro forma invoices).

`link` values: `linked` (Linked to a Shopify order), `not_linked` (Not linked to an order), `trashed` (In the trash).

`processing_type` values: `bundle` (One merged PDF), `separate` (A ZIP file of single PDFs).

`delivery_method` values: `download` (Download), `print` (Print).

`date_basis` values: `invoice` (Day the invoice was created), `order` (Day the order was placed).

## Request body

- `ids` (array of integers): Document ids to include (invoices, quotes, credit notes or pro formas). Without ids the filters below select the documents.
- `document_type` (string): Which documents when filtering: 'invoice' (default), 'quote', 'credit_note' or 'pro_forma'. One of: `invoice` (Invoices), `quote` (Quotes), `credit_note` (Credit notes), `pro_forma` (Pro forma invoices). One of: `invoice`, `quote`, `credit_note`, `pro_forma`.
- `date_basis` (string): What from / to match. 'invoice' (default): the day the document was created. 'order': the day the Shopify order was placed, as the Orders tab filters it; orders without an invoice get one. 'order' works with document_type 'invoice' only, at most one status, and link 'linked' or none. One of: `invoice` (Day the invoice was created), `order` (Day the order was placed). One of: `invoice`, `order`.
- `link` (string): 'linked' (created from a Shopify order), 'not_linked' (standalone) or 'trashed'. One of: `linked` (Linked to a Shopify order), `not_linked` (Not linked to an order), `trashed` (In the trash). One of: `linked`, `not_linked`, `trashed`.
- `processing_type` (string): 'bundle' (one merged PDF, default) or 'separate' (zip of single PDFs). One of: `bundle` (One merged PDF), `separate` (A ZIP file of single PDFs). One of: `bundle`, `separate`.
- `delivery_method` (string): 'download' (default) or 'print', as the dashboard distinguishes them. One of: `download` (Download), `print` (Print). One of: `print`, `download`.
- `status` (string): Shopify financial status of the order, one or many ('paid', 'pending').
- `from` (string): First day to include, YYYY-MM-DD in the shop time zone (a timestamp keeps only its date). The day the document was created, as the documents list filters it.
- `to` (string): Last day to include, YYYY-MM-DD in the shop time zone (a timestamp keeps only its date).
- `template_name` (string): Template to render with (default 'default': each document type's own default).

## Returns

- `job_id` (integer): e.g. `12`
- `status` (string): e.g. `pending`
- `count` (integer): e.g. `0`
- `kind` (string): e.g. `print`

Rate limit: this call costs 2 points ([rate limits](https://docs.invoicefalcon.com/v3/docs/api-v3/rate-limits/)).

## Examples

### One merged PDF of chosen invoices

```sh
curl -X POST "https://app.invoicefalcon.com/api/v3/external/documents/bulk/print" \
  -H "X-Auth-Token: $INVOICE_FALCON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ids": [
      48213,
      48190,
      48177
    ]
  }'
```

### Zip of the invoices for last week's orders

```sh
curl -X POST "https://app.invoicefalcon.com/api/v3/external/documents/bulk/print" \
  -H "X-Auth-Token: $INVOICE_FALCON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "date_basis": "order",
    "from": "2026-11-06",
    "to": "2026-11-12",
    "processing_type": "separate"
  }'
```

### Zip of last month's paid invoices

```sh
curl -X POST "https://app.invoicefalcon.com/api/v3/external/documents/bulk/print" \
  -H "X-Auth-Token: $INVOICE_FALCON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "paid",
    "from": "2026-02-01",
    "to": "2026-02-28",
    "processing_type": "separate",
    "template_name": "default"
  }'
```

### Zip of this month's credit notes

```sh
curl -X POST "https://app.invoicefalcon.com/api/v3/external/documents/bulk/print" \
  -H "X-Auth-Token: $INVOICE_FALCON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "document_type": "credit_note",
    "from": "2026-11-01",
    "to": "2026-11-30",
    "processing_type": "separate"
  }'
```

### Every quote not linked to an order

```sh
curl -X POST "https://app.invoicefalcon.com/api/v3/external/documents/bulk/print" \
  -H "X-Auth-Token: $INVOICE_FALCON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "document_type": "quote",
    "link": "not_linked"
  }'
```

## 200

The updated resource.

```json
{
  "job_id": 12,
  "status": "pending",
  "count": 0,
  "kind": "print"
}
```

## 202

Accepted: the job was queued. Poll the returned job id for progress.

```json
{
  "job_id": 12,
  "status": "pending",
  "count": 0,
  "kind": "print"
}
```

## 401

Missing or unknown `X-Auth-Token`, or the shop uninstalled the app.

```json
{
  "errors": [
    "Invalid API key"
  ],
  "code": "unauthorized"
}
```

## 403

`v3_required`: the shop still runs the previous dashboard. `paid_plan_required`: API access needs a paid plan.

```json
{
  "errors": [
    "API access requires a paid plan"
  ],
  "code": "paid_plan_required"
}
```

## 422

The request failed validation. Nothing was saved.

```json
{
  "errors": [
    "id is missing"
  ]
}
```

## 429

Rate limited: cost-weighted per key (reads cost less than writes). Wait `Retry-After` seconds; see `X-RateLimit-*` headers.

```json
{
  "errors": [
    "Rate limit exceeded"
  ],
  "code": "rate_limited"
}
```

