Skip to main content

Documentation Index

Fetch the complete documentation index at: https://truv.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

The Public Sector Document Processing demo shows how to extract structured income data from documents submitted by benefit applicants for eligibility determination. Source: GitHub
git clone https://github.com/truvhq/demo-apps.git
cd demo-apps && npm install && cp .env.example .env
npm start && npm run dev  # select "Public Sector" → "Document Processing"
Public Sector Document Processing demo

Flow

1

Upload documents

Upload documents submitted by the applicant. The backend creates a user and a document collection.
POST /v1/users/
POST /v1/documents/collections/
2

Poll for processing status

Poll until all files reach a terminal status.
GET /v1/documents/collections/{id}/
3

Finalize and retrieve extracted data

Finalize to generate the structured income report for eligibility determination.
POST /v1/documents/collections/{id}/finalize/
GET  /v1/documents/collections/{id}/finalize/
Integration pattern: Document Processing | Products: Pay stubs, W-2s, 1040s, bank statements