Firestore update field type reference

I’m trying to update a document, with a document reference variable, but when informing the document address, it is converted into a string, and when saved in firebase, it appears as an invalid reference because it was saved as a string and not a document reference

Hey @Pedro_Scardua,

I am not that familiar with Firestore, What data type should the document reference be?