/merit-aktiva-workspace:merit-palk-payrollfrom merit-aktiva-workspace
Runs monthly payroll in Merit Palk via elnora-merit palk CLI: sends salaries, withholdings, and absences. Covers Typecode rules, absence type enum, and accounting-period fields.
Ships in merit-aktiva-workspace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Endpoints: palk salary create (sendsalary) and palk absences create (sendabsence). Both
POST one record per call — loop for a whole month's run. No API delete/update; a wrong
row is fixed manually in Merit Palk. Confirm each payload before sending.
Load the company books reference (configured salary/withholding import IDs, department codes) from the references dir (
MERIT_REFERENCES_DIR) before building rows —Typecodemust match an import ID that already exists in Merit Palk. (These Palk IDs are not incompany-profile.json, which covers Aktiva reference data only.)
One row = one salary or withholding line for one employee in one accounting month.
elnora-merit palk salary create --data '{
"ContractCode": "39001011234",
"Typecode": 100,
"Tariff": 12.000000, "Amount": 168,
"Month": 6, "Year": 2026,
"DepCode": "ADMIN", "DocName": "June 2026"
}'
ContractCode = contract import code or the employee's Personal ID code.Typecode sign chooses the table: positive = Salary type import ID; negative =
Withholding type import ID (e.g. -200). The code must already exist on the matching card
in Merit Palk (Payroll → Salary types / Withholdings → Withholding types, "Import ID" field).Tariff × Amount = gross (when the salary type's method is Tariff × Amount × Coef; the
Coef is configured in Merit Palk). Amount = hours/days/pieces/percentage; Amount is ignored
for withholdings. Tariff/Amount are required for the Tariff×Amount×Coef method.Month and Year are integers (the accounting period), not a YYYYMM string.DepCode, CCCode, PrCode (ignored if missing), NormHours, NormDays, DocName.To enter a full month, send one call per salary/withholding line. There is no batch payload and no rollback, so verify the set, then loop.
elnora-merit palk absences create --data '{
"ContractCode": "39001011234",
"Typecode": 1,
"StartDate": "2026-07-01",
"AbsenceDays": 10,
"Month": 7, "Year": 2026,
"DocName": "Summer vacation"
}'
Typecode is a fixed Merit enum (you do NOT create these). Common values:
1 Annual vacation · 4 Extended annual vacation · 6 Study leave · 7 Temporary
incapacity (sick leave) · 9 Leave on employer permission · 10 Carer's leave ·
1004 Unpaid vacation · 1005 Parental leave · 1014 Maternity leave ·
1015 Child leave (from 01.04.2022). (Full list in the
reference manual.)StartDate (YYYY-MM-DD) and either AbsenceDays or EndDate — if AbsenceDays is set,
EndDate is ignored. Month + Year are the integer accounting period.AvgType 1 six-month average · 2 continuous · 3 custom (then set
CustomSum). Omit AvgType to let Merit pick the most favourable for the employee.Typecode 7): IncapStartDay = which day employer compensation starts
(1 first day, 2 second, …), IncapPercent = compensation percent (whole number, 70–100).Typecode, not a positive one.Typecode that isn't configured in Merit Palk (salary/withholding rows) — it
must pre-exist as a numeric import ID. Absence Typecodes are the built-in enum.YYYYMM field — send* bodies use integer Month + Year.create. Test on a free test company first.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
payroll, merit-palk, salary, absences, withholdings, monthly-payroll
18 skills in this plugin
/merit-aktiva-workspaceMerit Aktiva accounting — routes work to the elnora-merit CLI, slash commands, and agents. Use when: looking up or creating invoices, recording payments, checking financial reports, managing customers/vendors, or any Merit Aktiva accounting task. TRIGGERS: "merit", "merit aktiva", "aktiva", "invoice", "sales invoice", "purchase invoice", "create invoice", "unpaid invoices", "record payment", "customer balance", "vendor", "income statement", "profit and loss", "balance sheet", "VAT", "accounting", "bookkeeping", "chart of accounts", "general ledger", "reconcile stripe", "book stripe payouts", "card sales".
/merit-business-tripsHow to record Estonian foreign business trips (välislähetus) in Merit Aktiva correctly: tax-free daily allowance (välislähetuse päevaraha), the VAT treatment of flights and hotels (which is NOT reverse charge), paying a non-employee's travel via a käsundusleping, and client/partner meals (vastuvõtukulud). All figures are the current statutory limits — verify against Riigi Teataja, since the 2025 reform raised several of them and older blog figures are stale. Use when: booking per diem, a trip expense report, a foreign flight/hotel invoice, a contractor's covered travel, or a business-partner dinner. TRIGGERS: "lähetus", "välislähetus", "päevaraha", "daily allowance", "per diem", "business trip", "trip expenses", "kuluaruanne", "aruandev isik", "reporting person expense", "vastuvõtukulud", "representation costs", "client dinner", "äripartnerite toitlustamine", "TÖR", "töötamise register", "tasuta töötamine", "käsundusleping travel".
npx claudepluginhub elnora-ai/elnora-merit-aktiva --plugin merit-aktiva-workspaceOther plugins' skills for the same job