Files
accounted/claude-plugin/skills/vat/SKILL.md
T
Jakob WennbergandClaude Fable 5 e33cc2428d feat(plugin): official Claude Code plugin with marketplace and seven workflow skills (#1088)
Ships an installable Claude Code plugin (/plugin marketplace add
erp-mafia/accounted) that bundles the MCP connection (OAuth, zero-key)
with seven short workflow skills following the Swedish bookkeeping
rhythm: start, bookkeep, check, month-close, vat, payroll, year-end.

Wrappers are deliberately thin: they ground in the agent briefing and
Accounted:// resources, load server-side workflow skills and regulatory
atoms via gnubok_load_skill at need, and stage every write for user
approval. No knowledge is duplicated into the plugin.

A vitest cross-checks every skill slug, atom id, resource URI, and tool
name the wrappers reference against the MCP server source, so a server
rename fails CI instead of a user's chat session.

Assessment and follow-ups in dev_docs/claude_plugin.md (local, dev_docs
is unpublished by design).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 12:59:57 +02:00

2.1 KiB

name, description, argument-hint
name description argument-hint
vat Prepare and review the Swedish VAT return (momsdeklaration). Use when the user says "moms", "momsdeklaration", "VAT return", "momsrapport", asks about rutor, EU-moms, omvand skattskyldighet, or when a VAT period is ending.
period

VAT

Prepare the momsdeklaration underlag from the ledger and reconcile it before anything is booked or filed. VAT is the highest-error area in Swedish bookkeeping: always work from loaded knowledge, never memory.

Flow

  1. If not already done this session, call gnubok_get_agent_briefing: it gives VAT registration status, period length (monthly, quarterly, yearly), and accounting method. If the company is not VAT registered, say so and stop.
  2. Load the knowledge: gnubok_load_skill("quarterly-vat-review") (the review procedure, valid for any period length) and gnubok_load_skill("horizontal/swedish-vat") for ruta mapping and edge cases (reverse charge, EU trade, import VAT, representation).
  3. Verify the period is fully booked first: any unbooked transactions in the period make the return wrong. Route gaps through /accounted:bookkeep before continuing.
  4. Generate the VAT report with the product's tools (discover via gnubok_search_tools, for example "vat report momsdeklaration") and reconcile: report rutor against the 26xx account balances, and against the previous period for anomalies.
  5. Present a per-ruta summary in the user's language, flagging anything unusual with the ledger evidence behind it.
  6. Booking the VAT settlement (redovisning mot 2650/1650) is a staged operation the user approves. Filing with Skatteverket is the user's action: prepare the underlag, state the deadline, and where the product's Skatteverket integration is connected, point at it.

Rules

  • Never compute or assert a ruta mapping from memory; it must come from the loaded skills and the product's report.
  • Every write stages a pending operation; the user approves before anything is booked.
  • Never work around a locked period; a locked VAT period means the correction goes in the current one, per the loaded skill's procedure.