Is it necessary to attach the signed delivery order when creating the invoice?

You may attach the delivery order (DO), but it is not mandatory as it should have been provided to the buyer at the time of goods delivery.