Nashboard Receipt OCR API

Upload and parse receipt images.

GitHub OpenAPI

Operations 5

POST /v1/receipts Upload a receipt image for asynchronous OCR #
GET /v1/receipts List receipts (keyset-paginated) #
GET /v1/receipts/{id} Retrieve a parsed receipt by ID #
DELETE /v1/receipts/{id} Erase a receipt (GDPR) #
POST /v1/receipts:parse Resolve pre-parsed line items to merchant and product graph #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nashboard-ai:nashboard-ai-receipt-ocr-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nashboard-ai-receipt-ocr-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nashboard B2B Receipt OCR API
  version: '2026-06-13'
  description: 'The Nashboard B2B API provides merchant enrichment, receipt OCR, and self-service account management for fintech developers. Base URL: https://api.nashboard.ai. Interactive docs: https://api.nashboard.ai/docs.


    ## Data sources & attribution


    The merchant reference corpus is built exclusively from openly licensed data:


    - **Overture Maps Places** — © Overture Maps Foundation and its data contributors. Licensed under CDLA Permissive 2.0 (only the CDLA-Permissive-2.0 subset is ingested).

    - **Foursquare Open Source Places (FSQ OS Places)** — © Foursquare. Licensed under the Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0).

    - **Wikidata** — released under CC0 1.0.

    - **AllThePlaces** and **GLEIF LEI** — released under CC0 1.0.


    No OpenStreetMap/ODbL or other share-alike data is included in API responses — share-alike rows are filtered out at the source-license layer, so API output is redistributable.'
  contact:
    url: https://nashboard.ai
    email: api@nashboard.ai
servers:
- url: https://api.nashboard.ai
security:
- apiKeyBearer: []
- apiKeyHeader: []
tags:
- name: Receipt OCR
  description: Upload and parse receipt images.
paths:
  /v1/receipts:
    post:
      operationId: uploadReceipt
      tags:
      - Receipt OCR
      summary: Upload a receipt image for asynchronous OCR
      description: 'Required scope: `receipts:write`. Accepts multipart/form-data with fields: `image` (JPEG/PNG/WebP, max 10 MB), `external_user_id` (required), `captured_at` (ISO-8601, optional), `currency_hint` (ISO 4217, optional), `locale` (BCP47, optional). Returns 202 with the receipt ID. Poll GET /v1/receipts/{id} or use webhooks for the parsed result.'
      parameters:
      - $ref: '#/components/parameters/NashboardVersion'
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - image
              - external_user_id
              properties:
                image:
                  type: string
                  format: binary
                  description: Receipt image file (JPEG/PNG/WebP, max 10 MB).
                external_user_id:
                  type: string
                  minLength: 1
                  maxLength: 200
                  description: Your end-user identifier.
                captured_at:
                  type: string
                  format: date-time
                  description: When the receipt was captured (ISO-8601 with offset).
                currency_hint:
                  type: string
                  pattern: ^[A-Z]{3}$
                  description: ISO 4217 currency hint.
                locale:
                  type: string
                  maxLength: 35
                  description: BCP47 locale hint.
              additionalProperties: false
      responses:
        '202':
          description: Receipt accepted and queued for OCR.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptQueued'
        '400':
          description: Bad request (invalid JSON, invalid ID, invalid cursor, etc.)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed, or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope or scope escalation attempt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. email already taken).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Request body too large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Unsupported media type.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request body failed schema validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited, quota exceeded, or DP budget exhausted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Upstream dependency error (e.g. receipt image storage unavailable — code storage_failure).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    get:
      operationId: listReceipts
      tags:
      - Receipt OCR
      summary: List receipts (keyset-paginated)
      description: 'Required scope: `receipts:read`. Returns a summary projection (no line items) ordered by created_at DESC. Supports `after` cursor, `limit` (1-100, default 20), and `status` filter.'
      parameters:
      - $ref: '#/components/parameters/NashboardVersion'
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      - name: after
        in: query
        required: false
        schema:
          type: string
          maxLength: 512
        description: Opaque keyset cursor returned in the previous page's next_cursor.
      - name: status
        in: query
        required: false
        schema:
          type: string
          enum:
          - queued
          - parsed
          - failed
        description: Filter by wire status.
      responses:
        '200':
          description: Paginated list of receipt summaries.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptList'
        '400':
          description: Bad request (invalid JSON, invalid ID, invalid cursor, etc.)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed, or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope or scope escalation attempt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. email already taken).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Request body too large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Unsupported media type.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request body failed schema validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited, quota exceeded, or DP budget exhausted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Upstream dependency error (e.g. receipt image storage unavailable — code storage_failure).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/receipts/{id}:
    get:
      operationId: getReceipt
      tags:
      - Receipt OCR
      summary: Retrieve a parsed receipt by ID
      description: 'Required scope: `receipts:read`. Poll after POST /v1/receipts at 500ms–1s intervals; stop when status is `parsed` or `failed` (30s ceiling). Includes line_items when parsed.'
      parameters:
      - $ref: '#/components/parameters/NashboardVersion'
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Receipt detail with line items.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptDetail'
        '400':
          description: Bad request (invalid JSON, invalid ID, invalid cursor, etc.)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed, or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope or scope escalation attempt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. email already taken).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Request body too large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Unsupported media type.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request body failed schema validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited, quota exceeded, or DP budget exhausted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Upstream dependency error (e.g. receipt image storage unavailable — code storage_failure).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      operationId: deleteReceipt
      tags:
      - Receipt OCR
      summary: Erase a receipt (GDPR)
      description: 'Required scope: `receipts:write`. Soft-deletes the receipt, scrubs OCR text (ocr_raw → {}), and schedules R2 image deletion. Idempotent on already-deleted.'
      parameters:
      - $ref: '#/components/parameters/NashboardVersion'
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: Receipt erased.
        '400':
          description: Bad request (invalid JSON, invalid ID, invalid cursor, etc.)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed, or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope or scope escalation attempt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. email already taken).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Request body too large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Unsupported media type.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request body failed schema validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited, quota exceeded, or DP budget exhausted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Upstream dependency error (e.g. receipt image storage unavailable — code storage_failure).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/receipts:parse:
    post:
      operationId: resolveReceiptLineItems
      tags:
      - Receipt OCR
      summary: Resolve pre-parsed line items to merchant and product graph
      description: '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.'
      parameters:
      - $ref: '#/components/parameters/NashboardVersion'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReceiptParseRequest'
      responses:
        '200':
          description: Per-line resolution results.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptParseResponse'
        '400':
          description: Bad request (invalid JSON, invalid ID, invalid cursor, etc.)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed, or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope or scope escalation attempt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. email already taken).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Request body too large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Unsupported media type.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request body failed schema validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited, quota exceeded, or DP budget exhausted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Upstream dependency error (e.g. receipt image storage unavailable — code storage_failure).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ReceiptSummary:
      type: object
      required:
      - id
      - status
      - currency
      - total_minor
      - captured_at
      - created_at
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
          - queued
          - parsed
          - failed
        currency:
          type: string
        total_minor:
          type: integer
        merchant_id:
          type: string
          format: uuid
          nullable: true
        captured_at:
          type: string
          format: date-time
        created_at:
          type: string
          format: date-time
      additionalProperties: false
    ReceiptParseResponse:
      type: object
      required:
      - resolved
      properties:
        resolved:
          type: array
          description: Per-line resolution results.
          items:
            type: object
            additionalProperties: true
      additionalProperties: false
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              enum:
              - missing_api_key
              - malformed_api_key
              - invalid_api_key
              - api_key_revoked
              - api_key_expired
              - insufficient_scope
              - scope_escalation
              - unsupported_version
              - rate_limited
              - quota_exceeded
              - dp_budget_exhausted
              - validation_failed
              - invalid_json
              - invalid_id
              - invalid_cursor
              - invalid_multipart
              - payload_too_large
              - unsupported_media_type
              - not_found
              - email_taken
              - internal_error
              - storage_failure
              description: Machine-readable error code.
            message:
              type: string
              description: Human-readable explanation.
            details:
              type: array
              description: Per-field validation errors (validation_failed only).
              items:
                type: object
                required:
                - path
                - message
                properties:
                  path:
                    type: string
                  message:
                    type: string
                additionalProperties: false
          additionalProperties: false
      additionalProperties: false
    ReceiptDetail:
      type: object
      required:
      - id
      - status
      - currency
      - total_minor
      - captured_at
      - ai_generated
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
          - queued
          - parsed
          - failed
        currency:
          type: string
        total_minor:
          type: integer
        subtotal_minor:
          type: integer
          nullable: true
        tax_minor:
          type: integer
          nullable: true
        tax_lines:
          type: object
          nullable: true
          additionalProperties: true
        service_charge_minor:
          type: integer
          nullable: true
        tip_minor:
          type: integer
          nullable: true
        payment_method:
          type: string
          nullable: true
        merchant_id:
          type: string
          format: uuid
          nullable: true
        merchant_confidence:
          type: number
          nullable: true
        captured_at:
          type: string
          format: date-time
        detected_langs:
          type: array
          nullable: true
          items:
            type: string
        extraction_confidence:
          type: number
          nullable: true
        product_links_status:
          type: string
          enum:
          - pending
          - ready
        needs_review:
          type: boolean
        failure_reason:
          type: string
          nullable: true
        ai_generated:
          type: boolean
          description: Always true (EU AI Act Art. 50 disclosure).
        line_items:
          type: array
          items:
            type: object
            properties:
              line_no:
                type: integer
              description:
                type: string
                nullable: true
              quantity:
                type: number
                nullable: true
              unit_price_minor:
                type: integer
                nullable: true
              total_minor:
                type: integer
                nullable: true
              gtin:
                type: string
                nullable: true
              product_global_id:
                type: string
                format: uuid
                nullable: true
              product_link_confidence:
                type: number
                nullable: true
            additionalProperties: true
      additionalProperties: true
    ReceiptQueued:
      type: object
      required:
      - id
      - status
      - created_at
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
          - queued
        created_at:
          type: string
          format: date-time
      additionalProperties: false
    ReceiptParseRequest:
      type: object
      required:
      - line_items
      properties:
        line_items:
          type: array
          maxItems: 50
          items:
            type: object
            required:
            - description
            properties:
              description:
                type: string
                minLength: 1
                maxLength: 500
              gtin:
                type: string
                pattern: ^\d{8,14}$
                description: GTIN barcode (8-14 digits).
            additionalProperties: false
        country_hint:
          type: string
          maxLength: 8
          description: ISO 3166-1 alpha-2 country hint.
      additionalProperties: false
    ReceiptList:
      type: object
      required:
      - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ReceiptSummary'
        next_cursor:
          type: string
          nullable: true
          description: Opaque keyset cursor for the next page; null on last page.
      additionalProperties: false
  parameters:
    NashboardVersion:
      name: X-Nashboard-Version
      in: header
      required: false
      schema:
        type: string
        enum:
        - '2026-06-13'
        default: '2026-06-13'
      description: API version pin (ISO date). Absent → latest. Unknown or future → 400 unsupported_version. The X-Amouen-Version header name is still accepted as a deprecated alias; when both are present, X-Nashboard-Version takes precedence.
  securitySchemes:
    apiKeyBearer:
      type: http
      scheme: bearer
      description: 'API key as a Bearer token: `Authorization: Bearer nsh_live_...`'
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'API key as a custom header: `X-API-Key: nsh_live_...`'