Skip to main content
Document Collections provide a way to upload, process, and manage multiple documents in a single workflow. Documents are automatically validated and processed using AI-powered categorization to identify document types such as Paystubs, W2s, 1099s, and more.

Quickstart

We recommend using Python (works on all platforms):
Run it:

User matching

Truv assigns each recognized document to a user on the collection by matching the name and SSN it extracts from the document. Omit user_id and external_user_id from your documents and let matching run.
Setting user_id or external_user_id on a document in create or upload binds that document to the user you name and skips automatic matching for it. Truv never reconciles that assignment against the extracted identity, so a wrong id stays wrong.
Binding applies per file, not per document. Every document recognized inside a file inherits that file’s user assignment. A single PDF holding pay statements for two users assigns both to the one you named. Set these fields only when you already know which user a file belongs to — for example, when your portal collected it under a specific user. Otherwise leave them out.

Collection Attributes

The table below covers the attributes returned when listing document collections.

Uploaded File Attributes

The table below covers the attributes for uploaded files within a collection.

Recognized Document Attributes

The table below covers the attributes for documents recognized within uploaded files.

Finalization

After documents in a collection have been processed and categorized, use the finalize endpoint to create links for the recognized documents. This step converts the pre-processed documents into usable Truv links for retrieving income and employment data.

Finalize request attributes

The finalize endpoint returns a response containing users with their associated links and documents.

User Object

Document Object (in Finalize Response)

Endpoints

Use the endpoints below to manage document collections.

Example responses


Collection detail response


Finalization response