Simple Extraction Overview

The compact core-field schema for production integrations that need totals, tax, date, and merchant — nothing more.

What Simple Extraction Returns

Simple endpoints return the compact core-field schema: total amount, tax amount, date, and merchant details, each with its confidence level. The payload is small, stable, and quick to parse — built for production integrations that need the essentials and nothing more.

Simple or Verbose?

Choose simple when the core fields answer your use case: expense capture, receipt totals reconciliation, or any flow where you store a handful of values per document. Every input method below also has a verbose form that returns the broader extraction schema — line items, per-field metadata, and feature envelopes — from the same request shape, so you can switch depth later without changing how you submit documents.

👍

Evaluating Taggun?

Use the verbose form while you evaluate — it shows everything the platform can extract. Move to simple once you know the core fields are all you need.

Endpoints in This Category

EndpointMethod and pathExample response
Upload File (simple)POST /api/receipt/v1/simple/fileExample JSON
URL (simple)POST /api/receipt/v1/simple/urlExample JSON
Encoded File (simple)POST /api/receipt/v1/simple/encodedExample JSON

The input methods mirror the verbose category: multipart file upload, a public HTTPS URL, or base64-encoded content in a JSON body. Accepted document types and size limits are defined once in Document Types & File Requirements.

Related Guides

Parameters

Every endpoint in this category authenticates with your API key and shares the optional parameters below alongside its input fields.

ParameterTypeWhereDescription
apikeyheaderrequired, all endpointsYour API key. See Authentication.
filefilerequired on Upload FileSupported receipt or invoice file per Document Types & File Requirements.
urlstringrequired on URLHTTPS URL of the receipt, reachable by Taggun. HTTP, localhost, loopback, link-local, and private-network targets are rejected.
headersobjectoptional on URLHTTP headers to forward when fetching a protected HTTPS resource.
image, filename, contentTypestringrequired on Encoded FileBase64 content (image is a legacy field name — PDFs accepted), file name, and MIME type.
extractTimebooleanoptional, default falseSet to true to return the time when found on the receipt; otherwise time is 12:00:00.000.
languagestringoptionalLanguage hint; leave empty for automatic detection. Common hints include en, es, fr, jp, he, iw, et, lv, lt, fi, el, zh, th, ar, kh — examples, not an allowlist.
nearstringoptionalA location (city, state, country) to help search for the merchant.
ipAddressstringoptional, ≤100End user's IP address, used for GeoIP lookup.
ignoreMerchantNamestringoptionalA merchant name to ignore if detected on the file (e.g. a customer name mistaken for the merchant).
refreshbooleanoptional, default falseSet to true to force reprocessing if the receipt is already stored.
incognitobooleanoptional, default falsePer-request storage opt-out. See Security, Privacy & Data Residency.
userIdstringoptional, ≤50End-user identifier returned with matched receipts, when available, so cross-user reuse can be investigated.
containerIdstringoptional, ≤50Scopes duplicate & similarity checks to scans sharing the same value. Omit to compare account-wide.
subAccountIdstringoptional, ≤50Attribute usage to a client or subdivision of your account for reporting. Does not create a separate account.
referenceIdstringoptional, ≤50Caller-supplied identifier. See Duplicate & Similarity Detection.