Custom Sales Invoice with tracking code & inventory item

Both Project-based accounting and Division-based accounting are currently handled by tracking codes. But even if Manager would have better support for projects, there would still be restriction to assign entire invoice to specific project. Not individual line items to different projects. What exactly do you do that client requires single invoice for multiple projects which they need individually specify on invoice?