User Tools

Site Tools


api:invoice:current:delete

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
api/invoice/current/delete.txt · Last modified: 2023/03/21 14:34 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki