Skip to main content
Solved

Deleting Details from Expense Claims and Journal Transactions

  • 26 June 2024
  • 4 replies
  • 27 views

Hi all,

Via the Rest API, is there a standard way to delete just the line items on Journal Transactions or Expense Claims? If you pass in an item in the Details param, it will add to the Details which makes sense. I’d like to avoid completely deleting the old transaction / claim then making a new one.

 

Thanks for your help!

4 replies

Userlevel 7
Badge +5

@ryanmiter  there is “delete” field on each detail object. If you pass it as true, it’ll delete the detail. 

Userlevel 1
Badge

Got it - thank you!

Userlevel 1
Badge

Hey Dmitrii - is that field only on a certain API version? I’m looking at the Web Services Endpoints screen and don’t see “Delete” in there on API version 22.200.001

Userlevel 1
Badge

Actually I think I’ve figured this out - this isn’t a typical object field, we have to pass it in like this:

{
"id": "862bb93c-d734-ef11-8435-0eb71309dd15",
"delete": true
}

 

Reply