TAGGUN Receipt OCR Scanning API
  1. 1. Getting started
TAGGUN Receipt OCR Scanning API
  • 3. Improve your results
    • Add manually verified receipt data to a given receipt for feedback and training purposes
      POST
    • Add a keyword to your account's model to predict merchant name. Changes in your account's model are updated daily.
      POST
  • 4. Deprecated endpoints
    • detect and match a receipt against keywords and metadata by uploading an image file
      POST
    • transcribe a receipt in storage
      POST
    • transcribe a receipt in storage and return detailed result
      POST
  • 2. Try other input format endpoints
    • transcribe a receipt using base64 encoded image in json payload
      POST
    • transcribe a receipt from URL
      POST
    • transcribe a receipt using base64 encoded image in json payload and return detailed result
      POST
    • transcribe a receipt from URL and return detailed result
      POST
  • 1. Getting started
    • transcribe a receipt by uploading an image file
      POST
    • transcribe a receipt by uploading an image file and return detailed result
      POST
  1. 1. Getting started

transcribe a receipt by uploading an image file

POST
/api/receipt/v1/simple/file
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.taggun.io//api/receipt/v1/simple/file' \
--header 'apikey;'
Response Response Example
200 - Example 1
{
    "confidenceLevel": 0.7216666666666667,
    "date": {
        "confidenceLevel": 0.7216666666666667,
        "data": "2016-12-22T12:00:00.000Z"
    },
    "error": "string",
    "merchantAddress": {
        "confidenceLevel": 0.7216666666666667,
        "data": "2 Tapora St, Auckland, 1010, New Zealand"
    },
    "merchantCity": {
        "confidenceLevel": 0.7216666666666667,
        "data": "Auckland"
    },
    "merchantCountryCode": {
        "confidenceLevel": 0.7216666666666667,
        "data": "NZ"
    },
    "merchantName": {
        "confidenceLevel": 0.7216666666666667,
        "data": "Adina Apartment Hotel Auckland Britomart"
    },
    "merchantPostalCode": {
        "confidenceLevel": 0.7216666666666667,
        "data": "5001"
    },
    "merchantState": {
        "confidenceLevel": 0.7216666666666667,
        "data": "Auckland"
    },
    "merchantTypes": {
        "confidenceLevel": 0.7216666666666667,
        "data": [
            "restaurant",
            "food"
        ]
    },
    "taxAmount": {
        "confidenceLevel": 0.7216666666666667,
        "data": 3.04
    },
    "totalAmount": {
        "confidenceLevel": 0.7216666666666667,
        "data": 23.3
    }
}

Request

Header Params

Body Params multipart/form-data

Responses

🟢200Success
application/json
Body

🟠400Bad Request
Modified at 2022-09-11 13:29:45
Previous
transcribe a receipt from URL and return detailed result
Next
transcribe a receipt by uploading an image file and return detailed result
Built with