What is the effect of workmanship when swapping gold jewellery for raw gold?

Bab al-Sarf: Precious-Metal Exchange, Possession and Composite Goods