# cancelJournalEntry

## Overview

Cancels a DRAFT journal entry (DRAFT → CANCELLED). Only DRAFT entries can be
cancelled; a POSTED entry must be reversed instead. Thin wrapper over the native
`cancelJournalEntry`.

## Modules Commands Used

- [financial-accounting] cancelJournalEntry

## Exception Handling

| Error Code | Description |
| --- | --- |
| FINANCIAL_ACCOUNTING_JOURNAL_ENTRY_NOT_FOUND | The journal entry does not exist |
| FINANCIAL_ACCOUNTING_INVALID_STATUS_FOR_CANCEL | The entry is not in DRAFT status |
