listActivityEvents
List the privacy-safe organization session and work activity log for an administrator.
READ
getCanonicalWorkbookTemplate
Download the blank canonical-workbook .xlsx template: every tab, exact headers, and one worked EXAMPLE row per tab.
READ
listLedgers
List ledgers visible to the calling principal.
READ
createLedger
Create a new ledger aggregate.
WRITE
getLedger
Fetch a ledger projection including accounts and posted entries.
READ
archiveLedger
Archive a company: read-only forever after, no data destroyed. Admin-only, requires a reason and confirmArchive: true, refused while unresolved drafts exist.
WRITE
unarchiveLedger
Unarchive a company, restoring writes. Admin-only, requires a reason; the safeguard of last resort for a mistaken archive.
WRITE
getOwners
Fetch the current ownership snapshot for a ledger: a compatibility projection of the effective-dated ownership registry.
READ
replaceOwners
Fully replace or clear the current ownership snapshot for a ledger: a compatibility write over the legacy flat projection, not the effective-dated ownership registry.
WRITE
getOwnershipStructure
Fetch the effective-dated ownership structure for a ledger, current or as of a date.
READ
listOwnershipRevisions
List the append-only ownership revision history for a ledger.
READ
recordOwnershipRevision
Append an effective-dated, evidence-backed ownership revision; history is never rewritten.
WRITE
getOwnerCapitalConfiguration
Fetch the owner capital subledger account designations and readiness for a ledger.
READ
saveOwnerCapitalConfiguration
Create or update owner capital subledger account designations and opening baselines for a ledger.
WRITE
getOwnerCapitalStatement
Fetch an individual owner capital statement for a date range.
READ
getOwnerCapitalReconciliation
Reconcile total owner capital to designated equity accounts plus the current-year net income bridge.
READ
prepareOwnerCapitalAdoption
Prepare adopting an existing ledger into owner capital tracking without selecting a split.
READ
executeOwnerCapitalAdoption
Create owner capital accounts and post an approved baseline using an explicit caller-supplied split.
WRITE
APPROVAL
createOwnershipSetupDraft
Create (or resume) a tenant-scoped guided ownership setup draft; no ledger exists until it is finalized.
WRITE
getOwnershipSetupDraft
Fetch an ownership setup draft, including its staged evidence file metadata.
READ
listOwnershipSetupDrafts
List ownership setup drafts for the calling tenant.
READ
updateOwnershipSetupDraft
Merge step data (company, owners, evidence note, books) into an ownership setup draft, or mark it complex.
WRITE
stageOwnershipSetupEvidence
Stage one supporting file (hashed, no analysis) against a setup draft before any ledger exists.
WRITE
removeStagedOwnershipSetupEvidence
Remove a staged evidence file from a setup draft before finalization.
WRITE
finalizeOwnershipSetup
Idempotently create the company ledger, ownership revision, evidence references, and owner capital configuration from a complete, attested setup draft.
WRITE
renameAccount
Rename an account's display name without changing its ID, account number, or type.
WRITE
postJournalEntry
Post a balanced journal entry into a ledger with required idempotency and replay-safe retries.
WRITE
reverseJournalEntry
Post a reversal entry that reverses a previously posted journal entry with required idempotency and replay-safe retries.
WRITE
annotateJournalEntry
Attach or update an append-only plain-language narrative on a posted journal entry without changing its accounting.
WRITE
classifyJournalEntry
Record what a posted journal entry is (currently fiscal_year_close) so reporting excludes it; a classification is permanent and can never be changed.
WRITE
uploadEvidenceFile
Upload one verified source file to private evidence storage and create a linked evidence reference.
WRITE
listEvidenceReferences
List ledger evidence references, optionally filtered by initial linked entity.
READ
updateEvidenceReference
Edit the optional description on supporting evidence.
WRITE
invalidateEvidenceReference
Retire active non-draft evidence as wrong while retaining its history.
WRITE
assertEvidenceReference
Record a user assertion about an ownership evidence document.
WRITE
deleteDraftEvidenceFile
Delete a supporting file while its journal entry is still a draft.
WRITE
APPROVAL
downloadEvidenceFile
Retrieve a private evidence file as an authenticated attachment.
READ
getAccountActivity
List committed journal-line activity by account/date range.
READ
getFinancialIntelligenceContext
Return a compact, versioned, read-only financial snapshot for the authenticated human principal selected ledger.
READ
importBankCsvTransactions
Parse bank CSV rows, classify them with approved categorization-rule knowledge, and return a per-line import proposal for human review.
WRITE
APPROVAL
createBankStatementImport
Retain one CSV, OFX, QFX, or QBO bank statement and create a resumable import batch without creating accounting entries.
WRITE
getBankStatementImport
Resume a retained bank statement import from its server-authoritative batch state.
READ
saveBankStatementImportMapping
Save confirmed Date, Description, and Amount mappings for a retained bank statement import.
WRITE
reviewBankStatementImport
Show deterministic category and duplicate-review evidence for a mapped bank statement import.
READ
saveBankStatementDuplicateDecisions
Record explicit human Keep both or Remove one decisions for visible duplicate evidence.
WRITE
APPROVAL
createBankStatementImportDrafts
Create approval-required drafts from selected, resolved bank statement rows. Nothing is posted.
WRITE
APPROVAL
createBankCsvImportDrafts
Create approval-required journal drafts from human-reviewed imported bank transactions; nothing posts without explicit approval.
WRITE
APPROVAL
getTrialBalance
Compute the current trial balance for a ledger.
READ
mintAgentToken
Create a delegated agent access token for the calling organization and return its secret exactly once.
WRITE
listAgentTokens
List the organization agent access tokens without ever returning their secrets.
READ
revokeAgentToken
Revoke an agent access token immediately so the connected agent loses access.
WRITE
mintUserApiToken
Create a user-level API token that acts as its user across every organization the user belongs to, returning its secret exactly once.
WRITE
listUserApiTokens
List a user's API tokens without ever returning their secrets.
READ
revokeUserApiToken
Revoke a user API token immediately so it loses access to every organization.
WRITE
listOrganizationMemberships
List the Clerk organization memberships for the calling administrator organization as a safe normalized projection.
READ
inviteOrganizationMember
Invite a member by email into the calling administrator Clerk organization with a supported MicroBooks role.
WRITE
updateOrganizationMemberRole
Change a member role inside the calling administrator Clerk organization; administrators cannot demote themselves.
WRITE
removeOrganizationMember
Remove a member from the calling administrator Clerk organization; administrators cannot remove themselves.
WRITE