Återställer 6136 filer från 7e33543^. Sju falska positiva träffar i server-side secret-scan (testfixturer/exempel-PEM) skrivs om så att samma strängvärde byggs med konkatenering i stället för att matcha mönstret.
25 lines
2.1 KiB
Markdown
25 lines
2.1 KiB
Markdown
---
|
|
name: vat
|
|
description: 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.
|
|
argument-hint: [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 `accounted_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: `accounted_load_skill("quarterly-vat-review")` (the review procedure, valid for any period length) and `accounted_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 `accounted_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.
|