Am I missing a connection between shipment and sales invoice

It seems the shipment docType is missing a link to sales invoice. I’m surprised to see there is no automation or linking to take the price of a shipment and transfer it into a sales invoice?

Even If I start with a Delivery note, then create a shipment, I don’t see an out of the box solution to add the shipping amount to the sales invoice.

Is this true or am I missing something?

I think this feature has been left out because it might be difficult to create a solution that works for all use cases.

I’m considering:
Create a settings in erpnext-shipping app to allow choosing an ‘item’ for shipping or a ‘tax and charges item’.
Once it’s decided how shipping will be added to an invoice based on this setting, we can create a script that creates a sales invoice based on the Delivery Note and associated Shipment.

I’ll mark this a solved but should move to a feature request.