Skip to main content
GET
Retrieve parsed document

Authorizations

X-Access-Client-Id
string
header
required

Client ID

X-Access-Secret
string
header
required

Client Access Key

Path Parameters

Link ID

doc_id
string
required

Parsed Document ID

Response

document_type
enum<string>
required
read-only

Document type.

Available options:
VOLUNTEER_LETTER,
PCS_ORDERS
Example:

"VOLUNTEER_LETTER"

id
string
read-only

Parsed document ID

Maximum string length: 32
Example:

"24d7e80942ce4ad58a93f70ce4115f5c"

document_subtype
enum<string> | null
read-only

Document subtype. Set for volunteer letters only; null for PCS orders.

Available options:
VOL_TRANSCRIPT,
VOL_HOURS_LOG,
null
Example:

"VOL_TRANSCRIPT"

file
string<uri> | null
read-only

Parsed document file link

Example:

"https://cdn.truv.com/files_examples/VOLUNTEER_LETTER.pdf"

md5sum
string
read-only

Parsed document md5sum

Maximum string length: 36
Example:

"24d7e80942ce4ad58a93f70ce4115f5c"

parsed_data
parsed_data · object | null
read-only

Parsed document data. The set of fields depends on the document type.

For volunteer letters, this includes:

  • total_hours: Total volunteer hours (number)
  • time_entries: (Optional) Detailed breakdown of volunteer hours. Array of objects, each containing:
    • date: Date of volunteer activity (YYYY-MM-DD)
    • hours: Hours worked on that date (number)
    • description: Description of the volunteer activity (string)

The structure depends on the document subtype:

  • VOL_TRANSCRIPT: Contains summary fields (total_hours)
  • VOL_HOURS_LOG: Contains both summary (total_hours) and detailed time_entries array

For PCS orders, this includes:

  • branch: Issuing service branch — Army, Navy, USMC, Air Force, Coast Guard or Space Force (string)

  • rank: Service member's rank normalized to a pay grade, e.g. E-5 or O-3 (string)

  • current_duty_station: Location the member is departing from (string)

  • future_duty_station: Location the member is reporting to (string)

  • report_no_later_than_date: Report no later than (RNLT) date, YYYY-MM-DD (string)

  • tour_length: Tour length when the order states one, e.g. 36 months (string)

  • dependents: Dependent information when the order states any. Object containing:

    • count: Number of dependents (number)
    • names: Dependent names when the order lists them (array of strings)
    • accompanied: Whether dependent travel is authorized (boolean)
  • active_duty_service_commitment: Service commitment tied to the move, a duration or a date (string)

Every PCS orders field is null when the order does not state it. Nothing is inferred.

Example: