⚖️ Withholdings under writs of execution and deposited wages
Updated
Two things happen to pay that is not simply paid to the employee. A writ of execution (виконавчий документ) — alimony, damages, a debt — orders part of it to go to someone else: the payroll accrual withholds it and a remittance pays the recipient. And pay the employee does not collect in time is deposited (депонується): moved off the payroll liability onto an account of its own, paid out later or written off after the limitation period.
← Business process wiki · commands
The process#
Under a writ of execution
- Writ (
ExecutionWrit): a record per writ — the employee, the kind (alimony, damages, other debt), what it asks (a percent of the income or a fixed monthly sum), the dates, the priority, the total debt, what was withheld before, the papers and the recipient (name, tax ID, IBAN or postal address). - Accrual: when a payroll accrual is posted, each employee's writs in force are withheld from the income left after the taxes, in priority order, inside the limits of the country. The payroll liability falls by it at once; the ledger gets Dr payroll liability by employee / Cr the withholdings account by writ.
- Payment to the employee: Pay payroll pays what the liability holds — the net amount.
- Remittance (
WritRemittance): pays the recipients from a bank account or a cash desk, by writ: Dr the withholdings account by writ / Cr the bank. It brings what is owed to each recipient down. - Voiding: voiding the accrual takes its withholdings back; once the recipient was paid, the remittance is voided first.
Deposited wages
- Deposit (
WageDeposit, kind Deposit): pay not collected, by employee: Dr payroll liability / Cr the deposited wages account. - Payout: the employee collects it from a cash desk or a bank account: Dr deposited wages / Cr the desk or the account.
- Write-off: after the limitation period, what is still deposited goes to other income: Dr deposited wages / Cr the account for written-off deposits.
What decides how much is withheld#
The base is the income left after the taxes: the accrued amount less what the accrual withheld in tax. Each writ asks for its part — a percent of that base, or the fixed monthly sum that has not been withheld yet this month — and takes the least of that and:
- what is left of its total debt (the total debt less what was withheld before and since);
- what is left of the share of its kind — alimony and damages on one side, other debts on the other;
- what is left of the share of all writs of the employee together, which is higher when one of them is alimony for minor children;
- what is left of the income, and of the part that must stay with the employee.
Writs go by priority — the lower number first, alimony and damages 1 and other debts 3 unless the writ says otherwise — then by start date.
The limits are the country's, so HR does not know them: the mechanism (PayrollWrits in HR) takes them as arguments and a localization passes its own. In Ukraine (Law "On Enforcement Proceedings" No. 1404-VIII, Article 70) they are:
| Limit | Share of the income after taxes |
|---|---|
| Alimony, damages to life or health, loss of a breadwinner | 50% |
| Other writs | 20% |
| All writs together | 50% |
| All writs together, with alimony for minor children | 70% |
| Amount that must stay with the employee | none |
The shares are applied to each accrual. A fixed sum is withheld once a month; a second accrual in the same month takes only what is left of it.
What the ledger shows#
| Document | Debit | Credit |
|---|---|---|
| Accrual (the withholding) | payroll liability (661), with the employee | withholdings account (685), with the writ |
| Withholdings remittance | withholdings account (685), with the writ | bank account or cash desk, with the cash-flow item |
| Deposit | payroll liability (661), with the employee | deposited wages (662), with the employee |
| Payout from the deposit | deposited wages (662), with the employee | bank account or cash desk, with the cash-flow item |
| Write-off by limitation | deposited wages (662), with the employee | other income (717) |
The Writ dimension sits on the 685 lines, so the account read by writ is what is owed to each recipient. It is the Owed to the recipient figure of the Withholdings under writs report (WritWithholding, resource Payable): withheld less remitted.
The withheld sum also leaves the payroll liability register (PayrollLiability): its Amount falls and its Withheld rises by it, the way the Ukrainian taxes do, so the accrual can still be voided and the payment document cannot pay the employee more than the net pay.
Example with numbers#
20,000.00 accrued to one employee; the personal income tax 3,600.00 and the military levy 1,000.00 leave 15,400.00. A writ for alimony on minor children at 25% takes 3,850.00. A loan of 3,000.00 a month with a total debt of 12,000.00 takes 3,000.00: its share, 20% of 15,400.00, is 3,080.00. Together 6,850.00, inside 70%.
| Step | Entry | Amount |
|---|---|---|
| Accrual | Dt 91 / Kt 661 | 20,000.00 |
| Personal income tax, military levy | Dt 661 / Kt 641, 642 | 3,600.00 and 1,000.00 |
| Alimony, loan | Dt 661 / Kt 685, by writ | 3,850.00 and 3,000.00 |
| Pay payroll | Dt 661 / Kt 301 | 8,550.00 |
| Remittance | Dt 685 / Kt 311, by writ | 3,850.00 and 3,000.00 |
With 10,000.00 accrued (7,700.00 after tax), alimony of 40% and a debt of 20%: alimony takes 3,080.00; the debt's 1,540.00 would take the total over 50% (3,850.00), so it is cut to 770.00. With alimony for minor children both are taken whole.
A deposit: an employee owed 6,200.00 does not collect it. Deposit 6,200.00 (Dt 661 / Kt 662). A payout of 4,000.00 (Dt 662 / Kt 301) leaves 2,200.00. Three years after the deposit, the 2,200.00 is written off (Dt 662 / Kt 717). Payouts are counted against the oldest deposit first.
Where the pieces are#
| In HR (any country) | In the Ukrainian package |
|---|---|
ExecutionWrit, the writ |
UaPayrollWritEventHandler on PayrollAccrual, link 30: the base after ПДФО and ВЗ, and the call |
PayrollWrits: the plan inside the limits, the withholding, its release, what is owed, the checks of a remittance |
UaPayrollWrits: the limits (50, 20, 50, 70), the accounts 685, 662, 717 and the 3-year period for an existing database |
WritWithholding (register), WritRemittance (document) |
job ApplyUaPayrollWritDefaults, command Fill the accounts of deductions and deposited wages on the Ukraine settings |
PayrollDeductionSettings: the three accounts and the limitation period |
|
WageDeposit (document), WageDepositBalance (register), WageDeposits |
|
the Writ dimension on the ledger |
The handler runs after the one that withholds ПДФО and ВЗ (link 20), so the income after taxes is known when the writs are withheld. A database without the Ukrainian package withholds under writs when something of its own calls PayrollWrits.WithholdAsync with its limits.
Income tax, the 4DF return and the payroll exports#
Withholding under a writ is a disposal of income that has already been taxed. It does not reduce the base of the personal income tax or the military levy, and it does not touch UaPayrollLevy, which the 4DF return (4ДФ) and the J05 payroll exports read: they read the accrued base, the tax, the paid base and the transferred tax, none of which a writ changes. The paid income of the 4DF is closed by Pay payroll as before, because the pay list is what is left to pay. The test AlimonyAndLoanAfterTaxes checks the base, the tax and the paid base after a withholding.
What's not there yet#
- The bank's or the post office's charge for the transfer is not withheld from the recipient or the employee; post it as a payment.
- Payments the law protects from collection (Article 73 of the Law: severance pay, maternity benefit and others) are not separated from the pay. Post them on their own accrual and suspend the writ for it.
- Withholding is done at the accrual, not at the payment; an advance paid on its own accrual is withheld on it.
- A writ for another currency is not supported: withholding, remittances and deposits are in the legal entity's currency.
- The remittance prints no payment instruction (платіжна інструкція) yet. With the Ukrainian package a payout of a deposit or a remittance from a cash desk prints the expense cash order (КО-2), and the cash book (КО-4) lists it.
- The limitation period is one number for the whole company; the date a deposit starts to run from is the date of the deposit, not of the payment term.
- The pay list and the accrual print forms are not payslips: they do not list the withholdings. The Withholdings under writs report and Settlements with employees do.
Same topic for other readers: User