TAGGUN Receipt OCR Scanning (Independent Publisher)

TAGGUN Receipt OCR Scanning makes it easy for users to bring to life meaningful projects with receipt OCR. The idea is to scan receipt images and digitalize them into structured data that other software can understand. Expects only running software, real reactions, and beautifully crafted backend services to serve your every desire to transcribe a piece of paper to digital form.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Amjed Ayoub
URL https://amjedayoub.github.io/portfolio
Email [email protected]
Connector Metadata
Publisher Amjed Ayoub
Website https://www.taggun.io
Privacy policy https://www.taggun.io/privacy
Categories Data;Productivity

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key securestring The API Key for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Add a keyword to your account's model

Add a keyword to your account's model to predict merchant name. Changes in your account's model are updated daily.

Detect and match a receipt with image file

Detect and match a receipt against keywords and metadata by uploading an image file.

Manually verified receipt data

Add manually verified receipt data to a given receipt for feedback and training purposes.

Transcribe a receipt by Image file

Transcribe a receipt by uploading an image file.

Transcribe a receipt from URL

Transcribe a receipt from URL.

Transcribe a receipt from URL with results

Transcribe a receipt from URL and return detailed result.

Transcribe a receipt using base64 encoded image

Transcribe a receipt using base64 encoded image in json payload and return detailed result.

Transcribe a receipt with an image file with results

Transcribe a receipt by uploading an image file and return detailed result.

Transcribe a receipt with Base64

Transcribe a receipt using base64 encoded image in json payload.

Add a keyword to your account's model

Add a keyword to your account's model to predict merchant name. Changes in your account's model are updated daily.

Parameters

Name Key Required Type Description
API key
apikey True string

API authentication key.

merchantName
merchantName True string

Returns

Body
Result

Detect and match a receipt with image file

Detect and match a receipt against keywords and metadata by uploading an image file.

Parameters

Name Key Required Type Description
API key
apikey True string

API authentication key.

Image file
file file

file less than 20MB. Accepted file types: PDF, JPG, PNG, GIF, HEIC.

Saving the receipt in storage
incognito boolean

Set true to avoid saving the receipt in storage

IP Address
ipAddress string

IP Address of the end user

Geo Location
near string

A geo location to search for merchant. Typically in the format of city, state, country.

CampaignID
campaignId True string

The ID of the campaign to validate the receipt

Reference ID
referenceId string

Tag a request with a unique reference ID for feedback and training purposes

Returns

response
string

Manually verified receipt data

Add manually verified receipt data to a given receipt for feedback and training purposes.

Parameters

Name Key Required Type Description
API key
apikey True string

API authentication key.

referenceId
referenceId True string
totalAmount
totalAmount number
taxAmount
taxAmount number
merchantName
merchantName string
currencyCode
currencyCode string
date
date date-time
masterCategory
masterCategory string

Returns

Body
Result

Transcribe a receipt by Image file

Transcribe a receipt by uploading an image file.

Parameters

Name Key Required Type Description
API key
apikey True string

API authentication key.

Image file
file file

file less than 20MB. Accepted file types: PDF, JPG, PNG, GIF, HEIC.

Force Image ranscription
refresh boolean

Set true to force re-process image transcription if the receipt is already in storage.

Saving the receipt in storage
incognito boolean

Set true to avoid saving the receipt in storage

IP Address
ipAddress string

IP Address of the end user

Geo Location
near string

A geo location to search for merchant. Typically in the format of city, state, country.

Ignore Merchant Name
ignoreMerchantName string

Ignore this merchant name if detected on the receipt. Use this field to avoid detecting the customer name as the merchant name.

Language
language string

Set language as a hint. Leave empty for auto detect. Supported languages: , en, es, fr, jp, he, iw, et, lv, lt, fi, el, zh

Extract Time
extractTime boolean

Set true to return time if found on the receipt. Otherwise, the time is always set to 12:00:00.000.

Sub Account ID
subAccountId string

Tag a request with sub-account ID for billing purposes

Reference ID
referenceId string

Tag a request with a unique reference ID for feedback and training purposes

Returns

Transcribe a receipt from URL

Transcribe a receipt from URL.

Parameters

Name Key Required Type Description
API key
apikey True string

API authentication key.

url
url True string

The target URL that contains a receipt file. Only https protocol is accepted.

x-custom-key
x-custom-key string
refresh
refresh boolean

Set true to force re-process image transcription if the receipt is already in storage

incognito
incognito boolean

Set true to avoid saving the receipt in storage

ipAddress
ipAddress string

IP Address of the end user

near
near string

A geo location to search for merchant. Typically in the format of city, state, country.

ignoreMerchantName
ignoreMerchantName string

Ignore this merchant name if detected on the receipt. Use this field to avoid detecting the customer name as the merchant name.

language
language string

Set language as a hint. Leave empty for auto detect. Supported languages: , en, es, fr, jp, he, iw, et, lv, lt, fi, el, zh

extractTime
extractTime boolean

Set true to return time if found on the receipt. Otherwise, the time is always set to 12:00:00.000.

subAccountId
subAccountId string

Tag a request with sub-account ID for billing purposes

referenceId
referenceId string

Tag a request with a unique reference ID for feedback and training purposes

Returns

Transcribe a receipt from URL with results

Transcribe a receipt from URL and return detailed result.

Parameters

Name Key Required Type Description
API key
apikey True string

API authentication key.

url
url True string

The target URL that contains a receipt file. Only https protocol is accepted.

x-custom-key
x-custom-key string
refresh
refresh boolean

Set true to force re-process image transcription if the receipt is already in storage

incognito
incognito boolean

Set true to avoid saving the receipt in storage

ipAddress
ipAddress string

IP Address of the end user

near
near string

A geo location to search for merchant. Typically in the format of city, state, country.

ignoreMerchantName
ignoreMerchantName string

Ignore this merchant name if detected on the receipt. Use this field to avoid detecting the customer name as the merchant name.

language
language string

Set language as a hint. Leave empty for auto detect. Supported languages: , en, es, fr, jp, he, iw, et, lv, lt, fi, el, zh

extractTime
extractTime boolean

Set true to return time if found on the receipt. Otherwise, the time is always set to 12:00:00.000.

subAccountId
subAccountId string

Tag a request with sub-account ID for billing purposes

referenceId
referenceId string

Tag a request with a unique reference ID for feedback and training purposes

Returns

Transcribe a receipt using base64 encoded image

Transcribe a receipt using base64 encoded image in json payload and return detailed result.

Parameters

Name Key Required Type Description
API key
apikey True string

API authentication key.

image
image True string
filename
filename True string
contentType
contentType True string
refresh
refresh boolean

Set true to force re-process image transcription if the receipt is already in storage

incognito
incognito boolean

Set true to avoid saving the receipt in storage

ipAddress
ipAddress string

IP Address of the end user

near
near string

A geo location to search for merchant. Typically in the format of city, state, country.

ignoreMerchantName
ignoreMerchantName string

Ignore this merchant name if detected on the receipt. Use this field to avoid detecting the customer name as the merchant name.

language
language string

Set language as a hint. Leave empty for auto detect. Supported languages: , en, es, fr, jp, he, iw, et, lv, lt, fi, el, zh

extractTime
extractTime boolean

Set true to return time if found on the receipt. Otherwise, the time is always set to 12:00:00.000.

subAccountId
subAccountId string

Tag a request with sub-account ID for billing purposes

referenceId
referenceId string

Tag a request with a unique reference ID for feedback and training purposes

Returns

Transcribe a receipt with an image file with results

Transcribe a receipt by uploading an image file and return detailed result.

Parameters

Name Key Required Type Description
API key
apikey True string

API authentication key.

Image file
file file

file less than 20MB. Accepted file types: PDF, JPG, PNG, GIF, HEIC.

Force Image Transcription
refresh boolean

Set true to force re-process image transcription if the receipt is already in storage.

Saving the receipt in storage
incognito boolean

Set true to avoid saving the receipt in storage

IP Address
ipAddress string

IP Address of the end user

Geo Location
near string

A geo location to search for merchant. Typically in the format of city, state, country.

Ignore Merchant Name
ignoreMerchantName string

Ignore this merchant name if detected on the receipt. Use this field to avoid detecting the customer name as the merchant name.

Language
language string

Set language as a hint. Leave empty for auto detect. Supported languages: , en, es, fr, jp, he, iw, et, lv, lt, fi, el, zh

Extract Time
extractTime boolean

Set true to return time if found on the receipt. Otherwise, the time is always set to 12:00:00.000.

Sub Account ID
subAccountId string

Tag a request with sub-account ID for billing purposes

Reference ID
referenceId string

Tag a request with a unique reference ID for feedback and training purposes

Returns

Transcribe a receipt with Base64

Transcribe a receipt using base64 encoded image in json payload.

Parameters

Name Key Required Type Description
API key
apikey True string

API authentication key.

image
image True string
filename
filename True string
contentType
contentType True string
refresh
refresh boolean

Set true to force re-process image transcription if the receipt is already in storage

incognito
incognito boolean

Set true to avoid saving the receipt in storage

ipAddress
ipAddress string

IP Address of the end user

near
near string

A geo location to search for merchant. Typically in the format of city, state, country.

ignoreMerchantName
ignoreMerchantName string

Ignore this merchant name if detected on the receipt. Use this field to avoid detecting the customer name as the merchant name.

language
language string

Set language as a hint. Leave empty for auto detect. Supported languages: , en, es, fr, jp, he, iw, et, lv, lt, fi, el, zh

extractTime
extractTime boolean

Set true to return time if found on the receipt. Otherwise, the time is always set to 12:00:00.000.

subAccountId
subAccountId string

Tag a request with sub-account ID for billing purposes

referenceId
referenceId string

Tag a request with a unique reference ID for feedback and training purposes

Returns

Definitions

Result

Name Path Type Description
result
result string

Model1

Name Path Type Description
x
x number
y
y number

Model2

Name Path Type Description
Items
Model1

regions

Name Path Type Description
Items
Model2

date

Name Path Type Description
data
data date-time
index
index number
text
text string
confidenceLevel
confidenceLevel number
regions
regions regions

totalAmount

Name Path Type Description
data
data number
confidenceLevel
confidenceLevel number

taxAmount

Name Path Type Description
data
data number
confidenceLevel
confidenceLevel number

date1

Name Path Type Description
data
data date-time
confidenceLevel
confidenceLevel number

merchantName

Name Path Type Description
data
data string
confidenceLevel
confidenceLevel number

merchantAddress

Name Path Type Description
data
data string
confidenceLevel
confidenceLevel number

merchantCity

Name Path Type Description
data
data string
confidenceLevel
confidenceLevel number

merchantCountryCode

Name Path Type Description
data
data string
confidenceLevel
confidenceLevel number

merchantPostalCode

Name Path Type Description
data
data string
confidenceLevel
confidenceLevel number

data

Name Path Type Description
Items
string

merchantTypes

Name Path Type Description
data
data data
confidenceLevel
confidenceLevel number

receiptResult

Name Path Type Description
totalAmount
totalAmount totalAmount
taxAmount
taxAmount taxAmount
date
date date1
merchantName
merchantName merchantName
merchantAddress
merchantAddress merchantAddress
merchantCity
merchantCity merchantCity
merchantState
merchantState merchantCity
merchantCountryCode
merchantCountryCode merchantCountryCode
merchantPostalCode
merchantPostalCode merchantPostalCode
merchantTypes
merchantTypes merchantTypes
confidenceLevel
confidenceLevel number

Overall confidence level

error
error string

location

Name Path Type Description
object

LocationResult

Name Path Type Description
location
location location

lineAmounts

Name Path Type Description
Items
string

totalAmount1

Name Path Type Description
data
data number
keyword
keyword string
index
index number
text
text string
confidenceLevel
confidenceLevel number
regions
regions regions
currencyCode
currencyCode string

taxAmount1

Name Path Type Description
data
data number
keyword
keyword string
index
index number
text
text string
confidenceLevel
confidenceLevel number
regions
regions regions
currencyCode
currencyCode string

merchantName1

Name Path Type Description
data
data string
index
index number
text
text string
confidenceLevel
confidenceLevel number
regions
regions regions

merchantAddress1

Name Path Type Description
data
data string
index
index number
text
text string
confidenceLevel
confidenceLevel number
regions
regions regions

merchantCity1

Name Path Type Description
data
data string
index
index number
text
text string
confidenceLevel
confidenceLevel number
regions
regions regions

merchantState

Name Path Type Description
data
data string
index
index number
text
text string
confidenceLevel
confidenceLevel number
regions
regions regions

merchantCountryCode1

Name Path Type Description
data
data string
index
index number
text
text string
confidenceLevel
confidenceLevel number
regions
regions regions

merchantPostalCode1

Name Path Type Description
data
data string
index
index number
text
text string
confidenceLevel
confidenceLevel number
regions
regions regions

merchantTypes1

Name Path Type Description
index
index number
text
text string
data
data data
confidenceLevel
confidenceLevel number
regions
regions regions

paymentType

Name Path Type Description
index
index number
text
text string
data
data string
confidenceLevel
confidenceLevel number
regions
regions regions

text

Name Path Type Description
text
text string
regions
regions lineAmounts

invoiceNumber

Name Path Type Description
data
data string
text
text string
confidenceLevel
confidenceLevel number
keyword
keyword string

IBAN

Name Path Type Description
data
data string
text
text string
confidenceLevel
confidenceLevel number
keyword
keyword string

Model3

Name Path Type Description
data
data string
text
text string
confidenceLevel
confidenceLevel number
keyword
keyword string

belgiumVATNumbers

Name Path Type Description
Items
Model3

fapiaoInvoiceNumber

Name Path Type Description
data
data string
text
text string
confidenceLevel
confidenceLevel number
keyword
keyword string

fapiaoInvoiceCode

Name Path Type Description
data
data string
text
text string
confidenceLevel
confidenceLevel number
keyword
keyword string

fapiaoMerchantTaxId

Name Path Type Description
data
data string
text
text string
confidenceLevel
confidenceLevel number
keyword
keyword string

qrCodeData

Name Path Type Description
data
data string
text
text string
confidenceLevel
confidenceLevel number
keyword
keyword string

fapiaoInvoice

Name Path Type Description
data
data boolean
text
text string
confidenceLevel
confidenceLevel number
keyword
keyword string

ABN

Name Path Type Description
data
data string
text
text string
confidenceLevel
confidenceLevel number
keyword
keyword string

Model4

Name Path Type Description
data
data number
text
text string
confidenceLevel
confidenceLevel number
keyword
keyword string

excludeItems

Name Path Type Description
Items
Model4

productName

Name Path Type Description
text
text string
keyword
keyword string
confidenceLevel
confidenceLevel number

wineVarietal

Name Path Type Description
text
text string
keyword
keyword string
confidenceLevel
confidenceLevel number

quantity

Name Path Type Description
text
text string
data
data number

unitPrice

Name Path Type Description
text
text string
data
data number

Model5

Name Path Type Description
productName
productName productName
wineVarietal
wineVarietal wineVarietal
quantity
quantity quantity
unitPrice
unitPrice unitPrice

wineListItems

Name Path Type Description
Items
Model5

quantity1

Name Path Type Description
text
text string
data
data number
regions
regions regions

unitPrice1

Name Path Type Description
text
text string
data
data number
regions
regions regions

name

Name Path Type Description
text
text string
data
data string
regions
regions regions

totalPrice

Name Path Type Description
text
text string
data
data number
regions
regions regions

data1

Name Path Type Description
quantity
quantity quantity1
unitPrice
unitPrice unitPrice1
name
name name
totalPrice
totalPrice totalPrice

Model6

Name Path Type Description
data
data data1
text
text string
index
index number
confidenceLevel
confidenceLevel number
regions
regions regions

productLineItems

Name Path Type Description
Items
Model6

taxAmount2

Name Path Type Description
text
text string
data
data number

netAmount

Name Path Type Description
text
text string
data
data number

grossAmount

Name Path Type Description
text
text string
data
data number

taxRate

Name Path Type Description
text
text string
data
data number

taxType

Name Path Type Description
text
text string
data
data string

data2

Name Path Type Description
taxAmount
taxAmount taxAmount2
netAmount
netAmount netAmount
grossAmount
grossAmount grossAmount
taxRate
taxRate taxRate
taxType
taxType taxType

Model7

Name Path Type Description
data
data data2
text
text string
index
index number
confidenceLevel
confidenceLevel number
regions
regions regions

multiTaxLineItems

Name Path Type Description
Items
Model7

receiptNumber

Name Path Type Description
data
data string
text
text string
index
index number
keyword
keyword string
confidenceLevel
confidenceLevel number
regions
regions regions

Model8

Name Path Type Description
data
data number
text
text string
confidenceLevel
confidenceLevel number
keyword
keyword string

geoNames

Name Path Type Description
Items
Model8

shoppingMallName

Name Path Type Description
data
data string
text
text string
index
index number
confidenceLevel
confidenceLevel number
regions
regions regions

vies

Name Path Type Description
address
address string
countryCode
countryCode string
vatNumber
vatNumber string
name
name string
valid
valid boolean
error
error string

data3

Name Path Type Description
verificationId
verificationId string
countryCode
countryCode string
vatNo
vatNo string
vies
vies vies

merchantVerification

Name Path Type Description
data
data data3
text
text string
index
index number
confidenceLevel
confidenceLevel number
regions
regions regions

expenseType

Name Path Type Description
data
data string
text
text string
index
index number
confidenceLevel
confidenceLevel number
regions
regions regions

masterCategory

Name Path Type Description
data
data string
text
text string
index
index number
confidenceLevel
confidenceLevel number
regions
regions regions

entities

Name Path Type Description
invoiceNumber
invoiceNumber invoiceNumber
IBAN
IBAN IBAN
belgiumVATNumbers
belgiumVATNumbers belgiumVATNumbers
fapiaoInvoiceNumber
fapiaoInvoiceNumber fapiaoInvoiceNumber
fapiaoInvoiceCode
fapiaoInvoiceCode fapiaoInvoiceCode
fapiaoMerchantTaxId
fapiaoMerchantTaxId fapiaoMerchantTaxId
qrCodeData
qrCodeData qrCodeData
fapiaoInvoice
fapiaoInvoice fapiaoInvoice
ABN
ABN ABN
excludeItems
excludeItems excludeItems
wineListItems
wineListItems wineListItems
productLineItems
productLineItems productLineItems
multiTaxLineItems
multiTaxLineItems multiTaxLineItems
receiptNumber
receiptNumber receiptNumber
geoNames
geoNames geoNames
shoppingMallName
shoppingMallName shoppingMallName
merchantVerification
merchantVerification merchantVerification
expenseType
expenseType expenseType
masterCategory
masterCategory masterCategory

itemsCount

Name Path Type Description
data
data number
confidenceLevel
confidenceLevel number

receiptVerboseResult

Name Path Type Description
location
location LocationResult
lineAmounts
lineAmounts lineAmounts
amounts
amounts lineAmounts
numbers
numbers lineAmounts
totalAmount
totalAmount totalAmount1
taxAmount
taxAmount taxAmount1
date
date date
merchantName
merchantName merchantName1
merchantAddress
merchantAddress merchantAddress1
merchantCity
merchantCity merchantCity1
merchantState
merchantState merchantState
merchantCountryCode
merchantCountryCode merchantCountryCode1
merchantPostalCode
merchantPostalCode merchantPostalCode1
merchantTypes
merchantTypes merchantTypes1
paymentType
paymentType paymentType
confidenceLevel
confidenceLevel number
elapsed
elapsed number
text
text text
entities
entities entities
itemsCount
itemsCount itemsCount
error
error string

string

This is the basic data type 'string'.