/quints:close-vat-periodfrom quints
Guides through closing a Swiss VAT period in quints books: refresh FX rates, complete the period, review the VAT report, book the settlement, and track filing/payment with ESTV.
Ships in quints. 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.
Input: a period, e.g. 2026-Q3, 2026-H2 or 2026. Each step below is
reviewed and committed on its own.
Not professional tax advice: this skill and quints work out figures from what is booked. They don't judge the user's tax position. Say so when you show the user a VAT decision or a return, and leave a question of judgement to them or their Treuhänder.
AGENTS.md (section VAT status) and quints vat status --json say how
the entity files today: the method and the period length. Under the
Saldosteuersatz method the period is a half-year.
To see every ended period that isn't settled yet, with its return's due date, the settled ones not paid yet, and the running period's Ziffern:
quints digest --output-format json
Not VAT-registered? There is nothing to file. Run
quints vat liability --at <period end> instead: it says whether the
turnover now requires registration. Tell the user what it found, and stop.
quints prices sync (needs the network). If prices.bean changed,
commit it on its own: it holds published rates, not bookings.
Reconcile every statement up to the period end first (the reconcile
skill). staging/ must hold no draft dated in the period, and
quints check --review must list nothing dated in it: no ! flag, no
entry without its document, no bank balance left unasserted.
Then sweep the period's purchases. Every foreign-currency expense must
carry either an InputVAT leg, a Bezugsteuer pair, or a ; comment saying
why it has neither. Book what is missing as the book-expense skill does.
Corrections go into this open period, never into a period already filed.
quints vat report -p <period>
Work the two lists below the Ziffern before you settle:
mwst: tag, InputVAT under the
Saldosteuersatz) and ledger errors. Fix each in the books and run the
report again.quints check fails on the same Prüfung list, for every period not settled
yet. Settle only once it passes: a settled period's problems no longer fail
check, because only a counter-entry in a later period corrects a filed
return. Settling over a problem hides it from the gate for good.
Compare the payable amount with the previous period. A large swing is worth a sentence to the user.
quints vat settle -p <period>
It prints the settlement transaction and its balance assertions. Paste
both into books/<year>.bean in date order and run quints check. Show
the user the return and the entry, and commit only once the user has
approved them: these are the figures they will file.
quints vat export -p <period> --output-file vat-<period>.xml
It writes the return as the eCH-0217 file the ESTV ePortal takes by upload. The user uploads it, submits and pays. quints does none of that. Both are due 60 days after the period ends. Don't commit the file.
documents/, in the folder of
the payable_vat account, and link it from the settlement transaction
with document:.payable_vat, the draft already carries
the period's ^VAT-<period> link. Otherwise complete the draft yourself:
counter leg payable_vat, the ^VAT-<period> link, and suggest the rule
to the user.quints vat status
shows each settled period until it is paid, with its due date.
quints digest flags a due date closer than three weeks.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/book-expenseBook a receipt or supplier invoice (usually a PDF in inbox/) into quints books - read it, pick the expense account, decide the VAT legs for the entity's VAT status, file the document, draft the transaction and validate it with quints check. Use when the user hands over an expense document, says "book this receipt/invoice", or asks to record a purchase./reconcileReconcile bank and payment-provider statements against quints books - run the configured importers, work the staging/ drafts down to zero (counter leg, VAT decision, document), and land the statement's balance assertions. Use when the user says "reconcile" or "import the bank statement", hands over a statement file, or before a VAT period or year is closed.npx claudepluginhub sealambda/quints --plugin quintsOther plugins' skills for the same job