preview_opening_import
Dry-run opening balance rows before posting: normalizes balances to Rappen, resolves accounts, and reports unmapped accounts and balance mismatches without writing.
Instructions
Dry-run already-parsed migration rows into an opening position without writing anything: normalises a signed balance column or a debit/credit pair into integer Rappen, resolves each account number against the chart, and reports the rows the chart does not know (unmapped) alongside the balance check. Takes rows as an array of column-value objects, NOT a CSV string: parsing the export into rows is the caller's step. It refuses the same things import_opening_balances refuses, including an account named twice, so a preview that comes back clean is not followed by a surprise rejection. This reports what the FILE says and whether its own two sides agree; it cannot tell you the file is the right one, so compare the per-account lines against the Beleg. It takes no idempotency key and can never post.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | ||
| rows | Yes | ||
| format | No | ||
| mapping | No | ||
| reference | No | ||
| workspaceId | Yes | ||
| differenceAccount | No |