# extractreceiptdata: Receipt Parser – Extract Receipt Data

> extractreceiptdata (Receipt Parser – Extract Receipt Data) is a 1001fx API function in the group Images: POST https://api.1001fx.com/images/extractreceiptdata, 13 credits per item. It works as a ready-made module in Make or as a plain HTTP call.

Reads a receipt (photo, scan or PDF) into fixed fields: receipt number, date, time, merchant with VAT ID, currency, net, tax and total amounts, payment method and items. Missing values come back as null. Works with scanned documents, photos, tables and handwriting. Processed in the EU by Mistral AI (no training on your data). Charged per page (13 credits), at most 8 pages per call.

- Group: Images
- Endpoint: `POST https://api.1001fx.com/images/extractreceiptdata`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: multipart/form-data
- Credits: 13 credits per item
- Ready-made in: Make
- Service provider: Mistral
- Docs: https://1001fx.com/functions/extractreceiptdata

## Parameters

- `file` (file, optional) – File: The receipt (PDF or image) to read. Either file or fileUrl.
- `fileUrl` (string, optional) – File URL: Public URL of the receipt (PDF or image). Either file or fileUrl.
- `pages` (string, optional) – Pages: Pages to read, e.g. 1-3,7 (first page = 1). At most 8 pages per call; without it all pages (documents up to 8 pages).

## Example: Receipt Parser

```bash
curl -X POST 'https://api.1001fx.com/images/extractreceiptdata' \
  -H 'X-API-KEY: YOURSECRETAPIKEY'
```
