Does it drive OK. Check engine message on. Let us know what the car is doing or not doing when you get more info.
It can be other issues and not a fuel pump.
If it is a fuel pump,
We need more details about your car. V70, XC70, Plastic/metal fuel tank, what engine and/or engine number.
May need the emission code. For the US market the emission codes is the 8th digit in the VIN.
Not sure about non US markets.
Below is for your market and all of the engine choices.
Only the dealer parts dept can look up the variant code on the Volvo website.
2005 V70 B5254T5
2 Pump unit, complete 1.00 30761743
CH -285999
Pump unit, complete 1.00 30761742
CH 286000-, EXC B5244T5, Variant code: (G602 or G603)., Variant code: GA02.
See Vehicle information
Pump unit, complete 1.00 30761745
Variant code: G605.
Fuel pump, complete 1.00 30761747
B5244T5, Variant code: G609., Variant code: GA02., Variant code: G602.
See Vehicle information
2005 XC70 B5254T2