---
title: "Extract data from multiple receipts (batch)"
method: POST
path: "/api/receipts/extract-batch"
tags: ["Receipts"]
---

# Extract data from multiple receipts (batch)

`POST /api/receipts/extract-batch`

## Request

- Base URL: `https://api.dokmatiq.com`
- URL: `https://api.dokmatiq.com/api/receipts/extract-batch`
- Auth: API key in header `X-API-Key`

Processes multiple receipt images in parallel and returns all extraction results.
Ideal for expense reports where multiple receipts need to be processed at once.

Maximum 20 files per batch. Each file is processed independently — a failure in one file does not affect others.

Each file in the batch consumes AI credits independently.

## Response `200`

Batch extraction results

## Other responses

- `400`: No files uploaded or too many files
- `500`: Batch processing failed

---

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