dot the i's and cross the t's
US /dɑt ðə aɪz ænd krɔs ðə tiz/
UK /dɑt ðə aɪz ænd krɔs ðə tiz/

1.
to pay great attention to the small details of something, especially when completing a task or preparing a document
:
•
Before submitting the report, make sure to dot the i's and cross the t's.
•
The lawyer spent hours dotting the i's and crossing the t's on the contract.