📘

Response Definitions

For Response Definitions, visit Data Feilds That Taggun Extracts

Example Request

curl --request POST \
     --url https://api.taggun.io/api/receipt/v1/simple/encoded \
     --header 'accept: application/json' \
     --header 'apikey: 12345678abcd1234efgh567890abcdef' \
     --header 'content-type: application/json' \
     --data '
{
  "extractTime": false,
  "refresh": false,
  "incognito": false,
  "image": "example-file.png",
  "filename": "example-file-name",
  "contentType": "image/jpeg"
}
'

example-file.png:

























Example Response

ℹ️

Important Notes

  • Region-specific data (X-Y) has been removed for readability.
{
  "totalAmount": {
    "data": 14.42,
    "confidenceLevel": 0.9199999999999999
  },
  "taxAmount": {
    "data": 0.82,
    "confidenceLevel": 0.9199999999999999
  },
  "confidenceLevel": 0.898,
  "date": {
    "data": "2024-09-25T12:00:00.000Z",
    "confidenceLevel": 0.9199999999999999
  },
  "merchantName": {
    "data": "CHIPOTLE MEXICAN GRILL",
    "confidenceLevel": 0.8100000000000002
  },
  "merchantAddress": {
    "data": "702 E Boise Ave, Boise, Idaho, 83706",
    "confidenceLevel": 0.99
  },
  "merchantCity": {
    "data": "Boise",
    "confidenceLevel": 0.99
  },
  "merchantState": {
    "data": "Ada County, Idaho",
    "confidenceLevel": 0.99
  },
  "merchantCountryCode": {
    "data": "US",
    "confidenceLevel": 0.99
  },
  "merchantPostalCode": {
    "data": "83706",
    "confidenceLevel": 0.99
  },
  "merchantTypes": {
    "confidenceLevel": 0
  }
}