---
id: JNY-ACC-BKS-002
title: Replace a unit with incorrect founding currency
feature: FEAT-ACC-BKS-01
product_area: accounting
module: books
revision: 1
status: draft
product_intent: confirmed
implementation_evidence: observed
supersedes:
  - ACT-ACC-0004
source_sha:
  services-accounting: f47cb263875bbc0c5640fba7dae6785ec32695f8
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
actor: ACT-ACC-001
goal: >-
  Correct the bookkeeping context by removing an eligible mistaken unit and
  creating its replacement.
capabilities:
  - CAP-ACC-BKS-001
  - CAP-ACC-BKS-005
  - CAP-ACC-BKS-008
screens:
  - '/console/{tenantId}/configuration/accounting/businessUnits'
  - '/console/{tenantId}/configuration/accounting/glAccounts'
  - '/console/{tenantId}/configuration/accounting/departments'
steps:
  - 'n': 1
    surface: '/console/{tenantId}/configuration/accounting/businessUnits'
    action: Attempt to choose CAD on the saved unit.
    capability: CAP-ACC-BKS-001
    expected: >-
      Founding fields are fixed in the editor and a forced change receives a
      field-specific refusal.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0004.spec.ts#ACT-ACC-0004
  - 'n': 2
    surface: '/console/{tenantId}/configuration/accounting/businessUnits'
    action: Request deletion of the mistaken unit.
    capability: CAP-ACC-BKS-001
    expected: The refusal identifies its GL account and project.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0004.spec.ts#ACT-ACC-0004
  - 'n': 3
    surface: '/console/{tenantId}/configuration/accounting/glAccounts'
    action: Remove the unit’s GL account and accounting project.
    capability: CAP-ACC-BKS-005
    expected: Both dependent records are deleted.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0004.spec.ts#ACT-ACC-0004
  - 'n': 4
    surface: '/console/{tenantId}/configuration/accounting/businessUnits'
    action: Retry unit removal.
    capability: CAP-ACC-BKS-001
    expected: 'The unit, owned departments and fiscal calendar are removed.'
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0004.spec.ts#ACT-ACC-0004
  - 'n': 5
    surface: '/console/{tenantId}/configuration/accounting/businessUnits'
    action: Create a CAD replacement using the previous identifier and an April start.
    capability: CAP-ACC-BKS-001
    expected: A new April-based 2026–2027 and 2027–2028 calendar is created.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0004.spec.ts#ACT-ACC-0004
alternates: []
failures:
  - from_step: 4
    condition: A product setup still uses a department of the unit.
    path: The refusal identifies product usage.
    outcome: The unit and department remain saved.
    provenance: test
    source: >-
      services-accounting:modules/books/tests/integration/services/persistence/departments.integration.spec.js#refuses
      the delete 409, naming the unit’s products
rules_in_play:
  - BR-CAP-ACC-BKS-001-02
  - BR-CAP-ACC-BKS-001-06
  - BR-CAP-ACC-BKS-001-03
  - BR-CAP-ACC-BKS-008-05
assertions:
  - id: AS-JNY-ACC-BKS-002-01
    statement: Editing does not alter a saved unit’s base currency.
    provenance: test
    source: >-
      services-accounting:modules/books/tests/e2e/business-units.e2e.spec.js#answers
      409 to a change of the base currency, naming the column
  - id: AS-JNY-ACC-BKS-002-02
    statement: >-
      Account and project dependencies prevent removal until cleared, after
      which owned setup is removed.
    provenance: test
    source: >-
      services-accounting:modules/books/tests/integration/services/persistence/business-units.integration.spec.js#leaves
      no fiscal year, fiscal period or department of the unit behind
  - id: AS-JNY-ACC-BKS-002-03
    statement: Reusing the unit identifier creates a new initial fiscal calendar.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0004.spec.ts#ACT-ACC-0004
e2e_policy: required
e2e_reason: >-
  The correction spans immutable choices, dependency refusals and cleanup across
  several editors.
evidence:
  - >-
    Verified source file:
    react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0004.spec.ts
  - >-
    Verified source file:
    services-accounting:modules/books/tests/e2e/business-units.e2e.spec.js
  - >-
    Verified source file:
    services-accounting:modules/books/tests/integration/services/persistence/business-units.integration.spec.js
  - >-
    Verified source file:
    services-accounting:modules/books/tests/integration/services/persistence/departments.integration.spec.js
proved_by: []
---

# Replace a unit with incorrect founding currency

## Story

The controller discovers that a unit was opened with the wrong base currency. Editing cannot correct the founding choice, and its accounts and project initially prevent removal. The controller releases those dependencies, removes the unit and opens its replacement with the intended currency and calendar start.
