Cancelles an invoice

        :param invoice_id: the invoice id
        :return Response

def cancel_invoice(self, invoice_id):
        """
        Cancelles an invoice

        :param invoice_id: the invoice id
        :return Response
        """
        return self._create_put_request(
            resource=INVOICES,
            billomat_id=invoice_id,
            command=CANCEL,
        )