Attributes
Attributes are values about a record that rules use, such as a worker’s nationality or whether a site is a construction site. This page lists the supported attribute codes. GET /v1/attribute-definitions returns the same catalogue with labels, value types, options and limits; use it as the source of truth in your code.
Send attributes
Section titled “Send attributes”Send attributes as plain values keyed by code, on the record they belong to. This fragment shows Person and Assignment attributes within a POST /v1/assignments body; the full request also needs a workplace:
{ "person": { "external_ref": "worker-4821", "attributes": { "person.date_of_birth": "1988-04-02", "person.nationality": ["BE", "PL"] } }, "attributes": { "assignment.posting_status": "posted" }}- A code’s first part names the record it belongs to:
person,company,workplace,assignmentorengagement. Send it only on that record. - Country-specific codes carry the country after the owner, such as
assignment.be.limosa_exemption_claimed. - Values you send have source
customer. Sending a code again replaces your earlier value. - An unknown code, a code on the wrong record, or an invalid value is rejected with
attribute-unknown, with one issue per code.
Don’t send values the model already has as fields. The period, employer, Workplace country and address, and Company name and country are fields, not attributes.
Value types
Section titled “Value types”value_type |
Send |
|---|---|
string |
A string. |
integer |
A whole number. unit names its unit, such as days. |
boolean |
true or false. |
date |
A YYYY-MM-DD string, read at the Workplace. |
country_code |
An ISO 3166-1 alpha-2 code, such as BE. |
single_select |
One of the listed options. |
With cardinality: "many", send an array of values, up to max_items. Otherwise send one value.
Person
Section titled “Person”| Code | Type | Notes |
|---|---|---|
person.name |
string | Full name. |
person.first_name |
string | |
person.last_name |
string | |
person.date_of_birth |
date | |
person.nationality |
country codes | Up to 8. |
person.residence_country |
country code |
Company
Section titled “Company”| Code | Type | Notes |
|---|---|---|
company.is_temporary_agency |
boolean | A temporary-employment agency. |
company.established_in_eea_swiss |
boolean | Genuinely established in the European Economic Area (EEA) or Switzerland. |
company.be.has_establishment |
boolean | Has a Belgian establishment. |
company.be.risk_sector |
boolean | Works in a Belgian risk sector. |
Workplace
Section titled “Workplace”| Code | Type | Notes |
|---|---|---|
workplace.is_construction |
boolean | A construction project. |
workplace.temporary_mobile_construction_site |
boolean | A temporary or mobile construction site. |
workplace.hazardous_works |
boolean | Asbestos or other hazardous works. |
workplace.total_cost_ex_vat |
integer | The site’s total cost, excluding VAT. |
workplace.customer_role |
principal, main_contractor, intermediate_contractor, subcontractor |
Your own role at this Workplace. |
workplace.be.region |
flanders, brussels, wallonia, german_community |
Derived from the address; send it to override. |
workplace.be.activity_immovable_works |
boolean | Immovable works under the Belgian 30bis rules. |
workplace.be.activity_ready_mixed_concrete |
boolean | Ready-mixed concrete activity. |
workplace.be.activity_meat |
boolean | Meat-sector activity under the Belgian 30ter rules. |
workplace.be.activity_guarding |
boolean | Guarding or surveillance activity under the Belgian 30ter rules. |
Assignment
Section titled “Assignment”| Code | Type | Notes |
|---|---|---|
assignment.employment_relationship |
employee, self_employed |
|
assignment.posting_status |
posted, local |
posted means sent from another country for the work; local means employed locally. |
assignment.social_security_country |
country code | |
assignment.social_security_regime |
eu_eea_swiss_coordination, uk_withdrawal_or_tca, bilateral_agreement, third_country_no_agreement, local_social_security |
local_social_security is the social security of the Workplace’s country. |
assignment.is_cleaning |
boolean | A cleaning-sector assignment. |
assignment.expected_duration_days |
integer, days | Only when the end date is unknown. |
assignment.residency_duration_days |
integer, days | |
assignment.be.non_eea_temporary_services_exemption |
boolean | Used by the Belgian professional card rules. |
assignment.be.limosa_exemption_claimed |
boolean | |
assignment.be.limosa_exemption_reason |
string | |
assignment.be.stay_duration_days |
integer, days | Expected stay in Belgium. |
assignment.be.days_in_180 |
integer, days | Assignment days in the rolling 180-day window. |
Engagement
Section titled “Engagement”| Code | Type | Notes |
|---|---|---|
engagement.contract_value_ex_vat |
integer | The contract value, excluding VAT. Optional: Dockt treats an unknown value as €30,000 or more. Set it only for a smaller contract, which the Flemish duty of care may exempt. |
engagement.is_cleaning_for_third_party |
boolean | Cleaning work for a third party. |
engagement.uses_third_country_nationals |
boolean | Whether the company uses workers who are nationals of countries outside the EEA and Switzerland. |
Values Dockt works out
Section titled “Values Dockt works out”Dockt works some values out from the model instead of asking for them:
- The work’s dates come from its
period, and the worksite country from the Workplace. - Whether a Company works for you directly, how deep it sits in a subcontracting chain, and how many subcontractors it has at the Workplace come from the Engagement network.
- The Belgian region comes from the Workplace address.
- A construction Workplace has Belgian 30bis building work (
workplace.be.activity_immovable_works), and a Company working at a Workplace with 30bis, meat or cleaning work is in a Belgian risk sector (company.be.risk_sector). - A Workplace fed by a construction-site Connection, such as a Conneqtr site, is a construction Workplace (
workplace.is_construction) without meat-sector activity (workplace.be.activity_meat). - Posting status comes from the employer’s country:
localwhen it is the Workplace’s country,postedotherwise. - The social-security regime follows from that:
local_social_securityfor local work,eu_eea_swiss_coordinationfor an EEA or Swiss national posted by an employer in the EEA or Switzerland, anduk_withdrawal_or_tcafor an EEA, Swiss or UK national posted by a UK employer. Other routes are asked for. assignment.be.limosa_exemption_claimedisfalseuntil you claim an exemption.
A value you or a Connection send always replaces one Dockt works out. Evaluation uses the values it works out for an Assignment; the Assignment’s own attributes show only the values sent to it.
Values from other sources
Section titled “Values from other sources”Attributes can also come from a Connection (connection), a document (document), a registry (registry) or Dockt itself (derived). Responses show the effective value of each attribute and its source. A registry value wins; otherwise the latest value counts. When sources disagree, the record lists the attribute under discrepancies and Decisions that use it get an attribute_discrepancy finding.