/merit-aktiva-workspace:merit-tsdfrom merit-aktiva-workspace
Guides filing Estonian TSD annexes lisa 5 (gifts, donations, entertainment) and lisa 6 (non-business expenses) that payroll software cannot handle. Covers monthly filing triggers, 22/78 gross-up, e-MTA form codes, and the cumulative annual allowance.
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.
An Estonian company files one TSD per calendar month, due the 10th of the following month. Payroll is only part of it. Two annexes come from the accounting side and are routinely missed:
Merit does not file either. Merit Palk's "Saada TSD" submits the payroll annexes (lisa 1 / lisa 2) and knows nothing about lisa 5 or lisa 6; Merit Aktiva files no TSD at all. If a month has a lisa 5 or lisa 6 item, complete the return in e-MTA → Maksud → Tulu- ja sotsiaalmaksu deklaratsioon (TSD) — and if payroll was already sent from Palk, add the missing annex there before the 10th rather than leaving it off.
TuMS § 54 lg 2 — a resident legal person must declare the costs and payments named in §§ 49–53 for the previous calendar month. So a single entertainment cost or one euro of tax-authority interest makes the return mandatory, even when the tax works out to zero. There is no de-minimis threshold and no "not worth it" exemption.
Practical check each month: any payroll (lisa 1/2), any fringe benefit (lisa 4), any gift, donation or partner hospitality (lisa 5), any fine / sunniraha / tax-interest / undocumented payment (lisa 6), any distribution (lisa 7)? Any one of them → file.
TuMS § 4 lg 1 sets 22%, and § 4 lg 1¹ divides the taxable amount by 0,78 before
applying it. So the tax on a base amount is base ÷ 0,78 × 22%, i.e. 22/78 ≈ 28,205 %
of the base. Compute it that way, never as 22% of the base.
Pay to the tax authority by the same 10th (§ 54 lg 4).
TuMS § 51 lg 1 taxes a resident company on expenses unrelated to business. § 51 lg 2 defines them:
| § 51 lg 2 | What |
|---|---|
| p 1 | the costs in § 34 punktid 3–6, 11 ja 13 |
| p 2 | joining/membership fees to non-profits where participation is not directly business-related |
| p 3 | payments with no source document meeting the Accounting Act's requirements |
| p 4 | buying services unrelated to the company's business |
| p 5 | discharging obligations unrelated to the company's business |
§ 34 p 3 is the one that bites most often:
"seaduse alusel määratud trahve ja sunniraha ning maksukorralduse seaduse alusel tasutud intresse, välja arvatud maksukorralduse seaduse § 111 alusel ajatatud maksuvõlalt tasutud intresse, kui maks ei ole määratud maksuotsusega"
Ordinary late-payment interest on a self-declared return is always taxable — the tax authority's own guidance is explicit that fines, sunniraha and MKS interest need no business-purpose test, they are taxable by definition. The only carve-out is interest on a debt formally rescheduled (ajatatud) where the tax was not assessed by a maksuotsus.
| Code | Line |
|---|---|
| 6000 | Difference vs market value on related-party transactions; hybrid-mismatch amounts |
| 6010 | Fines and sunniraha imposed under law |
| 6011 | of which paid to the tax authority — pre-filled by the tax authority |
| 6020 | Interest paid under the Taxation Act (MKS) |
| 6021 | of which paid to the tax authority — pre-filled by the tax authority |
| 6030 | Value of property specially confiscated from the taxpayer |
| 6040 | Environmental charge at the increased rate / damage compensation |
| 6041 | of which paid to the tax authority — pre-filled |
| 6050 | Bribes and kickbacks |
| 6060 | Non-profit joining and membership fees (§ 51 lg 2 p 2) |
| 6070 | Payments made on a missing or non-conforming source document (§ 51 lg 2 p 3) |
| 6080 | Non-business obligations, asset and service purchases, excess borrowing cost (§ 51 lg 2 p 4–5) — also where interest imposed under foreign law goes |
| 6090–6130 | Non-cooperative-jurisdiction items (securities, holdings, penalties, loans) and credit-institution losses |
| 6140 | Maksustatud summa vähendamine — reduction of an amount taxed in an earlier period |
| 6141 / 6142 / 6143 | The earlier period that fell away: month / year / amount |
| 6150 | Maksustatav summa kokku — the taxable total |
| 6160 | Tasutav tulumaks — the tax due |
| 6170 | Tagastatav tulumaks |
6150 is the total, not 6140. Older write-ups (and the pre-2022 form PDF) show 6140 as the sum of 6000–6130; the current form inserted the prior-period reversal block at 6140–6143 and moved the taxable total to 6150, with the tax at 6160. Read the live form, not an archived PDF.
The x1 codes are memo lines, not additions. 6011 / 6021 / 6041 are pre-filled by the
tax authority from its own records and are excluded from the taxable total. Enter the full
amount on 6010 / 6020 / 6040; do not also add the pre-filled figure, and do not subtract it.
Worked example: interest of 100,00 entered on 6020, with 6021 also pre-filled at 100,00,
gives 6150 = 100,00 and 6160 = 28,21 (100 ÷ 0,78 × 22 %) — the pre-fill is not
double-counted into the base.
Entertainment (vastuvõtukulud) — TuMS § 49 lg 4. Hosting guests or business partners (food, accommodation, transport, entertainment) is tax-free up to 50 € per calendar month (the figure from 01.01.2025 — older "32 €" is stale) plus 2 % of that period's payments charged with personalised social tax.
The allowance is cumulative across the calendar year — this is the mistake to avoid. TuMS § 49 lg 5 allows a summed recalculation, and lisa 5 implements it directly:
5100 entertainment costs — this calendar MONTH <- the ONLY field you type into
5110 entertainment costs — calendar YEAR to date (computed)
5120 allowance = [lisa 1 (1200 + 1201 − 1500) + lisa 2 (2200 + 2201 − 2500)] ≥ 0 × 2 %
+ (50 × calendar-month number) (computed)
5130 calculated tax · 5140 / 5150 adjusted (computed)
5160 tax due · 5170 tax refundable → both carry to TSD code 114
Taxable = 5110 − 5120, floored at zero. In July the fixed part of the pool is already
7 × 50 = 350 €, not 50 €. Never judge a single month against 50 € — a company that
spent nothing January–June can spend the whole accumulated pool in July tax-free. The
allowance resets on 1 January; a new year starts the count from scratch.
Only 5100 is editable. 5110 and 5120 are computed by the tax authority from the year's
declarations — do not try to force them. Worked example: a company with 2 000,00 of
social-taxed payments year-to-date, filing for July, gets 5120 = (50 × 7) + (2 % × 2 000) = 390,00. Any 5110 up to 390,00 is fully exempt; only the excess reaches 5130.
Gifts and donations use the parallel pair: 5000 (fully taxable gifts/donations), 5010 month / 5020 year for gifts and donations to listed (nimekirja kantud) associations, whose own annual cap is 3 % of payroll or 10 % of last year's profit (§ 49 lg 2–3, taxpayer picks one).
Declare even when fully exempt. Codes 5100 / 5010 are filled in the month the cost was
made, with the running year total alongside — that is what drives the summed calculation.
An exempt month with no entry breaks the accumulation. Entering 0 (or "Arvuta ümber")
confirms a nil month and triggers a refund of any earlier overpayment via 5170 → TSD
code 114.
accounts list — do not
assume them.base ÷ 0,78 × 22 %).Verify current amounts against Riigi Teataja and the tax authority's annex guidance before relying on them — the 2025 reform moved several figures and pre-2025 write-ups are stale.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub elnora-ai/elnora-merit-aktiva --plugin merit-aktiva-workspace18 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".
/merit-company-lookupLook up Estonian companies in the Business Register (äriregister) using the two FREE live services via `elnora-merit ariregister`: invoicing requisites (legal name, VAT number, status, address) by registry code, and e-invoice capability. Use to fill or verify customer/invoice details from the authoritative source, or to check whether a company can receive e-invoices before sending one. Use when: looking up a company's registry data, getting a VAT number or address by registry code, verifying customer details before invoicing, or checking e-invoice capability. TRIGGERS: "äriregister lookup", "business register", "registrikood", "look up company", "company requisites", "VAT number for", "registry data", "verify customer", "e-invoice check", "can they receive e-invoices", "e-arve check", "kmkr number".
/merit-documentsKeep every Merit Aktiva transaction backed by its source document (receipt / supplier invoice). Audits Merit for invoices missing an attachment, searches configured sources (local folders, or Gmail/Drive/etc. via a command adapter) for the matching PDF, stages or attaches it, and reports what it cannot find to a Slack-compatible webhook. Runs on a schedule. Use when: "missing receipts", "which invoices have no document", "attach receipts", "receipt audit", "documents without invoices", "find missing invoices", "auto-attach receipts", "receipt reminder", "document compliance". TRIGGERS: "missing receipt", "missing invoice", "no attachment", "receipt audit", "document sync", "attach receipt", "which transactions lack a receipt", "unattached invoice", "receipt reminder", "merit documents".
/merit-lhvHow to pull an LHV bank statement straight into Merit Aktiva without touching a file export — LHV's own MCP server returns camt.053 XML, which is exactly what Merit's bank-statement import accepts. Covers connecting LHV (OAuth2 + Smart-ID, read-only), the 31-day window, the multi-currency trap, and where the statement stops being the agent's job and becomes a match-and-confirm in the Merit UI. Use when: importing an LHV statement, reconciling the LHV bank in Merit, pulling transactions or balances from LHV, connecting LHV to Claude, or backfilling several months of LHV history. TRIGGERS: "lhv", "lhv.ai", "lhv pank", "lhv statement", "lhv bank", "import lhv", "pull from lhv", "lhv transactions", "lhv balance", "connect lhv", "bank statement from lhv", "reconcile lhv", "lhv to merit", "camt from lhv", "lhv backfill".
/merit-palk-employeesHow to onboard employees and maintain contracts, contacts, and base salary agreements in Merit Palk via `elnora-merit palk`. Covers the sendemployees-vs-sendpayterms distinction, required import codes, and reading the employee / agreement lists. Use when: adding a new employee, creating a first contract, setting or updating a base salary agreement, adding an employee's bank/contact details, or listing employees/agreements. TRIGGERS: "add employee", "onboard employee", "new hire", "create contract", "tööleping", "base salary agreement", "palgakokkulepe", "change salary", "update salary agreement", "employee bank account", "employee contact", "list employees", "employee list".
Other plugins' skills for the same job