API:issueCreditNote - Issue credit note

Allows you to create a credit note from the invoice indicated

Required parameters

id
Invoice ID

Optional parameters

cnote_type
Type of credit note (just_note, note_and_credit)

Request

GET http://url_to_your_hostbill.com/admin/api.php?token=:TOKEN&call=issueCreditNote&id=:ID

Response

   {
      "success": true,
      "credit_note_id": "3",
      "call": "issueCreditNote",
      "server_time": 1532694182,
      "info": [
         "The credit note has been issued"
      ]
   }