---
title: "Resolve pre-parsed line items to merchant and product graph"
method: POST
path: "/v1/receipts:parse"
tags: ["Receipt OCR"]
---

# Resolve pre-parsed line items to merchant and product graph

`POST /v1/receipts:parse`

## Request

- Base URL: `https://api.nashboard.ai`
- URL: `https://api.nashboard.ai/v1/receipts:parse`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Required scope: `receipts:resolve`. Stateless — no image upload, no OCR. Accepts caller-supplied line items (from Apple Vision, Veryfi, Mindee, etc.) and returns merchant + product_global_id per line. Billed per request, not per line.

## Headers

- `X-Nashboard-Version` '2026-06-13'

## Request body

- ReceiptParseRequest
  - `line_items` object[], required
    - `description` string, required
    - `gtin` string: GTIN barcode (8-14 digits).
  - `country_hint` string: ISO 3166-1 alpha-2 country hint.

## Response `200`

Per-line resolution results.

- ReceiptParseResponse
  - `resolved` object[], required: Per-line resolution results.

## Other responses

- `400`: Bad request (invalid JSON, invalid ID, invalid cursor, etc.)
- `401`: Missing, malformed, or invalid API key.
- `403`: Insufficient scope or scope escalation attempt.
- `404`: Resource not found.
- `409`: Conflict (e.g. email already taken).
- `413`: Request body too large.
- `415`: Unsupported media type.
- `422`: Request body failed schema validation.
- `429`: Rate limited, quota exceeded, or DP budget exhausted.
- `500`: Internal server error.
- `502`: Upstream dependency error (e.g. receipt image storage unavailable — code storage_failure).

---

[API](https://skmtc.dev/nashboard/apis/nashboard-b2b-api.md) · [All operations](https://skmtc.dev/nashboard/apis/nashboard-b2b-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nashboard/apis/nashboard-b2b-api/revisions/a51f5ab22ec5?raw)
