Upload File

Validates a submitted receipt against a validation rule set supplied inline with this request — no stored campaign required. Returns pass/fail with the reasons per rule. Full route: POST https://api.taggun.io/api/validation/v1/receipt-validation/file. For stored-campaign validation, use Validate Receipts; see Receipt Validation Overview for choosing between the two modes.

🚧

Beta

Receipt Validation is in beta: request and response details may change, and the feature must be enabled on your account. Contact [email protected] to discuss enabling it or to give feedback.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
file
required

Supported receipt or invoice file that meets the current Document Types & File Requirements.

string
required

Receipt validation rules for this request, encoded as a JSON string (multipart form fields carry text, so serialise the rules object before sending).

string

Optional JSON array. Currently supports ["modelNumber"].

string
length ≤ 50

Namespace for receipt similarity checks when no campaign ID is used.

boolean
Defaults to false

Per-request storage opt-out. See Security, Privacy & Data Residency.

string

IPv4 or IPv6 address of the end user.

string

Geographic hint for merchant search, typically city, state, country.

string
length ≤ 50

Caller-supplied identifier. See Duplicate & Similarity Detection.

string
length ≤ 50

End-user identifier associated with the submission and returned with matched receipts, when available, so cross-user reuse can be investigated.

string
length ≤ 100

Attribute usage to a client or other subdivision within your Taggun account for reporting. Maximum 100 characters on receipt-validation requests. This does not create a separate Taggun account or subscription.

string

Optional language hint; leave empty for automatic detection. Recommended for Arabic (ar), Khmer (kh), Thai (th), and Hebrew (he). Full code list: Language detection and hints.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json