If sending $40, the amount that will go to fees is $0 and the recipient will receive $40. That's 0% going to fees, effectively.
* Using custom fee rate of 0% + $0
To receive $40, a payment of $40 should be sent. $0 will go to fees. That's 0% in fees, effectively.