Generating an HR Document (DOCX)
Generates a Russian HR document (hiring or termination order) in DOCX format based on employee data, organization data, and document parameters.
URL
Method: POST
- Production:
https://registry.wallet.kvell.group/reg2/hr/generate
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
type |
string | Yes | Type of document to generate (HIRING_ORDER, TERMINATION_ORDER) |
employeeName |
string | Yes | Employee's full name |
position |
string | Yes | Employee's job title |
salary |
number | Yes | Employee's salary in rubles |
company |
string | Yes | Organization name |
director |
string | Yes | General director's full name |
date |
date | Yes | Document date, or hiring/termination date |
number |
string | No | Personnel number |
department |
string | No | Department |
directorPosition |
string | No | Manager's job title |
dateContact |
string | No | Employment contract date |
numberContact |
string | No | Contract number |
Request example
{
"type": "EMPLOYMENT_CONTRACT",
"employeeName": "Иванов Иван Иванович",
"position": "Backend Developer",
"salary": 150000,
"company": "ООО Ромашка",
"director": "Петров Петр Петрович",
"date": "2026-03-02",
"number": "1234",
"department": "Отдел ИТ",
"directorPosition": "Генеральный директор",
"dateContact": "2026-03-02",
"numberContact": "string"
}
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
X-Api-Key |
string | Yes | Unique identifier (UUID) |
Response
The response returns an application/octet-stream file (DOCX).