This request will delete a current invoice item.
A current invoice item cannot be deleted if it is locked (created by the system and not meant to be edited or deleted) unless you have ADMIN rights.
| URL | https://api.telecomx.dk/invoice/current/ID | |
|---|---|---|
| Method | DELETE | |
| Access level | RESELLER if the current invoice item belongs to one of the resellers customers. ADMIN. |
|
| Param | ID | Id of the current invoice item (24 hex-char string) |
| Query | externalLicenses | If true, returns the external license invoice lines instead. |
DELETE https://api.telecomx.dk/invoice/current/1234567890ABCDEF12345678
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
{ success: true }
| Error code | Message | Description |
|---|---|---|
| 400 | employee | Id not found in request URI |
| 403 | access_denied | Insufficient access level |
| 404 | not_found | Not found |