---
id: TST-ACC-REC-055
title: Reconciliation period assessment
kind: integration
product_area: accounting
module: reconciliation
revision: 1
status: draft
source_sha:
  services-accounting: f47cb263875bbc0c5640fba7dae6785ec32695f8
repository: services-accounting
files:
  - modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js
implements:
  - ATS-ACC-REC-018-02
  - ATS-ACC-REC-018-03
  - ATS-ACC-REC-018-04
  - ATS-ACC-REC-018-05
  - ATS-ACC-REC-018-06
  - ATS-ACC-REC-018-07
  - ATS-ACC-REC-018-09
environment: local
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 5
isolation: Suite-owned workspace fixtures and deterministic records removed by suite cleanup.
evidence:
  - >-
    services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js
bindings:
  - scenario: ATS-ACC-REC-018-02
    assertions:
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        C1 for each live payout of the period not in a finalized batch, carrying its unbalanced-payout
        exception
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        one C1 for the payout whose open batch does not balance, carrying the batch and its difference
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        C2 only for the unbalanced open batch dated before the period, the batch with its difference
  - scenario: ATS-ACC-REC-018-03
    assertions:
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        C3 for the item overdue at the period’s end with no exception
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        one C3 for the overdue item with its open exception, carrying the exception id
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        no C3 for the overdue item whose exception is accepted
  - scenario: ATS-ACC-REC-018-04
    assertions:
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        C4 for the open blocker exception anchored in the period that no other finding carries
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        a possible-duplicate exception of blocker severity once, as C4 and not as W5
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        C5 for the reversal awaiting its second approval
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        C6 for the finalize batch posting has not posted, and not for the request it posted
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        C7 for the September effect posted in October, not reviewed
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        C8 for the open batch whose totals disagree with its rows
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        the blockers in the checks’ order and nothing else
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#still
        reports it once the batch posting that held it was reversed
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        it no more once an unreversed batch posting holds its reconciliation entry
  - scenario: ATS-ACC-REC-018-05
    assertions:
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        C9 for the clearing account whose posted balance differs from its outstanding items
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#counts
        the entries dated up to the state date: debits less credits of the merchant account’s clearing account
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#counts
        none dated after the state date
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#answers
        the clearing line, overdue items (the accepted one too) apart from those in transit and in open
        reconciliation
  - scenario: ATS-ACC-REC-018-06
    assertions:
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        W1 to W5, each whole and in order
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#answers
        the item in transit as its only warning
  - scenario: ATS-ACC-REC-018-07
    assertions:
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#reports
        no finding of its own for an exception another finding carries
  - scenario: ATS-ACC-REC-018-09
    assertions:
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#refuses
        an assessment outside a transaction
      - >-
        services-accounting:modules/reconciliation/tests/integration/services/close-readiness/assess-period.integration.spec.js#refuses
        a writability check outside a transaction
---

# Reconciliation period assessment

## Verification Boundary

This suite calls production services over the real test database. Fixture setup may write records directly; the exercised commands and queries retain their normal database enforcement.

## What This Suite Proves

The executable assertions identified in the binding records supply the registered scenario observations. When a scenario names several suites, this suite supplies its listed assertions and does not independently establish every clause.

## What It Does Not Prove

Deployed infrastructure, live console behavior and shared scheduling delivery are outside this local boundary.

## Real Dependencies and Test Doubles

PostgreSQL, migrations and the exercised production code are real. Fixtures supply the financial world and caller context; deterministic setup and owner-side inspection do not replace database enforcement.

## Must Not Be Doubled

The exercised database constraints, transactional services and route enforcement remain real. Replacing them would remove the boundary this suite registers.
