Finansministeriet og centralorganisationerne har indgået aftale om tjenestefrihed af familiemæssige årsager.