> For the complete documentation index, see [/llms.txt](/llms.txt).

> Source: /api/information-extraction/prebuilt-extraction

# Prebuilt extraction API

> Deprecation notice
>
> Prebuilt Information Extraction was deprecated on May 6, 2026. Please use [Universal extraction](/docs/capabilities/extract/universal-extraction) instead.

OpenAPI spec: `"./openapi/openapi-extraction-receipt.yaml"`

- `POST /information-extraction`

## Available document types

- [Receipt](../../docs/capabilities/extract/prebuilt-extraction#receipt)
- [Air waybill](../../docs/capabilities/extract/prebuilt-extraction/#logistics-documents)
- [Bill of lading](../../docs/capabilities/extract/prebuilt-extraction/#logistics-documents)
- [Shipping request](../../docs/capabilities/extract/prebuilt-extraction/#logistics-documents)
- [Commercial invoice](../../docs/capabilities/extract/prebuilt-extraction/#logistics-documents)
- [Packing list](../../docs/capabilities/extract/prebuilt-extraction/#logistics-documents)
- [Export declaration certificate(KR)](../../docs/capabilities/extract/prebuilt-extraction/#logistics-documents)

### Response

**Functionality overview**

- **Unknown characters:** Characters that the model detects but cannot recognize are considered "unknown characters" and are marked by the character `�`.
- **Response time:** Files with less than 30 words typically take approximately three seconds. Longer documents can take up to tens of seconds.
- **Timeout:** There is a server-side 3 minute timeout for all requests.

**Return values**

<table><tbody><tr><td><strong>mimeType</strong> string <br />The MIME type of the input file (e.g., "multipart/form-data").</td></tr><tr><td><strong>documentType</strong> string <br />The document type of the input file (e.g., "receipt").</td></tr><tr><td><strong>fields</strong> list <br />A list of field objects containing information about the extracted key-value pairs, their types, values, and confidence scores.</td></tr><tr><td><strong>\*.key</strong> string <br />The key name of the extracted field.</td></tr><tr><td><strong>\*.type</strong> string <br />The data type of the extracted field (e.g., "date", "monetary\_usd")</td></tr><tr><td><strong>\*.value</strong> string <br />The extracted value of the field.</td></tr><tr><td><strong>\*.confidence</strong> float <br />A float value between 0 and 1, representing the confidence score for the value's extraction. A higher value indicates greater confidence in the accuracy of the field.</td></tr><tr><td><strong>\*.id</strong> integer <br />The unique identifier for the field.</td></tr><tr><td><strong>\*.refinedValue</strong> string <br />(Optional) A refined version of the extracted value (e.g., a standardized date format).</td></tr><tr><td><strong>\*.properties</strong> list <br />(Optional) A list of field objects containing information about the subfields within a group. Different indexes represent different groups. Each group contains subfields with their types, values, and confidence scores.</td></tr><tr><td><strong>stored</strong> boolean <br />A boolean indicating whether the input was stored. If true, the data has been stored. If false the data has been discarded instantly.</td></tr><tr><td><strong>modelVersion</strong> string <br />A string representing the version of the model being used.</td></tr><tr><td><strong>apiVersion</strong> string <br />A string representing the version of the API being used. A bump in the major version indicates a backward-incompatible update, while a minor version increase signifies a backward-compatible update.</td></tr><tr><td><strong>numBilledPages</strong> integer <br />The total count of pages in the input file that have been processed and are chargeable.</td></tr><tr><td><strong>metadata</strong> object<br /> An object containing metadata about a document, such as page size and page numbers.</td></tr></tbody></table>

## Example

### Request

<figure>

![receipt.jpg](/assets/images/docs/receipt.jpg)

<figcaption>receipt.jpg</figcaption>

</figure>

_Request/response examples: prebuilt-information-extraction / request_

### Response

_Example: prebuilt-information-extraction / response-200 / default_