AOP API/Expenses
/finance/expenses/{id}Delete an expense. If it had a posted journal, an automatic reversal entry is posted first.
https://api.w3builders.com/v1/finance/expenses/{id}| Field | Type |
|---|---|
| success | value |
curl -X DELETE https://api.w3builders.com/v1/finance/expenses/123 \-H "Authorization: Bearer $TOKEN"
{"shape": "{ success: true }"}
curl -X DELETE https://api.w3builders.com/v1/finance/expenses/123 \-H "Authorization: Bearer $TOKEN"
{"shape": "{ success: true }"}