SocialInsurancePayment
Updated
A payment to the social-insurance fund. It lowers the fund liability. It does not reverse the accrual or return the withheld employee share. SocialInsuranceAccrual books the shares; this document pays them.
| Kind | Document |
| Module | HR |
| Menu | HR → Documents → Social insurance payments |
Fields#
| Field | Caption | Points at |
|---|---|---|
ID |
Number | number sequence |
Division |
Division | Division |
Division is required. ID comes from SocialInsurancePaymentSeq, which starts at 1000 and steps by 1.
Table parts#
Lines#
SocialInsurancePaymentLines, caption Lines.
| Field | Caption | Points at |
|---|---|---|
Employee |
Employee | Employee |
EmployeeContribution |
Employee contribution | money |
EmployerContribution |
Employer contribution | money |
ContributionType |
Contribution type | ContributionType |
Employee is required. Empty Contribution type is statutory social insurance. A filled type pays that extra contribution. The slice must match the accrual line: employee, division, and type. A mismatch leaves the liability open.
Commands and states#
| State | Command | What happens |
|---|---|---|
| Draft | Pay social insurance | Paid. Both shares leave the fund register. |
| Paid | Void social insurance payment | Voided. Mix removes those movements. |
Pay social insurance (PaySocialInsurance) is bound to Draft. Void social insurance payment (VoidSocialInsurancePayment) is bound to Paid. Paid and Voided are read-only. The stored captions match the names: Draft, Paid, Voided.
An empty document is refused. Negative shares are refused. A document whose shares all sum to zero is refused. A payment above the open balance is allowed.
Registers#
On Paid:
SocialInsuranceresourcesEmployeeContributionandEmployerContributionnegative, analyticEmployee, analyticDivision, analyticContributionType(SocialInsurancePaymentTx).SocialInsurancePaymentGLTxwrites the ledger when accounting settings exist: debit the fund payable, credit cash, for the sum of both shares. The legal entity is the division's.
SocialInsurance is the fund liability. Payroll liability is not moved: the employee share was already withheld on the accrual.