API:addInvoiceQueueItem - Add queue item

Add new line/item to queue invoice

Required parameters

client_id
Client ID
id
Account ID
queueitem[description]
Description of new queue item
queueitem[amount]
Price
queueitem[qty]
Item QTY, default:1
queueitem[taxed]
Indicates whether item is taxed (1) or not (0)
queueitem[note]
Note for new queue item

Request

GET http://url_to_your_hostbill.com/admin/api.php?token=:TOKEN&call=addInvoiceQueueItem&client_id=:CLIENT_ID&id=:ID&queueitem[description]=:QUEUEITEM[DESCRIPTION]&queueitem[amount]=:QUEUEITEM[AMOUNT]&queueitem[qty]=:QUEUEITEM[QTY]&queueitem[taxed]=:QUEUEITEM[TAXED]&queueitem[note]=:QUEUEITEM[NOTE]

Response

   {
      "success": true,
      "invoicequeue": [
         {
            "id": "22",
            "client_id": "1",
            "rel_id": "129",
            "rel_type": "Hosting",
            "item_id": "129",
            "type": "Hosting",
            "description": "test",
            "note": "test2",
            "amount": "200.00",
            "taxed": "0",
            "qty": "1.00",
            "status": "Pending",
            "total": "200.0000"
         }
      ],
      "call": "addInvoiceQueueItem",
      "server_time": 1534758315
   }