How does the physical flow of goods look like? For those separate deliveries, are they shipped in one truck/container.. ?
And is there single sending warehouse and one customer location?
Because potentially you do not need to consolidate two shipment documents. Instead you could think of creating single shipment which is linked to deliveries from different company codes. Best here if your shipment costs are defined at shipment level.