Query the accounting system's period management endpoint to retrieve the list of open and closed periods with their current lock status
Initiate a period close by posting a period-lock request for the target period, which typically transitions the period through a closing workflow before the final lock is applied
Verify that the period-close checklist items (unposted transactions, unreconciled accounts, unapproved journals) have been resolved before the lock is accepted
To reopen a locked period, post a period-unlock request with a business justification; in some systems this requires an elevated permission role not available to standard accounting users
After the unlock is granted, make the necessary correcting entries and then re-initiate the period-close workflow
Audit the period lock and unlock history by querying the system change log or period audit trail for the affected period
Known gotchas
Some accounting systems distinguish between a soft close (prevents new transactions from less privileged users) and a hard lock (prevents all postings); the API may expose both states and the correct one must be targeted depending on the organization's policy
Reopening a period that has already been included in a filed tax return or published financial statement requires a formal amendment process; the API will not block the reopen but the accounting and compliance consequences are outside the system's control
In multi-entity or multi-subsidiary systems, each entity may have an independent period close status; locking at the parent level may not automatically lock subsidiary periods, and vice versa
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp