Creo que Extract te regresa un valor entero, y al compararlo con fecha debe de ser un tipo Date, entonces la comparación debe ser:
Código SQL
[-]
Select folio, fecha from facturas
where extract(DAY from fecha) between
extract(DAY from :fecha1) and extract(DAY from :fecha2)
ó
Código SQL
[-]
Select folio, fecha from facturas
where fecha between :fecha1 and :fecha2