# Close the books

The skill starts the close for the month you name, reads what is holding it open, and clears the blockers one at a time with you. It shows the state before every step and asks first for anything that reaches out. It never locks the period itself: that approval is yours to click in Well.

This skill writes data rather than only reporting on it. It shows you what it will do, and changes nothing until you confirm.

`npx skills add wellapp-ai/skills --skill close-books`

## How the skill answers

Every step of the run, in order, with the card each one returns. A step that hands its work to another skill says which one.

01. You ask

Close the books for last month

02. Pin the workspaceSkill used [define-workspace](/content/skills/define-workspace/index.html)

### Workspaces

Pick the workspaces to work in.

Your workspaces

Maxime Champoux
    
    Well App Inc.
    Default workspace

03. Resolve the own companySkill used [confirm-my-company](/content/skills/confirm-my-company/index.html)

04. Read connection coverage once, then connect the bank only if it is missingSkill used [connect-tools](/content/skills/connect-tools/index.html)

### Connect a tool

Pick a tool to connect it to Well.

Available tools

Qonto
     Mercury
     QuickBooks
     Xero
     Chronograph
     Daloopa
     iBanFirst
     Moody's
     Morningstar
     MSCI
     MT Newswires
    Pennylane
    PitchBook Premium
     Plaid
     S&P Global
    Wise

05. Connect the accounting side only if it is missingSkill used [connect-accounting](/content/skills/connect-accounting/index.html)

06. Set the fiscal year startSkill used [accounting-settings](/content/skills/accounting-settings/index.html)

07. Collect the month and start the close — run `define-period` in `mode: collect`, then `well_start_close`Skill used [define-period](/content/skills/define-period/index.html)

08. Read the state

09. Confirm the scope

10. Clear the blockers, one at a timeSkill used [fetch-missing-invoices](/content/skills/fetch-missing-invoices/index.html)

11. Prepare the package

12. Mint the approval offer

13. Hand off the lock to the user

14. Confirm the lock

15. You get

May is started and not locked. Three things are still blocking: 14 transactions uncategorized, 5 suppliers with no invoice, and 2 payments unmatched. Clear those and the close package is ready. The final lock stays your click inside Well.
