Register Standard Documents
registerThe only way a Standard Document enters a workspace: registers Standard Statements, Standard Charts and Standard Declarations, checked exactly as admission checks them, and processes nothing. One invalid item rejects the batch (registration_rejected, item-specific repair) and keeps nothing. Each document gets a registered_document_id and a step: statements and workspace declarations (parties, account identity, corrections, profiles, source assessments) wait for submit; journal-entry declarations, voids and retirements wait for post_chart_accounts on their chart; a chart gets its chart_id now and waits for its first post_chart_accounts on that id, which installs it, and reports now the chart exceptions it would raise against the data submitted so far (registered before its statements are submitted, its claims bind nothing yet and show as claim_unbound: submit the statements, then post_chart_accounts checks it again). Register installs nothing, founds no party and starts no work; the chart is not in list_charts until its post, and nothing reaches a chart's books until post_chart_accounts. Register everything, then submit in sets (say January's statements, then the declarations) and post, checking the books between steps. Registering the same document again returns its existing row. Not metered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| workspace_tag | Yes | Active workspace id (the workspace_tag create_workspace and list_workspaces return). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||