It depends on whether you're talking about Brazil or Portugal, because the previous answers mixed both up. If it's actually Brazil, here's how it works: you calculate what proportion of the property you use exclusively for work and apply that same proportion to the bills you share with the rest of the house. If your home office takes up 10% of the property, you deduct 10% of your electricity bill, internet, water, rent (if applicable) - and then you do need the receipts, which you already have.
The calculation is basically just proportion math. Like, if you live in a 100 m² apartment and your work room is 10 m², you deduct 10% of everything. Some accountants simplify it by dividing the number of rooms instead, which also works, but square footage is more accurate. With these deductible expenses in your income tax return (if you file one), you reduce the base on which tax is calculated. Now, if you're a MEI or PJ, things change quite a bit - other categories and limits come into play. Since you mentioned being a freelancer, it depends on whether you're registered in some form or just declaring as an individual. If you are formalized, talk to an accountant because each regime has its own quirks.