Docs

Remove Expense Association

DELETE /Orders/{orderId}/expenses/{expenseId}

DELETE/Orders/{orderId}/expenses/{expenseId}

Unlinks an expense from the order by removing its expense line; the expense itself is kept. The id in the route is the expense's id, not the line's. Refused while the order is locked (declared Sent or Confirmed, or Ordered on an internal order, with no unsent revision); call Orders_MintOrderVersion first. Requires EventAdmin on the event.

Path Parameters

FieldTypeRequiredDescription
orderIduuidRequired
expenseIduuidRequired