5. Complete and validate the document