I bought some stuff on the AH but I forgot how many gold I had before buying all these things, is there something like an history or something like that?
Auctionator add-on does that
Personally I use Accountant, keeps track cross characters
Would that work to see how many I spent BEFORE one of these addons?
No, addons would start logging what you're doing only after they are installed.