---
title: "Receipt OCR Result"
method: GET
path: "/v2/ocr/receipt/result"
tags: ["ocr"]
---

# Receipt OCR Result

`GET /v2/ocr/receipt/result`

Retrieves result of the Receipt OCR data extraction

## Query parameters

- `task_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

success, the list in Data is service.MappedReceiptOCRData

- object
  - `code` integer — 0=success，only parse data when code=0
  - `data` object — real data
    - `items_breakdown` BluenteInternalPkgReceiptocrReceiptItem[]
      - `category` string — Item category Applicable for: ReceiptTypeHotel
      - `date` string — Item date Applicable for: ReceiptTypeHotel
      - `description` string — Item description Applicable for: ReceiptTypeGeneric, ReceiptTypeRetailMeal, ReceiptTypeCreditCard, ReceiptTypeGas, ReceiptTypeParking, ReceiptTypeHotel
      - `price` number — Individual price of each item unit Applicable for: ReceiptTypeGeneric, ReceiptTypeRetailMeal, ReceiptTypeCreditCard, ReceiptTypeGas, ReceiptTypeParking
      - `productCode` string — Product code, product number, or SKU associated with the specific line item Applicable for: ReceiptTypeGeneric, ReceiptTypeRetailMeal, ReceiptTypeCreditCard, ReceiptTypeGas, ReceiptTypeParking
      - `quantity` number — Quantity of each item Applicable for: ReceiptTypeGeneric, ReceiptTypeRetailMeal, ReceiptTypeCreditCard, ReceiptTypeGas, ReceiptTypeParking
      - `quantityUnit` string — Quantity unit of each item Applicable for: ReceiptTypeGeneric, ReceiptTypeRetailMeal, ReceiptTypeCreditCard, ReceiptTypeGas, ReceiptTypeParking
      - `totalPrice` number — Total price of line item Applicable for: ReceiptTypeGeneric, ReceiptTypeRetailMeal, ReceiptTypeCreditCard, ReceiptTypeGas, ReceiptTypeParking, ReceiptTypeHotel
    - `receipt_details` BluenteInternalPkgReceiptocrReceiptDetails
      - `arrivalDate` string
      - `country` string
      - `currency` string
      - `departureDate` string
      - `invoiceNumber` string
      - `merchantAddress` BluenteInternalPkgReceiptocrAddressValue
        - `city` string — Name of city, town, village, etc.
        - `cityDistrict` string — Districts or boroughs within a city, such as Brooklyn in New York City or City of Westminster in London.
        - `countryRegion` string — Country/region.
        - `house` string — Build name, such as World Trade Center.
        - `houseNumber` string — House or building number.
        - `level` string — Floor number, such as 3F.
        - `poBox` string — Post office box number.
        - `postalCode` string — Postal code used for mail sorting.
        - `road` string — Street name.
        - `state` string — First-level administrative division.
        - `stateDistrict` string — Second-level administrative division used in certain locales.
        - `streetAddress` string — Street-level address, excluding city, state, countryRegion, and postalCode.
        - `suburb` string — Unofficial neighborhood name, like Chinatown.
        - `unit` string — Apartment or office number
      - `merchantAliases` string[]
      - `merchantName` string
      - `merchantPhoneNumber` string
      - `subtotal` number
      - `taxDetails` BluenteInternalPkgReceiptocrCurrencyValue[]
        - `amount` number — Currency amount.
        - `currencyCode` string — Resolved currency code (ISO 4217), if any.
        - `currencySymbol` string — Currency symbol label, if any.
      - `tip` number
      - `total` number
      - `totalTax` number
      - `transactionDate` string
      - `transactionTime` string
    - `receipt_type` 'Receipt' | 'receipt' | 'receipt.retailMeal' | 'receipt.creditCard' | 'receipt.gas' | 'receipt.parking' | 'receipt.hotel'
  - `message` string — tip message

---

[API](https://skmtc.net/bluente/apis/bluente-api.md) · [All operations](https://skmtc.net/bluente/apis/bluente-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bluente/bluente-api/revisions/5c90e58bf672/schema)
