How to disable obtain reference number using box function
When it is considered that there is a risk that unauthorized third parties may be aware of certain data in the declaration or cases of taxpayers who have published their Income Tax return (with visibility of box 505), the taxpayer may use the option "Disable reference retrieval via checkbox" from the electronic headquarters to prevent obtaining the file reference using the amount in box 505 of the 2024 Income Tax return.
The disqualification is permanent until it is rehabilitated in an office of the AEAT .
You can carry out this procedure at the Administration and online. The option is available in the "Featured Procedures" section, "All Procedures" on the Income portal.
To disable retrieving a reference using box 505, you will need to identify yourself with Cl@ve Mobile, certified, ID card electronic or with identification eIDAS (for citizens of the EU using another country's identification).
Verify that the data is correct and click "Accept". Please note that if you ultimately change your mind, the service can only be reinstated in person at the Administration, by appointment.

After disqualification, the applicant NIF will revoke, if applicable, the last reference generated and will not be able to carry out procedures via the Internet with that reference number. However, you can obtain and use references if they are obtained with an electronic certificate, electronic DNI or Cl@ve .

If you access the reference service again, the application will not offer the option to obtain a reference with box 505 of Income 2024.