# cancelStockAdjustment

## Overview

Cancels a DRAFT Stock Adjustment, transitioning it from DRAFT to CANCELLED. Only a DRAFT adjustment can be cancelled — once submitted, the adjustment must be rejected instead. No stock moves; CANCELLED is a terminal state.

## Modules Commands Used

- [inventory] cancelStockAdjustment

## Exception Handling

| Error Code | Description |
| --- | --- |
| INVENTORY_STOCK_ADJUSTMENT_NOT_FOUND | No stock adjustment exists for the given ID. |
| INVENTORY_INVALID_STATUS | The stock adjustment is not in DRAFT status and cannot be cancelled. |
