TAGGUN Receipt OCR Scanning API
  1. 2. Try other input format endpoints
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
  • Schemas
    • Schemas
      • ABN
      • IBAN
      • LocationResult
      • Model1
      • Model2
      • Model3
      • Model4
      • Model5
      • Model6
      • Model7
      • Model8
      • Result
      • badRequestError
      • belgiumVATNumbers
      • data
      • data1
      • data2
      • data3
      • date
      • date1
      • entities
      • excludeItems
      • fapiaoInvoice
      • fapiaoInvoiceCode
      • fapiaoInvoiceNumber
      • fapiaoMerchantTaxId
      • geoNames
      • grossAmount
      • headers
      • invoiceNumber
      • itemsCount
      • jsonPayload
      • lineAmounts
      • lineItems
      • location
      • match
      • merchantAddress
      • merchantAddress1
      • merchantCity
      • merchantCity1
      • merchantCountryCode
      • merchantCountryCode1
      • merchantName
      • merchantName1
      • merchantNameAddPayload
      • merchantPostalCode
      • merchantPostalCode1
      • merchantState
      • merchantTypes
      • merchantTypes1
      • merchantVerification
      • metadata_type
      • multiTaxLineItems
      • netAmount
      • paymentType
      • productName
      • qrCodeData
      • quantity
      • receiptFeedbackAddPayload
      • receiptMatchResult
      • receiptNumber
      • receiptResult
      • receiptVerboseResult
      • regions
      • shoppingMallName
      • storagePayload
      • taxAmount
      • taxAmount1
      • taxAmount2
      • taxRate
      • taxType
      • text
      • totalAmount
      • totalAmount1
      • unitPrice
      • unitPrice1
      • urlPayload
      • vies
      • wineListItems
      • wineVarietal
  1. 2. Try other input format endpoints

transcribe a receipt from URL

POST
/api/receipt/v1/simple/url

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.taggun.io//api/receipt/v1/simple/url' \
--header 'apikey;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "extractTime": false,
    "headers": {
        "x-custom-key": "string"
    },
    "ignoreMerchantName": "string",
    "incognito": false,
    "ipAddress": "32.4.2.223",
    "language": "en",
    "near": "Kalamazoo, MI, USA",
    "referenceId": "string",
    "refresh": false,
    "subAccountId": "string",
    "url": "https://www.taggun.io/api/receipt/v1/benchmark/download/be17cfba5acae69032b7856fd89f4286"
}'
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
    }
}
Modified at 2022-09-11 13:29:45
Previous
transcribe a receipt using base64 encoded image in json payload
Next
transcribe a receipt using base64 encoded image in json payload and return detailed result
Built with