OP I have 2 DD and can still remember when they were that age DD1 would have reacted fine if I had said finish your homework now if you want to go to the party tomorrow or now your friend has gone please pick up the toys then we can watch TV before bed. Action and reward with an understanding of what wouldn't happen if she didn't do it was all she needed.
DD2 was completely different and sounds much more like your DD, I'll call her challenging, her reaction to many a request was 'no why should I' and she was never bothered about punishments that much. I didn't want to be the parent who was always shouting and threatening but it was a real test as she could press all the right buttons.
On occasion I have to admit I did lose it completely with her but even that didn't really make a difference. Mostly I just let her get on with it, I provided a time and space for her to do homework with support if she needed it, but if she chose not to do it that wa her choice, if she wanted friends over that was fine but the playroom/bedroom had to be tidy before. Parties were fine and never part of the deal.
She was better when DH was at home and was more cooperative with him, but still had her moments. She was worse when he was working away. The thing that helped was space, I am fortunate to have family nearby so if we were particularly at odds I would break the pattern by sending her to her GP or letting her go out for the day.
She is now nearly 18 and can still be a challenge, but she is an excellent student very capable of studying by herself, with many friends and will help around the house, although still not as much or as willingly as her big sister.