Skip to main content
Taggun logo
  • Category: ai document extraction
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 14
  • Triggers: 0
  • Slug: TAGGUN
  • Version: 20261101_00

Tools

Slug: TAGGUN_ADD_MERCHANT_NAMETool to add a merchant name keyword to your account’s model for predicting merchant names. Use when you want to improve merchant name recognition by training the model with specific merchant names. Changes to your account’s model are updated daily and will affect future receipt processing.

Input Parameters

string
required
Merchant name keyword to add to your account’s model for predicting merchant names. The model updates are applied daily.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_EXPORT_KNOWN_MERCHANTSExport the complete list of known merchants used for merchant name normalization in Taggun. Returns CSV data with merchant details including location IDs, names, addresses, and coordinates. Use this when you need to retrieve the full merchant registry for synchronization, auditing, or analysis. No parameters required - this is a read-only GET operation.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_EXPORT_KNOWN_PRODUCT_CODESExport the complete list of known product codes used for product normalization and matching in Taggun. Returns CSV data with product code information. Use this when you need to retrieve the full product code registry for synchronization, auditing, or analysis. No parameters required - this is a read-only GET operation.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_EXPORT_PRODUCT_CATEGORIESExport a list of product categories and descriptions used for product categorization in CSV format. Returns CSV data with product category information for analysis or synchronization purposes. Use this when you need to retrieve the complete product category registry.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_GENERATE_MERCHANTS_CSVGenerate a CSV file with mock merchant data for testing purposes. Creates a temporary CSV file with the specified number of merchant rows, including fields like name, alias, address, coordinates, contact info, and tags. Use this when you need sample merchant data for bulk import operations or testing merchant-related API endpoints. The generated CSV follows a standard format with 10 columns: name, alias, address, postcode, lat, lng, country, phone, email, tags.

Input Parameters

integer
required
Number of merchant rows to generate in the CSV

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_IMPORT_KNOWN_MERCHANTSImport a list of merchant names and addresses to normalize and match in CSV or TSV format. Use this when you need to bulk upload merchant data for name normalization and matching. File must be less than 20MB and contain merchant information in CSV or TSV format.

Input Parameters

object
required
CSV or TSV file containing merchant data to import. Must be less than 20MB. File should have columns for merchant names and addresses.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_IMPORT_KNOWN_PRODUCT_CODESTool to import a list of product codes in CSV or TSV format for normalization and matching. Use when you need to upload product code data to Taggun for receipt/invoice processing. The file should contain product codes with descriptions (e.g., code,description columns).

Input Parameters

object
CSV or TSV file containing product codes to import. File must be less than 20MB and contain product code data with columns like ‘code’ and ‘description’. Accepted formats: CSV, TSV. If not provided, you may use raw_content instead.
string
Inline CSV or TSV file content to upload as bytes or UTF-8 string.
string
Filename for the inline content (e.g., ‘product_codes.csv’). Defaults to ‘product_codes.csv’.
string
MIME type for the inline content (e.g., ‘text/csv’, ‘text/tab-separated-values’). Defaults to text/csv.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_IMPORT_PRODUCT_CATEGORIESImport a list of product categories and descriptions for product categorization. Accepts CSV or TSV files (less than 20MB) with category and description columns. Use this when you need to bulk import product category data for matching during receipt processing.

Input Parameters

object
CSV or TSV file containing product categories and descriptions. File must be less than 20MB. Format: category,description. If not provided, you may use raw_content instead.
string
Inline CSV or TSV file content to upload as bytes or UTF-8 string.
string
Filename for the inline content (e.g., ‘categories.csv’). Defaults to ‘categories.csv’.
string
MIME type for the inline content (e.g., ‘text/csv’, ‘text/tab-separated-values’). Defaults to text/csv.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_TRANSCRIBE_RECEIPT_ENCODED_SIMPLEExtract structured data from a receipt or invoice using base64 encoded image data. Provide a base64 encoded image (JPEG, PNG, PDF, GIF) along with filename and content type to get back extracted fields like total amount, date, merchant name, tax, line items, and confidence scores. Use this when you have receipt/invoice image data already encoded as base64 and need to digitize the data. The API uses machine learning OCR to detect and extract key fields automatically.

Input Parameters

string
required
Base64 encoded image data of the receipt or invoice. Supported formats: JPEG, PNG, PDF, GIF. The string should contain only the base64-encoded data without any data URI prefix.
boolean
Set to true to bypass Taggun’s cache and force fresh OCR processing of the image. Default is false (uses cached results if available).
string
required
Filename for reference purposes (e.g., ‘receipt.jpg’). Required for proper processing.
string
Set language as a hint for OCR processing. Leave empty for auto detect. Supported languages: en, es, fr, jp, he, iw, et, lv, lt, fi, el, zh, th, ar
boolean
Set true to avoid saving the receipt in storage for privacy purposes. Default is false.
string
IP Address of the end user for fraud detection purposes
string
Tag a request with a container ID for fraud detection purposes. Maximum 50 characters.
string
required
MIME type of the image file. Required. Supported types: ‘image/jpeg’, ‘image/png’, ‘application/pdf’, ‘image/gif’.
boolean
Set true to return time if found on the receipt. Otherwise, the time is always set to 12:00:00.000. Default is false.
string
Ignore this merchant name if detected on the receipt. Use this field to avoid detecting the customer name as the merchant name.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_TRANSCRIBE_RECEIPT_ENCODED_VERBOSETranscribe a receipt from a base64 encoded image and return detailed results, including merchant details and confidence levels. Line item extraction can be requested.

Input Parameters

string
required
Base64 encoded receipt image. Must meet minimum size requirements (larger than 1x1 pixels).
boolean
Set true to force re-process image transcription if receipt is already in storage.
string
required
The filename for the receipt image.
boolean
Set true to avoid saving the receipt in storage.
string
Tag a request with a container ID for fraud detection purposes.
string
required
MIME type of the image (e.g., image/jpeg, image/png).
boolean
Set true to return time if found on the receipt. Otherwise, the time is always set to 12:00:00.000.
boolean
Set true to return product line items in an array if found on the receipt.
string
Ignore this merchant name if detected on the receipt. Use this field to avoid detecting the customer name as the merchant name.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_TRANSCRIBE_RECEIPT_FILE_SIMPLETool to upload a receipt or invoice image file and extract basic data including merchant name, total amount, tax amount, and date. Use when you need to digitize receipt data from a file (PDF, JPG, PNG, GIF, HEIC up to 20MB). The API uses OCR to detect and extract key fields.

Input Parameters

object
required
Receipt or invoice image file to upload (less than 20MB). Supported formats: PDF, JPG, PNG, GIF, HEIC.
string
A geo location to search for merchant. Typically in the format of city, state, country.
string
Tag a request with a user ID so that duplicate receipts by the same user can be detected
boolean
Set true to force re-process image transcription if the receipt is already in storage. Default is false.
string ("en" | "es" | "fr" | "jp" | "he" | "iw" | "et" | "lv" | "lt" | "fi" | "el" | "zh" | "th" | "ar")
Supported languages for receipt OCR processing.
boolean
Set true to avoid saving the receipt in storage. Default is false.
string
IP Address of the end user for fraud detection purposes
string
Tag a request with a container ID for fraud detection purposes
boolean
Set true to return time if found on the receipt. Otherwise, the time is always set to 12:00:00.000. Default is false.
string
Tag a request with a unique reference ID for feedback/training and receipt similarity check purposes
string
Tag a request with sub-account ID for billing purposes
string
Ignore this merchant name if detected on the receipt. Use this field to avoid detecting the customer name as the merchant name.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_URLExtract structured data from a receipt or invoice image using OCR. Provide a public URL to a receipt/invoice image (JPEG, PNG, PDF, GIF) and get back extracted fields like total amount, date, merchant name, tax, line items, and confidence scores. Use this when you need to digitize receipt/invoice data from a publicly accessible image URL. The API uses machine learning OCR to detect and extract key fields automatically.

Input Parameters

string
required
Public HTTPS URL of the receipt/invoice image. Supported formats: JPEG, PNG, PDF, GIF. URL must be publicly accessible and point directly to the image file.
boolean
Set to true to bypass Taggun’s cache and force fresh OCR processing of the image. Default is false (uses cached results if available).
string
Optional filename for reference purposes (e.g., ‘receipt.jpg’). Does not affect processing.
string
Optional MIME type of the image file (e.g., ‘image/jpeg’, ‘image/png’, ‘application/pdf’). Auto-detected if not provided.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_URL_VALIDATIONExtract receipt data from a public URL and return extracted fields with confidence levels for the extraction.

Input Parameters

string
required
The URL of the receipt image to be validated.
string
Optional filename to assign to the image.
boolean
If true, the receipt will not be saved in the database.
string
An external ID to link with the validation for tracking purposes.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TAGGUN_URL_VERBOSETool to process a receipt or invoice from a URL for detailed data extraction. Use when you have a publicly accessible receipt or invoice URL and require comprehensive output including line items, merchant details, and confidence metrics. Call after verifying the URL is reachable.

Input Parameters

string
required
Publicly accessible URL of the receipt or invoice image.
string
Location hint (city, state, country) for merchant search.
boolean
If true, forces reprocessing even if cached results exist.
string
Language hint for OCR (supports: en, es, fr, jp, he, iw, et, lv, lt, fi, el, zh, th).
boolean
If true, excludes this document from Taggun’s learning dataset.
string
End-user IP address for fraud assessment.
boolean
Return extracted time; defaults to 12:00:00.000 if not found.
string
Unique reference ID for feedback tracking.
string
Tag request for billing purposes.
boolean
Set true to return product line items in an array if found.
string
Merchant name to exclude from detection.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not