fx_revaluation_reverse
Revert a posted FX revaluation run by booking the mirror entry and its next-day reversal atomically, netting positions and account 6949 to zero. Original entries remain on record.
Instructions
Revert a posted FX revaluation run (D129 Q2): books the mirror of the revaluation entry dated the period end (source fx) plus its own next-day reversal, atomically, so every position and account 6949 net to zero on both dates and nothing is edited. runId is the run post_fx_revaluation returned. Refuses not_posted for a run that posted nothing, already_reversed, later_run_exists naming the later period end whose run still stands (revert newest first), and period_locked for a locked period. Idempotent on idempotencyKey. CONSEQUENCE: Books the mirror of the period-end currency revaluation and its own next-day reversal; the original entries stay on record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | ||
| workspaceId | Yes | ||
| idempotencyKey | Yes |