Table of Contents

API : Current Invoice Delete

Introduction

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.

Request

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.

Query example

DELETE https://api.telecomx.dk/invoice/current/1234567890ABCDEF12345678

Response

Json object
success Boolean True on success

Example

{
  success: true
}

Errors

Error code Message Description
400 employee Id not found in request URI
403 access_denied Insufficient access level
404 not_found Not found