# Taggun

Taggun is an AI-powered receipt OCR API that extracts structured data from receipt and invoice images in real-time. It supports 85+ languages, fraud detection, and automated expense tracking.

- **Category:** ai document extraction
- **Auth:** API_KEY
- **Tools:** 5
- **Triggers:** 0
- **Slug:** `TAGGUN`
- **Version:** 20260211_00

## Tools

### Export Known Merchants

**Slug:** `TAGGUN_EXPORT_KNOWN_MERCHANTS`

Export 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.

### Generate Merchants CSV

**Slug:** `TAGGUN_GENERATE_MERCHANTS_CSV`

Generate 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.

### Process Receipt via URL

**Slug:** `TAGGUN_URL`

Extract 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.

### URL Validation

**Slug:** `TAGGUN_URL_VALIDATION`

Tool to extract and validate receipt data from a URL. Processes a receipt image from a public URL and returns extracted fields with confidence levels to assess receipt authenticity. Use when you have a receipt URL and need to verify it contains valid receipt data.

### URL Verbose

**Slug:** `TAGGUN_URL_VERBOSE`

Tool 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.
