Document facts
A Document’s facts are the values Dockt read from that file. Its registry_checks say what an issuer or registry said about it. Neither is the answer for a piece of work: a Decision says whether a Document counted, and why.
Use this page as the key and code reference when you show a Document to a reviewer or store its facts.
Facts shape
Section titled “Facts shape”facts is an object keyed by fact name. Every key holds an array, because one file can contain the same kind of value more than once:
{ "facts": { "holder_name": [ { "value": "Jan Peeters", "confidence": 0.98 } ], "valid_until": [ { "value": "2031-05-16", "confidence": 0.96 } ] }}Each entry contains:
| Field | Type | Meaning |
|---|---|---|
value |
string, number, boolean, object, or null |
The value read. Dates use YYYY-MM-DD when a calendar date is available. |
confidence |
number or null |
Reading confidence from 0 to 1, or null when none is available. Confidence is not a verification result. |
Returned fact keys depend on the document type and what Dockt could read. A missing key means Dockt didn’t read a value for that fact; it doesn’t make the document invalid. Raw document text is never returned as a fact.
Facts about the Document’s owner also feed its attributes with source document, such as person.date_of_birth from an identity document. Facts about others, such as an A1’s employer, don’t.
Document and issuer facts
Section titled “Document and issuer facts”| Key | Value type | Meaning |
|---|---|---|
document_type |
string | Document type stated or identified for the file. |
certificate_type |
string | Certificate category or qualification type shown on the document. |
document_number |
string | General identifier printed on the document. |
authority_check_url |
string | URL printed on the document for an authority or validity check. |
authority_check_reference |
string | Reference value used with an authority check, such as a validation code. |
diploma_number |
string | Diploma, certificate, or equivalent evidence number. |
issue_date |
date | Date on which the document was issued. |
valid_from |
date | First date on which the document or authorization is valid. |
valid_until |
date | Last date on which the document or authorization is valid. |
issuing_body |
string | Organization or authority that issued the document. |
issuer_name |
string | Issuer name as shown on the document. |
issuing_center |
string | Issuing, examination, or training center. |
issuer_country |
string | Country associated with the issuer. |
document_country |
string | Country to which the document belongs or in which it was issued. |
language |
string | Language identified for the document. |
Worker identity facts
Section titled “Worker identity facts”| Key | Value type | Meaning |
|---|---|---|
holder_name |
string | Full name of the person who holds the document or credential. |
first_name |
string | Holder’s first or given name. |
last_name |
string | Holder’s last or family name. |
date_of_birth |
date | Holder’s date of birth. |
nationality |
string | Holder’s nationality as printed or encoded on the document. |
person_identifier |
string | Person-specific identifier other than a document number. |
identity_document_number |
string | Passport, identity card, or other identity-document number. |
Employer and organization facts
Section titled “Employer and organization facts”| Key | Value type | Meaning |
|---|---|---|
employer_name |
string | Legal or stated name of the worker’s employer. |
employer_registration_type |
string | Type of employer registration identifier shown. |
employer_registration_number |
string | Employer registration identifier. |
employer_country |
string | Country in which the employer is established or registered. |
employer_address |
string | Employer address shown on the document. |
employer_vat_number |
string | Employer VAT identifier. |
service_recipient_name |
string | Name of the customer or organization receiving the service. |
service_recipient_registration_type |
string | Type of registration identifier used for the service recipient. |
service_recipient_registration_number |
string | Service recipient’s registration identifier. |
kbo_number |
string | Belgian Crossroads Bank for Enterprises registration number. |
company_registration_status |
string | Company registration state shown by the evidence. |
declaration_of_works_number |
string | Reference for a Declaration of Works or equivalent chain registration. |
Assignment and employment facts
Section titled “Assignment and employment facts”| Key | Value type | Meaning |
|---|---|---|
assignment_start_date |
date | Date on which the assignment starts. |
assignment_end_date |
date | Date on which the assignment ends. |
assignment_activity |
string | Work or activity described for the assignment. |
worksite_name |
string | Name of the site where the work takes place. |
worksite_address |
string | Address of the worksite. |
project_reference |
string | Project, site, or assignment reference. |
social_security_country |
string | Country whose social-security system covers the worker. |
posting_declaration_number |
string | Identifier of a worker-posting declaration or notification. |
notification_status |
string | Status stated for the posting or other notification. |
employment_registration_number |
string | Identifier of an employment registration. |
employment_start_date |
date | Employment start date shown in the evidence. |
employment_end_date |
date | Employment end date shown in the evidence. |
contract_type |
string | Employment or engagement contract type. |
wage_amount |
number | Wage amount stated in the evidence. Read wage_period before interpreting it. |
wage_period |
string | Period or frequency associated with wage_amount. |
Accommodation and access facts
Section titled “Accommodation and access facts”| Key | Value type | Meaning |
|---|---|---|
accommodation_address |
string | Address of accommodation provided or declared for the worker. |
accommodation_capacity |
number | Number of people the accommodation evidence states it can house. |
approval_authority |
string | Person, role, or organization that granted an approval. |
approval_date |
date | Date on which the approval was granted. |
approval_scope |
string | Work, site, or exception covered by the approval. |
Permit and Vander Elst facts
Section titled “Permit and Vander Elst facts”| Key | Value type | Meaning |
|---|---|---|
work_permit_number |
string | Work-authorization or work-permit identifier. |
residence_permit_number |
string | Residence-permit identifier. |
permit_type |
string | Type or category of work or residence permit. |
permit_scope |
string | Work, location, employer, or activity covered by the permit. |
permit_remarks |
string | Conditions or remarks printed on the permit. |
legal_basis |
string | Legal basis stated for the authorization or exemption. |
vander_elst_reference |
string | Reference associated with Vander Elst evidence. |
prior_residence_days |
number | Number of days of prior legal residence supported by the evidence. |
permit_covers_assignment |
boolean | Whether the evidence states that the permit covers the evaluated assignment. |
employer_match_status |
string | Result of comparing the employer across relevant evidence. |
Registration and operational facts
Section titled “Registration and operational facts”| Key | Value type | Meaning |
|---|---|---|
debt_check_date |
date | Date on which fiscal or social debt status was checked. |
debt_status |
string | Fiscal or social debt state returned by the evidence. |
check_in_reference |
string | Reference for a worksite attendance registration. |
check_in_at |
string | Check-in timestamp as supplied by the evidence. |
check_out_at |
string | Check-out timestamp as supplied by the evidence. |
professional_card_number |
string | Professional-card identifier for a self-employed worker. |
social_contribution_period |
string | Period covered by social-contribution evidence. |
social_contribution_status |
string | Payment or affiliation status for social contributions. |
temporary_agency_accreditation_number |
string | Accreditation identifier for a temporary-employment agency. |
Skill and professional facts
Section titled “Skill and professional facts”| Key | Value type | Meaning |
|---|---|---|
skill_scope |
string | Trade, task, role, or competency covered by a certificate. |
training_level |
string | Level or category of the completed training. |
professional_registration_number |
string | Registration number for a regulated professional. |
regulated_profession |
string | Regulated profession named in the evidence. |
professional_authorization_status |
string | Status of the authorization to practise the profession. |
screening_profile |
string | Role or screening profile against which a check was performed. |
screening_result |
string | Outcome stated by the background-screening evidence. |
labour_market_access |
string | A residence card’s printed labour-market remark, on a Belgian card or one from the sending state: unlimited, limited or none. |
evidence_type |
string | For a template that only names its family: the document type the reader chose from that family’s types. |
The tables list public fact keys that Dockt can return. Only keys applicable to a particular document appear in its response. The response schema allows new keys, so ignore or store unfamiliar keys rather than failing the entire response.
Registry checks on a Document
Section titled “Registry checks on a Document”registry_checks summarizes the checks Dockt ran on this file, separate from its facts. It can be null when no check data is available. A summary can also have an empty checks list. The following example shows a completed A1 authority check; SOURCE_CODE is a placeholder for the returned source identifier:
{ "registry_checks": { "status": "completed", "checks": [ { "code": "document.a1_authority_verification", "status": "completed", "source": "SOURCE_CODE", "reason": null } ], "issues": [] }}statusispending,completed,completed_with_warningsorfailed.- Each check has a
code, astatus(completed,not_found,ambiguous,unsupportedorunavailable), asourceand areason, both of which can benull. Source identifiers are not a closed list. issueslist problems found, each with acodeand areason.
A check that is unavailable doesn’t make a Document invalid by itself. Dockt also asks registries about the Person or Company the Document belongs to; those lookups are Registry Checks.
Check codes
Section titled “Check codes”| Code | Meaning |
|---|---|
organization.registry_profile |
Checks an employer’s official registration profile. |
organization.vat_registration |
Validates an employer VAT registration. |
organization.customs_registration |
Validates an employer customs or EORI registration. |
organization.jurisdiction.restrictive_measures |
Looks up restrictive measures associated with an employer jurisdiction. This is a country-level lookup, not a conclusion that the employer is sanctioned. |
credential.registry_profile |
Looks up the worker’s credentials in an applicable register; source names the register. |
document.issuer.social_security_directory |
Checks whether a social-security document issuer matches the applicable institution directory. |
document.a1_authority_verification |
Validates an A1 document through its applicable authority check. |
document.limosa_authority_verification |
Validates a Limosa declaration through its applicable authority check. |
document.certificate_registry_verification |
Validates a safety or training certificate through its applicable register. |
document.residence_permit_authority_verification |
Validates a residence permit’s digital seal with the issuing authority. |
While work is open, Dockt asks a document’s issuer again on the Policy’s re-check interval. If a later answer no longer confirms the document, the Decision includes a document_no_longer_confirmed finding; the Document keeps the result from processing.
Document findings
Section titled “Document findings”findings on a Document are issues with the file itself, such as authenticity signals and metadata anomalies. Each has an id, code, scope, impact (informational, review_required or non_compliant), title, and explanation. It also contains document_ids and requirement_codes arrays. The Document finding code is document.intrinsic_issue and its scope is document. Unlike Decision findings, Document findings use impact rather than severity. Show the title and explanation to reviewers. The Decisions of the work that uses the Document say how a finding affected the result.