Re: "I logged out of my Apple ID on my iPhone and found that all my documents in Apple Notes were gone. Then I logged back in and most of my documents files reappeared, but some were still missing. And I have tried to view on iCloud which is still incomplete. What can I do?
You may want to first check the "Recently Deleted" folder to see if you can recover your Notes from there:
As "you store your notes on iCloud, check your Recently Deleted folder:
- Open Notes, then tap the back icon
until you see your Folders list. - Tap Recently Deleted and search for your note.
If you find your note in Recently Deleted or in another folder, you can move it:
- In the Notes list, tap Edit.
- Select the note that you want to move.
- Tap Move, then select the folder you want to move it to.
- If you use notes with another service, like Gmail or Yahoo, check the Trash folder of that account in the Mail app. If you delete a note from the Notes app, your third-party account will usually keep it in the Trash folder. To recover a note from the Trash folder, you need to copy and paste the note to a new note in the Notes app."
Above is from: If you're missing notes on your iPhone, iPad, or iPod touch - Apple Support
If needed: You can view the complete article online for other tips.