Ghana has reached a deal to restructure $5.4bn (R98.81bn) of loans with its official creditors, the finance ministry said on Friday, a milestone in the country's quest for debt relief as it charts its way out of the worst economic crisis in a generation.