The Document Object
A document object represents various types of information or documentation, such as:
- Identity documents (driver’s licenses, passports)
- Contact information (phone numbers, email addresses)
- Official documents (utility bills, reports)
- Collections of related data
Key Characteristic
Every document object must include a country attribute, which is mandatory for all document types.
Document Object Structure
Here’s an example of a document object with detailed annotations:
Managing Scanned Documents in Business Checks
The inclusion of scanned documents in business check results depends on the documentData
parameter. Here’s how to control it:
Default Behavior (No Parameter)
- Includes the complete scanned document
- Use when you need full document access
Full Document (documentData=full)
- Explicitly requests complete scanned document
- Identical to default behavior
curl GET
https://api.frankie.one/compliance/v1.2/business/‘entityId’/checks?documentData=full
Performance Consideration
Including full scanned documents increases response times. Use
documentData=meta
when you only need metadata for faster results.