Drill a rectangle

Hi everyone,

I am trying to create a logo for web purposes.

I have two objects: a black rectangle and a curve.

I need to make the "final" rectangle to looks like this:

So, whenever I put the rectangle over another image it will be transparent like:

I have tried combining them but the result is not what I need:

Also tried Powerclip, same result:

Any idea?