/// <summary>
/// Deletes a draft invoice, by ID. Note that this call works for invoices in the draft state only. For invoices that have already been sent, you can [cancel the invoice](/docs/api/invoicing/#invoices_cancel). After you delete a draft invoice, you can no longer use it or show its details. However, you can reuse its invoice number.
/// </summary>
/// <param name="apiContext">APIContext used for the API call.</param>
public void Delete(APIContext apiContext)
{
Invoice.Delete(apiContext, this.id);
}