US and Iranian officials say discussions are in their final stages, with remaining disputes centered on technical wording and implementation details.