Plank help · updated 2026-11-18
Monthly payroll accrual in 1C (Kazakhstan)
The four documents one month of payroll produces per organisation — accrual, withholdings, СН и СО, and the reflection in regulated accounting — how they are related (they are not linked), and the one field whose emptiness passes every automated check: «Статья расходов».
Agents: fetch the raw markdown of this page at /en/help/1c-payroll-accrual.md
Monthly payroll accrual in 1C (Kazakhstan)
One month of payroll, for one organisation, is four documents — not one, and not one per employee. Each covers all the employees in the period.
| # | Document | What it holds |
|---|---|---|
| 1 | Начисление зарплаты работникам организаций | what was earned |
| 2 | Расчет удержаний работников организаций | ИПН, ОПВ, ВОСМС, deductions |
| 3 | Расчет СН и СО | СН, СО, ООСМС, ОПВР, ОППВ where applicable |
| 4 | Отражение зарплаты в регламентированном учете | the postings |
Зарплата к выплате is the payment step. It is not one of the four, and it is
created only when the money actually moves.
There is a kit for this: install 1c-payroll-kz (see
the 1C starter kit). The rules below are what it enforces.
They are not linked to each other, and that is normal
There is no ДокументОснование between these four. Do not look for one, and do
not create one. In this configuration they are tied only by:
- the organisation,
ПериодРегистрации— the accrual month,- the individual (
Catalog_ФизическиеЛица), - and amounts that agree because someone made them agree.
Two consequences, and both are load-bearing:
Changing the accrual changes nothing downstream. Edit document 1 and documents 2, 3 and 4 keep the old numbers, silently, with no recalculation and no warning. If you amend an accrual, every later document in that month is now suspect and has to be re-read against it.
The duplicate guard cannot use a basis link. Recognise an existing document by
organisation + ПериодРегистрации month + document kind, then by whether the
individual already has rows in it. A second «Расчет СН и СО» for the same month is
not a second opinion; it is double the taxes.
What you need before you start
- the organisation and the base — see OData rules §2.5;
- the employee and their
ФизическоеЛицо; - the accrual month;
- the kind of accrual: salary, vacation pay, compensation — they are not the same row;
- the amount;
- working days and hours from the official production calendar for that month;
- time actually worked, and any absences;
- the current rates, caps, deductions and exemptions;
- the subdivision and the reflection method;
- the confirmed expense item (see below).
If any of these is missing, that employee stops. Not the run — that employee.
Find a comparable posted chain first
Read a posted chain for the same organisation in the same base, ideally the previous month, and use it for shape: which rows exist, which fields are filled, which references are used. Names confirm that you found the right template; the references you write must still come from this base.
Then read the whole target period before writing anything, and exclude duplicates by organisation, month, individual and kind.
The amounts are not last month's amounts
Copying the previous month's row is the technique — and it is where the money goes wrong. The shape is stable across months. The numbers are not:
- rates, caps and thresholds change, sometimes mid-year;
- the taxable base follows this month's accrual, not last month's;
- deductions and exemptions can start or stop for one employee;
- the production calendar differs every month, so days and hours differ;
- a zero row is legitimate only with a confirmed reason. A leftover zero row copied from a template is not a reason.
Set the tax-period month on every row, not only in the header. A row carrying last month's tax period is a correct amount filed against the wrong month.
The same goes for every other date the source month states — a header
ДатаОкончания, a row's period bounds. The kit restates each date of the copied
month as the same date of the new one (first day → first day, last day → last day)
and leaves dates of other months alone (a hire date is not this month's). A
mid-month date is carried as the same day and held for a person to confirm.
What changed this month goes in a decisions file — never in the script
When the accountant has decided what differs this month — working days and hours
by the calendar, a raise, the document date — write it to ONE JSON file and pass
create-payroll.py --decisions FILE. Do not patch the kit's scripts to change
a number: a patched copy is a fork that no kit update can ever reach. The kit
README has the file's shape. Each change names the source document (source_ref),
the row by its LineNumber in the source month, the row's person and the old
value of every field it changes (expect) — so a change decided against a
different month, or a source edited since, is refused rather than applied to the
wrong person. The person, the employee, the period and the organisation cannot be
changed this way; header takes only Date.
The kit still computes nothing: a changed accrual amount is not carried into
withholdings, contributions or the reflection. The run says so
(reflection-total-mismatch); the fix is to let 1C recalculate the drafts and have
the accountant read them, not to hand-compute the other three.
When the base names things differently
Section and field names differ between configurations and even inside one base —
one names the person Физлицо_Key in «Начисления» and ФизЛицо_Key in the
reflection. The kit reads the person field off $metadata, has default section
lists per document and a table of where each section keeps its money («Налог»,
«Взнос», «Отчисление», «Сумма», «Результат»). Where a base differs, set it in
scripts/1c/mapping.json under payroll (sections_by_kind,
individual_fields, amount_fields, comment) — a config edit, never a code
edit. A source section the kit would not copy is a refusal (section-not-copied),
not a silent omission.
Ask only what needs the accountant
A question goes to the accountant only for genuine judgement: an amount that changed, a new employee or a leaver, an expense item the base's own history does not settle. Never ask what the source already states — a date, a period, an individual, an account a posted month of this company uses — and never ask the same setup question once per line or per employee: state it once, as one finding.
«Статья расходов» is mandatory, and its absence is silent
In the reflection document, every applicable row must carry an expense item. Leaving it empty is not an omission the configuration will catch for you.
This is the defect that reached a real accountant on 2026-08-04: the drafts were built, the amounts were right, the accounts were right, and the expense item was empty. Nothing failed. The document read as finished.
- Take the item from a posted comparable document of this same company. It is frequently «Заработная плата», but the name is a hint and the reference is the answer — confirm it in this base.
- If the configuration keeps both accounting and tax analytics, fill it in both.
- An empty expense item is a stop, not a warning. The kit refuses to write the reflection document without one.
Check the rest of each posting too: debit account, expense item, subdivision, credit account, calculation kind, individual and amount.
The reflection total is larger than the payroll, and should be
The reflection covers accrual plus withholdings plus employer contributions. A reflection that sums to the net salary is missing rows; a reflection that sums to the gross accrual alone is missing the employer side.
The number to check it against is the sum of the rows you prepared across
documents 1–3 — not the salary, and not the payment. For example, an ИП's October:
accrued 340 000, withheld ОПВ 34 000 + ВОСМС 6 800, employer СО 17 000 + ООСМС
10 200 + ОПВР 8 925 — reflection 416 925. The kit checks this identity on a
whole-month run and warns reflection-total-mismatch when it does not hold.
Writing
- Drafts only:
Posted = false,DeletionMark = false, with a comment —payroll.commentinmapping.json, «Черновик зарплаты. Требует проверки бухгалтером.» by default. The words «Требует проверки бухгалтером» are always kept: they are how next month's run tells this draft from the accountant's own. - Tabular sections go inside the parent document's POST.
- Re-check for a duplicate immediately before each write.
- After each write, re-read from 1C and verify: status,
ПериодРегистрации, the individual, row count, amounts, taxable bases, accounts, and the expense item. - A second run must recognise what the first one created and add nothing.
Amending, and when to stop
- Amend a document only after re-reading it and confirming it is the one meant.
- Send every row you intend to keep. A partial tabular section replaces the section — the rows you left out are deleted.
- A wrong draft is corrected in place with
correct-document.py(its anchor andRef_Keyfromfind-runs.py). Payroll drafts carry the run anchor in «Комментарий» where the platform's write proxy is on; a draft without one is a warning in the dry run, and you still correct it in place. - Never delete-and-recreate, and never fix a draft by hand in the browser. If 1C rejects the change, do not create a corrected copy next to the wrong document. Two payroll documents for one month is worse than one wrong one. Stop, report the document number and the correction needed, and let the accountant fix it in 1C.
- Posted is the normal state of an accepted document, not an anomaly — a re-run sees it as present and adds nothing. A wrong posted one is still corrected in place: unposted, corrected and posted again (ADR 0024).
Final check, per employee
- the accrual matches time worked and absences;
- withholdings are computed from the right base;
- employer contributions are computed from the right base;
- the reflection has every row it needs and a filled expense item on each;
- organisation, period and individual agree across all four documents;
- every document has the status you expect;
- there are no duplicates;
Зарплата к выплатеexists only if it was actually required.
Posting
A separate step you take yourself, after the whole chain has been checked —
the agent shows «было/станет» in the chat and writes itself, without waiting for a
person (ADR 0024). Post all four in one post-documents.py call, in
chain order (--ref Document_X:<Ref_Key> per document). It proves each one by
its register movements; a document that fails is named and left unposted and the
others are still attempted. 1C posts each from its own rows and refuses one that
genuinely depends on a failed one — but if the accrual failed, the later
documents of that month are posted against an accrual that is not: report that
month as one finding, do not post it again and do not recreate anything.
Payment lists, and a sole trader's own contributions
The payment side — Зарплата к выплате, and the contribution lists
(ОПВ/СО Перечисление в фонды) the bank-statement kit creates behind each
contribution payment order — is not part of the four. A list can legitimately
move no register when there is no accrual for it to close: post-documents.py
reports it, unposts it again, and posts the payment orders that cite it on their
own. It does not block them, and it is not recreated or asked about line by line.
On a sole trader's (ИП) base the usual cause is that the ИП's own contributions («за себя») were never accrued, so the payment orders' 32xx debit hangs with nothing accrued against it. That is one setup finding for the accountant, stated once:
- Учетная политика (НУ) → «Учет индивидуального предпринимателя» → tick «Выполнять ежемесячный расчет взносов и отчислений за ИП»;
- the ИП registered as a сотрудник;
- each month: «Регистрация прочих доходов» → «Расчет удержаний» → «Отражение зарплаты в регламентированном учете»;
- then repost the lists.
The kit does not compute the ИП's contributions or create those documents — the setup is the accountant's — but say it whenever lists move nothing on an ИП's base.
Afterwards
Whether the money actually left the account is a different question, answered by a different, read-only procedure: checking payroll accruals against payments.