---
id: JNY-ACC-BAT-002
title: An administrator corrects ordinary posted work
feature: FEAT-ACC-BAT-03
product_area: accounting
module: batches
revision: 1
status: draft
product_intent: proposed
implementation_evidence: observed
supersedes:
- ACT-ACC-0527
- ACT-ACC-0538
source_sha:
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
  services-accounting: f47cb263875bbc0c5640fba7dae6785ec32695f8
actor: ACT-ACC-006
goal: Recover a mistaken collection, correct its contents and leave one fresh current ledger result.
capabilities:
- CAP-ACC-BAT-002
- CAP-ACC-BAT-016
- CAP-ACC-BAT-018
- CAP-ACC-BAT-007
- CAP-ACC-BAT-013
screens:
- /console/{tenantId}/accounting/batches/{batchId}
steps:
- n: 1
  surface: getDependentBatches
  action: Inspect the collection’s downstream dependencies.
  capability: CAP-ACC-BAT-002
  expected: The lookup returns no dependent batch for this recovery case.
  provenance: test
  source: services-accounting:modules/batches/tests/e2e/batches.e2e.spec.js#answers no batch depending on it
- n: 2
  surface: /console/{tenantId}/accounting/batches/{batchId} (More Actions › Unpost)
  action: Select Unpost and acknowledge deletion of the ordinary entries.
  capability: CAP-ACC-BAT-016
  expected: Recovery progress succeeds and the reloaded collection is Open without a current posting.
  provenance: test
  source: react-console:acceptance/accounting/playwright/journeys/batches-posting/ACT-ACC-0527.spec.ts#ACT-ACC-0527
- n: 3
  surface: /console/{tenantId}/accounting/batches/{batchId} (Subledger Entries tab, Include reversed entries)
  action: Inspect the entry list with historical reversals included.
  capability: CAP-ACC-BAT-018
  expected: No ordinary ledger rows or compensating reversal entries remain for that posting.
  provenance: documented
  source: services-accounting:docs/milestones/walkthroughs/ACCT-M3-handoff.md#Start here (step 6)
- n: 4
  surface: /console/{tenantId}/accounting/batches/{batchId} (Transactions tab › Move to Another Batch)
  action: Move the misplaced invoice to another Open collection in the same unit.
  capability: CAP-ACC-BAT-007
  expected: The target collection now owns the invoice.
  provenance: test
  source: react-console:acceptance/accounting/playwright/journeys/batches-posting/ACT-ACC-0538.spec.ts#ACT-ACC-0538
- n: 5
  surface: /console/{tenantId}/accounting/batches/{batchId} (Post)
  action: Submit posting for the corrected collection.
  capability: CAP-ACC-BAT-013
  expected: A fresh result contains the remaining documents and excludes the moved invoice.
  provenance: test
  source: react-console:acceptance/accounting/playwright/journeys/batches-posting/ACT-ACC-0527.spec.ts#ACT-ACC-0527
alternates:
- from_step: 1
  condition: A downstream collection is already Posted.
  path: Recover that dependent collection before its source.
  outcome: Both collections can then be corrected and posted in dependency order.
  provenance: test
  source: services-accounting:modules/batches/tests/integration/services/posting/rebuilt-documents.integration.spec.js#refuses
    to unpost October while November, which depends on it, is posted
failures:
- from_step: 2
  condition: Fiscal close has protected the collection’s period.
  path: The period guard refuses ordinary recovery.
  outcome: The collection remains Posted; any correction in another period needs its applicable document workflow.
  provenance: test
  source: services-accounting:modules/batches/tests/integration/services/close/posting-period-guard.integration.spec.js#refuses
    the batch action `unpost` (`period_not_open`), submitting no job
- from_step: 2
  condition: Staff can post but lack recovery access.
  path: Unpost is unavailable and an unauthorized request fails.
  outcome: The posted accounting result remains intact.
  provenance: test
  source: react-console:acceptance/accounting/playwright/journeys/batches-posting/ACT-ACC-0540.spec.ts#ACT-ACC-0540
rules_in_play:
- BR-CAP-ACC-BAT-016-01
- BR-CAP-ACC-BAT-016-03
- BR-CAP-ACC-BAT-016-04
- BR-CAP-ACC-BAT-016-06
- BR-CAP-ACC-BAT-016-07
- BR-CAP-ACC-BAT-016-08
- BR-CAP-ACC-BAT-016-09
- BR-CAP-ACC-BAT-007-05
- BR-CAP-ACC-BAT-018-04
assertions:
- id: AS-JNY-ACC-BAT-002-01
  statement: Ordinary recovery removes the first posting’s entries and lines without adding reversals.
  provenance: test
  source: 'services-accounting:modules/batches/tests/integration/services/posting/unpost-deletes-entries.integration.spec.js#lists,
    history included, only the fresh set after the repost: no stale entry, no reversal'
- id: AS-JNY-ACC-BAT-002-02
  statement: History retains the recovered posting alongside the new current posting.
  provenance: test
  source: 'services-accounting:modules/batches/tests/integration/services/posting/unpost-deletes-entries.integration.spec.js#keeps
    the posting history: the first posting reversed, the second current'
- id: AS-JNY-ACC-BAT-002-03
  statement: The replacement posting owns exactly one fresh current entry set.
  provenance: test
  source: services-accounting:modules/batches/tests/integration/services/posting/unpost-deletes-entries.integration.spec.js#writes
    one fresh set when the batch is posted again, equal in size to the first
- id: AS-JNY-ACC-BAT-002-04
  statement: The moved invoice contributes to the target collection’s accounting result.
  provenance: test
  source: react-console:acceptance/accounting/playwright/journeys/batches-posting/ACT-ACC-0538.spec.ts#ACT-ACC-0538
e2e_policy: required
e2e_reason: Browser acceptance is required to show ordinary deletion, subsequent document correction and the fresh
  accounting result consistently.
evidence:
- 'Inspected references: Examined pinned react-console (baf6dae3): acceptance/accounting/journeys/batches-posting/ACT-ACC-0527.json,
  0538.json with corresponding browser specifications.'
- 'Inspected references: Examined pinned services-accounting (f47cb263): docs/accounting/batches.md (Reporting D7);
  docs/milestones/walkthroughs/ACCT-M3-handoff.md.'
proved_by: []
---

# An administrator corrects ordinary posted work

## Story

Recover a mistaken collection, correct its contents and leave one fresh current ledger result. The cited steps show how the relevant capabilities connect. Documented walkthrough expectations remain distinct from tested behavior, and the alternative paths identify where staff need a different workflow.
