The term explained
Retention remains due to the contractor from the owner until it is released, so it is tracked in an account separate from other receivables.
In Muhhkam
Retention is recorded with progress claims in “Contracts and claims” («العقود والمستخلصات»), and released with a release invoice.