---
title: "Reversals, never edits | Docs | Accounting by R&D Copilot"
description: "A posted entry is never changed. A correction is a second entry that reverses the first, linked to it both ways."
canonical: "https://accounting.rdcopilot.com/docs/concepts/reversals-never-edits/"
language: en
updated: 2026-11-22
---

# Reversals, never edits

A posted entry is never changed. A correction is a second entry that reverses the first, linked to it both ways.

Once an entry is posted, its lines, its date and its number stay as they are. The books can always be read as they stood on a day, and the audit trail does not have a gap. To correct an entry you post a reversal.

## What a reversal is

-   A new entry with the same lines and debit and credit swapped, dated `reversalDate`.
-   It keeps the source document of the entry it reverses.
-   It is linked both ways: the reversal has `reversalOf`, the reversed entry gets `reversedBy`. This is the only change an entry ever gets, and its `aggregateRevision` becomes 2.
-   The source document goes back to review in Accounting, where it can be coded and posted again as a new request.

## What is refused

-   A second reversal of the same entry, and the reversal of a reversal: `reversal_conflict`. To correct a reversal, post the source document anew.
-   A date in a locked period: `period_closed`. Date the reversal in an open or closing period; the reversed entry stays in its locked month and the correction shows in the later one.
-   A date before the entry: `invalid_reversal_date`.
-   An empty reason: `invalid_request`. The reason is kept with the reversal.

## Example

The entry first:

The reversed entry

```json
{
  "id": "c5a671de-e7b0-42b8-825d-d15c0612ff58",
  "number": "JE-2026-10-0002",
  "entryDate": "2026-10-16",
  "period": "2026-10",
  "sourceDocumentId": "a279bde3-abba-4d30-bac5-76d27e3023e8",
  "lines": [
    {
      "account": "371",
      "accountName": "Goods for resale",
      "debit": "9645.00",
      "credit": "0.00"
    },
    {
      "account": "4426",
      "accountName": "Deductible VAT",
      "debit": "1060.95",
      "credit": "0.00"
    },
    {
      "account": "401",
      "accountName": "Suppliers",
      "debit": "0.00",
      "credit": "10705.95"
    }
  ],
  "reversalOf": null,
  "reversedBy": "d6d9657f-3d24-49f8-8912-1c004cba4101",
  "reason": null,
  "postedAt": "2026-10-16T10:08:00Z",
  "aggregateRevision": 2
}
```

Its reversal

```json
{
  "id": "d6d9657f-3d24-49f8-8912-1c004cba4101",
  "number": "JE-2026-11-0001",
  "entryDate": "2026-11-23",
  "period": "2026-11",
  "sourceDocumentId": "a279bde3-abba-4d30-bac5-76d27e3023e8",
  "lines": [
    {
      "account": "371",
      "accountName": "Goods for resale",
      "debit": "0.00",
      "credit": "9645.00"
    },
    {
      "account": "4426",
      "accountName": "Deductible VAT",
      "debit": "0.00",
      "credit": "1060.95"
    },
    {
      "account": "401",
      "accountName": "Suppliers",
      "debit": "10705.95",
      "credit": "0.00"
    }
  ],
  "reversalOf": "c5a671de-e7b0-42b8-825d-d15c0612ff58",
  "reversedBy": null,
  "reason": "Posted for the wrong supplier",
  "postedAt": "2026-11-23T07:12:00Z",
  "aggregateRevision": 1
}
```

See [Reverse an entry](https://accounting.rdcopilot.com/docs/guides/reverse-an-entry/) for the request.
