Maybe it is e-commerce site with 2 branding for different people segment and logo is different it doesn’t mean it needs to be on different company does it?
I did solve similar problem by adding custom field on invoice called “type”, and then in theme you can do
if type == “first segment” then
one logo
else
different logo
end
For each invoice you can chose which type it is for and it will do logo as asked.
If you would give me more details I could build you template for copy paste.
or check my other post:
Ignas