Withhold on a payment for works
Withhold on a payment for works to a contractor with debts — THE signed act `post_entry`. Each part the check owes withholds `round(base × rate)` (social 35 %, self-employed 15 %, tax 15 %), limited to an attest's debt, and posts through the one ledger door: D the contractor's item for the total, one C per part on its `withholding.payable.*` shelf; the rest of the item stays open. Refused by name: `withholding_check_stale` (the check is of another day), `withholding_not_due`, `withholding_cap_unsettled` (all three parts owed pass the 50 % cap: book it by explicit lines), `withholding_item_invalid`, `withholding_exceeds_item`, `withholding_shelf_missing`. Idempotent: a retry is 200 `deduped`.