Go to the module as per the supply type and purpose is mentioned and search the document number. User can found same document number is already exists in different return period.
In case of OGST user can over right the document by correcting the return period if the existing document in uploaded but not pushed status.
If its already pushed and user wants to amend then need to put details in "Original document number " and other amendment relevent feilds.