You may charge me however much you need.

Literal

Necessary [as-much-as-なだけの] money [object-を] me [to-に] billing good.

必要なだけのお金 means 'as much money as needed.' 請求してよい uses てよい ('may, it's OK to') granting permission. A generous offer.