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

entities

{
    "ABN": {
        "confidenceLevel": 0.7216666666666667,
        "data": "string",
        "keyword": "string",
        "text": "string"
    },
    "IBAN": {
        "confidenceLevel": 0.7216666666666667,
        "data": "123456",
        "keyword": "IBAN",
        "text": "123456"
    },
    "belgiumVATNumbers": [
        {
            "confidenceLevel": 0.7216666666666667,
            "data": "0660914448",
            "keyword": "",
            "text": "BE0660.914.448"
        }
    ],
    "excludeItems": [
        {
            "confidenceLevel": 0.7216666666666667,
            "data": 3,
            "keyword": "coke",
            "text": "零系可樂"
        }
    ],
    "fapiaoInvoice": {
        "confidenceLevel": 0.7216666666666667,
        "data": true,
        "keyword": "发票",
        "text": "发票"
    },
    "fapiaoInvoiceCode": {
        "confidenceLevel": 0.7216666666666667,
        "data": "033001800104",
        "keyword": "",
        "text": "033001800104"
    },
    "fapiaoInvoiceNumber": {
        "confidenceLevel": 0.7216666666666667,
        "data": "80227830",
        "keyword": "",
        "text": "80227830"
    },
    "fapiaoMerchantTaxId": {
        "confidenceLevel": 0.7216666666666667,
        "data": "913101156073309979",
        "keyword": "",
        "text": "913101156073309979"
    },
    "geoNames": [
        {
            "confidenceLevel": 0.7216666666666667,
            "data": 3,
            "keyword": "France",
            "text": "France"
        }
    ],
    "invoiceNumber": {
        "confidenceLevel": 0.7216666666666667,
        "data": "123456",
        "keyword": "Invoice number",
        "text": "123456"
    },
    "lineItems": [
        {
            "confidenceLevel": 0.7216666666666667,
            "data": {
                "metadata_type": {
                    "data": "brand_infini",
                    "text": "Infini"
                },
                "quantity": {
                    "data": 2,
                    "text": "qty 2 @ ..."
                },
                "unitPrice": {
                    "data": 26.99,
                    "text": " $48.00"
                }
            },
            "index": 3,
            "regions": [
                [
                    {
                        "x": 437,
                        "y": 787
                    },
                    {
                        "x": 499,
                        "y": 788
                    },
                    {
                        "x": 499,
                        "y": 808
                    },
                    {
                        "x": 437,
                        "y": 807
                    }
                ]
            ],
            "text": "1  Infini E/Day S/Less T/Tee XL $48.00"
        }
    ],
    "merchantVerification": {
        "confidenceLevel": 0.7216666666666667,
        "data": {
            "countryCode": "IE",
            "vatNo": "950###8N",
            "verificationId": "IE950###8N",
            "vies": {
                "address": "1 Someplace street, Ireland",
                "countryCode": "IE",
                "error": "IE",
                "name": "Merchant Name",
                "valid": true,
                "vatNumber": "950###8N"
            }
        },
        "index": 3,
        "regions": [
            [
                {
                    "x": 437,
                    "y": 787
                },
                {
                    "x": 499,
                    "y": 788
                },
                {
                    "x": 499,
                    "y": 808
                },
                {
                    "x": 437,
                    "y": 807
                }
            ]
        ],
        "text": "VAT no: IE 95###8N"
    },
    "multiTaxLineItems": [
        {
            "confidenceLevel": 0.7216666666666667,
            "data": {
                "grossAmount": {
                    "data": 15.83,
                    "text": "15,83"
                },
                "netAmount": {
                    "data": 15.01,
                    "text": "15,01"
                },
                "taxAmount": {
                    "data": 0.83,
                    "text": "0,83"
                },
                "taxRate": {
                    "data": 0.055,
                    "text": "5,50%"
                },
                "taxType": {
                    "data": "TVA",
                    "text": "TVA"
                }
            },
            "index": 20,
            "regions": [
                [
                    {
                        "x": 437,
                        "y": 787
                    },
                    {
                        "x": 499,
                        "y": 788
                    },
                    {
                        "x": 499,
                        "y": 808
                    },
                    {
                        "x": 437,
                        "y": 807
                    }
                ]
            ],
            "text": "TVA 5,50 15,01 0,83 15,83"
        }
    ],
    "qrCodeData": {
        "confidenceLevel": 0.7216666666666667,
        "data": "01,10,031001900211,15004826,109.72,20190617,11467310187259010073,908E",
        "keyword": "",
        "text": "01,10,031001900211,15004826,109.72,20190617,11467310187259010073,908E"
    },
    "receiptNumber": {
        "confidenceLevel": 0.7216666666666667,
        "data": "11/220371",
        "index": 3,
        "keyword": "ReceiptNumber",
        "regions": [
            [
                {
                    "x": 437,
                    "y": 787
                },
                {
                    "x": 499,
                    "y": 788
                },
                {
                    "x": 499,
                    "y": 808
                },
                {
                    "x": 437,
                    "y": 807
                }
            ]
        ],
        "text": "ReceiptNumber: 11/220371"
    },
    "shoppingMallName": {
        "confidenceLevel": 0.7216666666666667,
        "data": "Bass Hill Plaza",
        "index": 3,
        "regions": [
            [
                {
                    "x": 437,
                    "y": 787
                },
                {
                    "x": 499,
                    "y": 788
                },
                {
                    "x": 499,
                    "y": 808
                },
                {
                    "x": 437,
                    "y": 807
                }
            ]
        ],
        "text": "Some Shop Name - Bass Hill"
    },
    "wineListItems": [
        {
            "productName": {
                "confidenceLevel": 0.7216666666666667,
                "keyword": "CDIGI_19_crimes",
                "text": "19 crimes"
            },
            "quantity": {
                "data": 2,
                "text": "qty 2 @ ..."
            },
            "unitPrice": {
                "data": 26.99,
                "text": "cab Sauvignon $26.99"
            },
            "wineVarietal": {
                "confidenceLevel": 0.7216666666666667,
                "keyword": "cabernet_sauvignon",
                "text": "cab Sauvignon"
            }
        }
    ]
}
Built with