"Detail view of the delivery -> three dots at the top right -> Share -> Barcode" should do exactly what you want