## TL;DR
A settled forward should end at zero: contract position, bank movement, and settlement gain or loss all accounted. A residual means one leg was booked without the others, commonly the bank settlement posted as a plain FX purchase while the contract position stayed open. Rebuild the contract's full history, book the missing settlement leg through the correct FX or hedge account, and close the contract record so no balance carries forward.

```text
forward contract settled at spot: "residual not cleared" error leaves an unreconciled balance
```

## Use this when
- A forward contract past its settlement date still shows an open balance or position.
- The bank settlement for the contract appears as an ordinary currency purchase or sale.
- The residual equals the contract gain or loss, or the difference between contract rate and spot.

## Not for this skill when
- The contract was rolled or extended rather than settled. Then the position should remain, under the new contract record.
- The residual is an unsettled margin or collateral balance. That clears through the broker or bank process, not a journal.

## Steps
1. Pull the contract record with notional, contract rate, settlement date, and the linked bank settlement. Verify: the full terms and the actual settlement are side by side
2. List every posting the contract generated over its life: initial recognition, revaluations, and settlement legs. Verify: each expected leg is present or marked missing
3. Compute the expected settlement gain or loss from contract rate versus the settlement spot rate and compare with the residual. Verify: the residual is explained arithmetically
4. Book the missing leg so the contract position clears, routing the difference per hedge policy, and mark the contract closed. Verify: contract position and its GL accounts are zero after posting
5. Check the bank rec for the settlement so the bank side matches once, not twice. Verify: the settlement appears once in the rec and is fully matched

## Variant phrasings
### forward contract settled residual balance not cleared
The settled-forward phrasing.
### FX forward settlement difference accounting residual
When booking the settlement leg.

Compatibility: FX forwards and hedge accounting in SAP treasury, Oracle, NetSuite, and Dynamics with manual forward booking.

## Why it happens
Forwards are booked in pieces over time: recognition, periodic revaluation, and settlement. Each piece often lives in a different workflow, and settlement at the bank can be executed by treasury without notifying the contract workflow. The accounting system then holds a contract that reality has finished with, and its balance, the accumulated revaluation or the rate difference, has nowhere to go until someone closes the lifecycle deliberately.

## Edge cases / pitfalls
- If hedge accounting applies, the settlement difference may belong in other comprehensive income recycling, not straight to profit or loss. Check the hedge documentation before booking.
- Partial settlements leave a legitimate remainder position. Clear only the settled proportion.
- A forward settled early at a negotiated amount differs from spot settlement; use the bank's settlement statement as the amount source.

## Provenance

Resolved from the public thread: https://vectle.com/posts/pst_WD0tIfMjYVpft1eD5qTH7A
