A delivery can't be edited or cancelled if it has already been associated with a settlement (invoice).
To make corrections or cancel a delivery listed on a paid settlement or invoice, you will need to:
Cancel the settlement (invoice)
(see Cancel a settlement or invoice).Update or cancel the necessary delivery in Deliveries
(see Update or edit a delivery, or Cancel a delivery).Create a new settlement, this time with the correct deliveries associated with it
(see Mark deliveries as paid).
Related content: